diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-02-08 07:55:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-08 18:01:27 +0300 |
commit | d692403e5cf8008f31f5664a6f3ce3e65d54f458 (patch) | |
tree | 497dfc82655e28d9159888154ad9d23248f9d176 /.mailmap | |
parent | 0b9de4ca853b6ba2c92ff0b4602281001b166639 (diff) | |
download | linux-d692403e5cf8008f31f5664a6f3ce3e65d54f458.tar.xz |
nfp: forbid disabling hw-tc-offload on representors while offload active
All netdevs which can accept TC offloads must implement
.ndo_set_features(). nfp_reprs currently do not do that, which
means hw-tc-offload can be turned on and off even when offloads
are active.
Whether the offloads are active is really a question to nfp_ports,
so remove the per-app tc_busy callback indirection thing, and
simply count the number of offloaded items in nfp_port structure.
Fixes: 8a2768732a4d ("nfp: provide infrastructure for offloading flower based TC filters")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Tested-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions