diff options
author | Sathya Perla <sathya.perla@broadcom.com> | 2017-10-26 11:51:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 00:02:45 +0900 |
commit | cd66358e52f74585f043ef63089727273b3421d3 (patch) | |
tree | 0d4ac98789de50ba22bfc2ba9ac0b615cabaa521 /drivers/net/geneve.c | |
parent | 5a84acbebb22f93dfc9ce1e5f0427c45c94acb33 (diff) |
bnxt_en: alloc tc_info{} struct only when tc flower is enabled
TC flower is not enabled on VFs and when there's no FW support.
Alloc the tc_info{} struct at init time only when TC flower is being
enabled.
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/geneve.c')
0 files changed, 0 insertions, 0 deletions