summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@broadcom.com>2017-10-26 18:51:32 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-27 18:02:45 +0300
commitcd66358e52f74585f043ef63089727273b3421d3 (patch)
tree0d4ac98789de50ba22bfc2ba9ac0b615cabaa521 /samples
parent5a84acbebb22f93dfc9ce1e5f0427c45c94acb33 (diff)
downloadlinux-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 'samples')
0 files changed, 0 insertions, 0 deletions