net/sfc: fence off 8 bits in Rx mark for tunnel offload
authorIvan Malov <ivan.malov@oktetlabs.ru>
Wed, 13 Oct 2021 13:15:04 +0000 (16:15 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Oct 2021 14:39:11 +0000 (16:39 +0200)
commit53a80512644c8a12cb8efc903f77dd7b42263565
tree6db81076e82fb6ca8dead6735107ed0a469a44f5
parentfb9274546120898933f225742d9e37530504e8f9
net/sfc: fence off 8 bits in Rx mark for tunnel offload

Later patches add support for tunnel offload on Riverhead (EF100).
A board can host at most 254 tunnels. Partially offloaded (missed)
tunnel packets are identified by virtue of 8 high bits in Rx mark.

Add basic definitions of the upcoming tunnel offload support and
take care of the dedicated bits in Rx mark across the driver.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/net/sfc/meson.build
drivers/net/sfc/sfc_dp_rx.h
drivers/net/sfc/sfc_ef100_rx.c
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_flow.c
drivers/net/sfc/sfc_flow_tunnel.c [new file with mode: 0644]
drivers/net/sfc/sfc_flow_tunnel.h [new file with mode: 0644]
drivers/net/sfc/sfc_mae.c
drivers/net/sfc/sfc_rx.c