[PATCH v4 27/34] net/sfc: add support for IPv4 NAT offload to MAE backend
Ferruh Yigit
ferruh.yigit at amd.com
Wed Jun 21 18:50:45 CEST 2023
On 6/7/2023 2:02 PM, Ivan Malov wrote:
> For this offload to work, the innermost pattern items must
> provide the full set of exact match criteria, which are as
> follows: EtherType, IP DST, IP SRC, TP protocol ID, TP DST
> and TP SRC, where the protocol types can be autodetected.
>
> The offload requires that the IPv4 and the TP actions be
> requested simultaneously in the same flow by the caller:
> SET_IPV4_DST + SET_TP_DST or SET_IPV4_SRC + SET_TP_SRC.
>
> The offload operates on the outermost frame, which,
> if action VXLAN_DECAP was requested, maps to the
> inner frame of the original packet. The caller
> is responsible to request this offload only
> when the target header is an IPv4-based one.
>
> Signed-off-by: Ivan Malov <ivan.malov at arknetworks.am>
> Reviewed-by: Andy Moreton <amoreton at xilinx.com>
<...>
> --- a/doc/guides/rel_notes/release_23_07.rst
> +++ b/doc/guides/rel_notes/release_23_07.rst
> @@ -55,6 +55,21 @@ New Features
> Also, make sure to start the actual text at the margin.
> =======================================================
>
> +* **Updated Solarflare network PMD.**
> +
> + Updated the Solarflare ``sfc_efx`` driver with changes including:
> +
> + * Added partial support for transfer flow actions SET_IPV4_DST,
> + SET_TP_DST, SET_IPV4_SRC and SET_TP_SRC on SN1000 SmartNICs.
> + It is required that the innermost pattern items provide the
> + full set of exact match criteria: EtherType, IP DST, IP SRC,
> + TP protocol ID, TP DST and TP SRC. The IPv4 and TP actions
> + must be requested simultaneously in the same flow. These
> + actions operate on the outermost frame, at the point
> + where action VXLAN_DECAP (if any) has done its job.
> + The caller is responsible to request this offload
> + only when the target header is an IPv4-based one.
> +
Reordered update, moved it under existing Solarflare update and
simplified note as more suitable for release notes.
More information about the dev
mailing list