patch 'doc: fix DCF instructions in ice guide' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Sun Apr 9 17:45:30 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/11/23. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/f9f94070e0a9c9ac33b64bc22d67377fe316dfea

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From f9f94070e0a9c9ac33b64bc22d67377fe316dfea Mon Sep 17 00:00:00 2001
From: Qi Zhang <qi.z.zhang at intel.com>
Date: Mon, 27 Mar 2023 15:44:43 -0400
Subject: [PATCH] doc: fix DCF instructions in ice guide
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit d86b64402e520c6b5e0441f17783b6a5f0f56aa5 ]

Replace the deprecated VF action with the represented_port action.

Fixes: 776c119736e7 ("net/ice: remove deprecated VF flow action")

Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
---
 doc/guides/nics/ice.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst
index ce075e067c..b3dc72d421 100644
--- a/doc/guides/nics/ice.rst
+++ b/doc/guides/nics/ice.rst
@@ -331,18 +331,18 @@ Additional Options
 
       ip link set dev enp24s0f0 vf 0 trust on
 
-#. Bind the VF0,  and run testpmd with 'cap=dcf' devarg::
+#. Bind the VF0, and run testpmd with 'cap=dcf' with port representor for VF 1 and 2::
 
-      dpdk-testpmd -l 22-25 -n 4 -a 18:01.0,cap=dcf -- -i
+      dpdk-testpmd -l 22-25 -n 4 -a 18:01.0,cap=dcf,representor=vf[1-2] -- -i
 
 #. Monitor the VF2 interface network traffic::
 
       tcpdump -e -nn -i enp24s1f2
 
-#. Create one flow to redirect the traffic to VF2 by DCF::
+#. Create one flow to redirect the traffic to VF2 by DCF (assume the representor port ID is 5)::
 
       flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 \
-      dst is 192.168.0.3 / end actions vf id 2 / end
+      dst is 192.168.0.3 / end actions represented_port ethdev_port_id 5 / end
 
 #. Send the packet, and it should be displayed on tcpdump::
 
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-04-09 21:45:42.372248000 +0800
+++ 0141-doc-fix-DCF-instructions-in-ice-guide.patch	2023-04-09 21:45:38.819042200 +0800
@@ -1 +1 @@
-From d86b64402e520c6b5e0441f17783b6a5f0f56aa5 Mon Sep 17 00:00:00 2001
+From f9f94070e0a9c9ac33b64bc22d67377fe316dfea Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit d86b64402e520c6b5e0441f17783b6a5f0f56aa5 ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -17 +19 @@
-index e0ba8534d7..bcc1cab491 100644
+index ce075e067c..b3dc72d421 100644
@@ -20 +22 @@
-@@ -343,18 +343,18 @@ Additional Options
+@@ -331,18 +331,18 @@ Additional Options


More information about the stable mailing list