Mark repr_matching_en device argument exposed by mlx5 PMD as deprecated and schedule its removal in 25.11 release.
Functionality exposed by this device argument does not fit current E-Switch representor model exposed by DPDK. A new unified representor model, described in https://fast.dpdk.org/events/slides/DPDK-2024-07-unified_representor.pdf should be developed. Signed-off-by: Dariusz Sosnowski <dsosnow...@nvidia.com> --- doc/guides/nics/mlx5.rst | 4 ++++ doc/guides/rel_notes/deprecation.rst | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index c3a350d24e..7311a9849b 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -1636,6 +1636,10 @@ for an additional list of options shared with other mlx5 drivers. item added. Flow rules based on this pattern template will match the vport associated with port on which rule is created. + .. note:: + + This parameter is deprecated and will be removed in future releases. + - ``max_dump_files_num`` parameter [int] The maximum number of files per PMD entity that may be created for debug information. diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index e2d4125308..bbc35516b0 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -152,3 +152,14 @@ Deprecation Notices * bus/vmbus: Starting DPDK 25.11, all the vmbus API defined in ``drivers/bus/vmbus/rte_bus_vmbus.h`` will become internal to DPDK. Those API functions are used internally by DPDK core and netvsc PMD. + +* net/mlx5: ``repr_matching_en`` device argument is deprecated + and will be removed in DPDK 25.11 release. + With disabled representor matching, behavior of Rx datapath in mlx5 PMD + is incompatible with current DPDK representor model. + Packets from any E-Switch port can arrive on any representor, + depending only on created flow rules. + Such working model should be exposed directly in DPDK ethdev API, + without relying on flow API. + Currently there is no alternative API providing the same functionality as + with ``repr_matching_en`` set to 0. -- 2.39.5