DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/intel: deprecate some SSE paths
@ 2025-07-03 12:16 Ciara Loftus
  2025-07-03 12:45 ` Bruce Richardson
  2025-07-03 14:31 ` [PATCH v2] " Ciara Loftus
  0 siblings, 2 replies; 3+ messages in thread
From: Ciara Loftus @ 2025-07-03 12:16 UTC (permalink / raw)
  To: ciara.loftus, dev; +Cc: bruce.richardson

The SSE rx and tx paths will be removed from the i40e, iavf and ice
drivers in the 25.11 release. Each of these drivers have faster vector
paths (AVX2 and AVX-512) which have feature parity with the soon to be
removed SSE paths. In environments where AVX2 or AVX-512 are not
supported, the scalar path will still be used, which also has feature
parity.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index e2d4125308..7b9b6beaa5 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -80,6 +80,11 @@ Deprecation Notices
   and the header struct ``rte_vxlan_gpe_hdr`` with the macro ``RTE_ETHER_VXLAN_GPE_HLEN``
   will be removed in DPDK 25.11.
 
+* net/intel: drivers that have an SSE vector path alongside other vector paths, namely
+  i40e, iavf and ice, will have their SSE vector paths removed in DPDK 25.11. This change
+  will not result in any feature loss, as the fallback scalar paths which have feature
+  parity with SSE will be used in the cases where the SSE paths would have been used.
+
 * ethdev: The flow API matching pattern structures, ``struct rte_flow_item_*``,
   should start with relevant protocol header structure from lib/net/.
   The individual protocol header fields and the protocol header struct
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net/intel: deprecate some SSE paths
  2025-07-03 12:16 [PATCH] net/intel: deprecate some SSE paths Ciara Loftus
@ 2025-07-03 12:45 ` Bruce Richardson
  2025-07-03 14:31 ` [PATCH v2] " Ciara Loftus
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Richardson @ 2025-07-03 12:45 UTC (permalink / raw)
  To: Ciara Loftus; +Cc: dev

On Thu, Jul 03, 2025 at 12:16:24PM +0000, Ciara Loftus wrote:
> The SSE rx and tx paths will be removed from the i40e, iavf and ice
> drivers in the 25.11 release. Each of these drivers have faster vector
> paths (AVX2 and AVX-512) which have feature parity with the soon to be
> removed SSE paths. In environments where AVX2 or AVX-512 are not
> supported, the scalar path will still be used, which also has feature
> parity.
> 
> Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
> ---
>  doc/guides/rel_notes/deprecation.rst | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index e2d4125308..7b9b6beaa5 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -80,6 +80,11 @@ Deprecation Notices
>    and the header struct ``rte_vxlan_gpe_hdr`` with the macro ``RTE_ETHER_VXLAN_GPE_HLEN``
>    will be removed in DPDK 25.11.
>  
> +* net/intel: drivers that have an SSE vector path alongside other vector paths, namely
> +  i40e, iavf and ice, will have their SSE vector paths removed in DPDK 25.11. This change
> +  will not result in any feature loss, as the fallback scalar paths which have feature
> +  parity with SSE will be used in the cases where the SSE paths would have been used.
> +

Hi Ciara,

I think it would be good to mention AVX in the deprecation notice as well
as in the commit log, since it's not as though we are removing the SSE to
have all apps drop down to scalar. Instead, it's being deprecated because
modern x86 systems all support AVX2, if not AXV-512, so SSE code path
should be unnecessary in new deployments.

/Bruce

>  * ethdev: The flow API matching pattern structures, ``struct rte_flow_item_*``,
>    should start with relevant protocol header structure from lib/net/.
>    The individual protocol header fields and the protocol header struct
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] net/intel: deprecate some SSE paths
  2025-07-03 12:16 [PATCH] net/intel: deprecate some SSE paths Ciara Loftus
  2025-07-03 12:45 ` Bruce Richardson
@ 2025-07-03 14:31 ` Ciara Loftus
  1 sibling, 0 replies; 3+ messages in thread
From: Ciara Loftus @ 2025-07-03 14:31 UTC (permalink / raw)
  To: ciara.loftus, dev; +Cc: bruce.richardson

The SSE rx and tx paths will be removed from the i40e, iavf and ice
drivers in the 25.11 release. Each of these drivers have faster vector
paths (AVX2 and AVX-512) which have feature parity with the soon to be
removed SSE paths. In environments where AVX2 or AVX-512 are not
supported, the scalar path will still be used, which also has feature
parity.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
---
 doc/guides/rel_notes/deprecation.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index e2d4125308..0d020c9c1f 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -80,6 +80,13 @@ Deprecation Notices
   and the header struct ``rte_vxlan_gpe_hdr`` with the macro ``RTE_ETHER_VXLAN_GPE_HLEN``
   will be removed in DPDK 25.11.
 
+* net/intel: drivers that have an SSE vector path alongside other vector paths,
+  namely i40e, iavf and ice, will have their SSE vector paths removed in DPDK 25.11.
+  Modern x86 systems all support AVX2, if not AVX-512, so the SSE path is no longer
+  widely used. This change will not result in any feature loss, as the fallback
+  scalar paths which have feature parity with SSE will be used in the cases where
+  the SSE paths would have been used.
+
 * ethdev: The flow API matching pattern structures, ``struct rte_flow_item_*``,
   should start with relevant protocol header structure from lib/net/.
   The individual protocol header fields and the protocol header struct
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-03 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-03 12:16 [PATCH] net/intel: deprecate some SSE paths Ciara Loftus
2025-07-03 12:45 ` Bruce Richardson
2025-07-03 14:31 ` [PATCH v2] " Ciara Loftus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).