diff options
author | Sathya Perla <sathya.perla@broadcom.com> | 2017-10-26 18:51:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-27 18:02:45 +0300 |
commit | cd66358e52f74585f043ef63089727273b3421d3 (patch) | |
tree | 0d4ac98789de50ba22bfc2ba9ac0b615cabaa521 /Kbuild | |
parent | 5a84acbebb22f93dfc9ce1e5f0427c45c94acb33 (diff) | |
download | linux-cd66358e52f74585f043ef63089727273b3421d3.tar.xz |
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions