kernel-hacking-2024-linux-s.../include
Jakub Kicinski 878db9f0f2 pkt_cls: add new tc cls helper to check offload flag and chain index
Very few (mlxsw) upstream drivers seem to allow offload of chains
other than 0.  Save driver developers typing and add a helper for
checking both if ethtool's TC offload flag is on and if chain is 0.
This helper will set the extack appropriately in both error cases.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-25 21:23:07 -05:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next 2018-01-25 16:32:28 -05:00
math-emu
media
memory
misc
net pkt_cls: add new tc cls helper to check offload flag and chain index 2018-01-25 21:23:07 -05:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace
uapi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-01-23 13:51:56 -05:00
video
xen