net/sfc: support decrement IP TTL actions in transfer flows
authorIvan Malov <ivan.malov@oktetlabs.ru>
Fri, 5 Nov 2021 21:54:09 +0000 (00:54 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Nov 2021 15:25:51 +0000 (16:25 +0100)
commit60e53c078d01dde090ab90a7067f5c3e40ce0211
tree3dc6a89b4317231ab9ee7152de4586061d6be46e
parentc6e3e6c42a0e4dd62c39f6a5dc7759d12e657235
net/sfc: support decrement IP TTL actions in transfer flows

These actions map to MAE action DECR_IP_TTL. It affects
the outermost header in the current processing state of
the packet, which might have been decapsulated by prior
action DECAP. It also updates IPv4 checksum accordingly.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
doc/guides/nics/features/sfc.ini
doc/guides/nics/sfc_efx.rst
drivers/net/sfc/sfc_mae.c