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.ma...@arknetworks.am> > Reviewed-by: Andy Moreton <amore...@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.