mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
Merge branch 'mlxsw-dip-sip-mangling'
Ido Schimmel says: ==================== mlxsw: Add SIP and DIP mangling support Danielle says: On Spectrum-2 onwards, it is possible to overwrite SIP and DIP address of an IPv4 or IPv6 packet in the ACL engine. That corresponds to pedit munges of, respectively, ip src and ip dst fields, and likewise for ip6. Offload these munges on the systems where they are supported. Patchset overview: Patch #1: introduces SIP_DIP_ACTION and its fields. Patch #2-#3: adds the new pedit fields, and dispatches on them on Spectrum-2 and above. Patch #4 adds a selftest. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
f485da3c11
6 changed files with 394 additions and 9 deletions
201
tools/testing/selftests/net/forwarding/pedit_ip.sh
Executable file
201
tools/testing/selftests/net/forwarding/pedit_ip.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue