Several fixes for the existing software forward-fastpath code, also needed for the software bridge-fastpath.
DEV_PATH_BR_VLAN_UNTAG_HW should not be applied to dsa foreign ports. Also DEV_PATH_MTK_WDMA needs to be introduced to nft_dev_path_info(). Introduce DEV_PATH_BR_VLAN_KEEP_HW. Changes in v11, results of testing with bridge_fastpath.sh: - Dropped "No ingress_vlan forward info for dsa user port" patch. - Added Introduce DEV_PATH_BR_VLAN_KEEP_HW, which changed from applying only in the bridge-fastpath to all fastpaths. Added a better explanation to the description. v10 split from patch-set: bridge-fastpath and related improvements v9 Eric Woudstra (3): netfilter: nft_flow_offload: Add DEV_PATH_MTK_WDMA to nft_dev_path_info() bridge: No DEV_PATH_BR_VLAN_UNTAG_HW for dsa foreign bridge: Introduce DEV_PATH_BR_VLAN_KEEP_HW include/linux/netdevice.h | 1 + include/net/switchdev.h | 1 + net/bridge/br_device.c | 1 + net/bridge/br_private.h | 10 ++++++++++ net/bridge/br_switchdev.c | 15 +++++++++++++++ net/bridge/br_vlan.c | 23 ++++++++++++++++------- net/netfilter/nft_flow_offload.c | 8 ++++++++ net/switchdev/switchdev.c | 2 +- 8 files changed, 53 insertions(+), 8 deletions(-) -- 2.47.1