Introduce some preliminary changes needed to support flowtable offload
for IPv4 over IPv6 and SIT traffic.
---
Changes in v2:
- Fix dir configuration in nf_flow_offload_check_mtu() to compute tunnel
MTU overhead.
- Link to v1: https://lore.kernel.org/r/20260901-nf-flowtable-sw-accel-ip6ip-sit-preliminary-v1-0-72e49be8c31f@oss.qualcomm.com (local)
---
Lorenzo Bianconi (6):
net: netfilter: nf_flow_table: recognize IPv4/IPv6 in tunnel proto matching
net: netfilter: nf_flow_table: set inner protocol when popping tunnel header
net: netfilter: nf_flow_table: populate tunnel tuple regardless of inner protocol
net: netfilter: add encap_proto to flow_offload_tunnel
net: netfilter: nf_flow_table: refactor MTU check for tunnel offload
net: netfilter: nf_flow_table: unify tunnel push for IPv4 and IPv6
include/linux/netdevice.h | 1 +
include/net/netfilter/nf_flow_table.h | 1 +
net/ipv4/ipip.c | 1 +
net/ipv6/ip6_tunnel.c | 1 +
net/netfilter/nf_flow_table_ip.c | 201 ++++++++++++++++++++++------------
net/netfilter/nf_flow_table_path.c | 2 +
6 files changed, 135 insertions(+), 72 deletions(-)
---
base-commit: 6ebcf5074cff0402730c6981d2397139fee6322d
change-id: 20260901-nf-flowtable-sw-accel-ip6ip-sit-preliminary-5635fae03f3e
Best regards,
--
Lorenzo Bianconi [off-list ref]