[dpdk-stable] patch 'app/testpmd: check Rx VLAN offload flag to print VLAN TCI' has been queued to stable release 18.08.1

Kevin Traynor ktraynor at redhat.com
Wed Nov 21 17:47:56 CET 2018


Hi,

FYI, your patch has been queued to stable release 18.08.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/27/18. 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. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.

Thanks.

Kevin Traynor

---
>From bc5b6dbe026a755af03a5455d16c95168ce7b9c6 Mon Sep 17 00:00:00 2001
From: Hyong Youb Kim <hyonkim at cisco.com>
Date: Tue, 25 Sep 2018 20:06:17 -0700
Subject: [PATCH] app/testpmd: check Rx VLAN offload flag to print VLAN TCI

[ upstream commit 597177163b851ae365f5c0113c448fae83370f99 ]

Since the following commit, PKT_RX_VLAN indicates the presence of
mbuf's vlan_tci, not PKT_RX_VLAN_STRIPPED.

Fixes: 380a7aab1ae2 ("mbuf: rename deprecated VLAN flags")

Signed-off-by: Hyong Youb Kim <hyonkim at cisco.com>
Reviewed-by: John Daley <johndale at cisco.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 app/test-pmd/rxonly.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-pmd/rxonly.c b/app/test-pmd/rxonly.c
index a93d80612..e8d226624 100644
--- a/app/test-pmd/rxonly.c
+++ b/app/test-pmd/rxonly.c
@@ -131,5 +131,5 @@ pkt_burst_receive(struct fwd_stream *fs)
 		if (ol_flags & PKT_RX_TIMESTAMP)
 			printf(" - timestamp %"PRIu64" ", mb->timestamp);
-		if (ol_flags & PKT_RX_VLAN_STRIPPED)
+		if (ol_flags & PKT_RX_VLAN)
 			printf(" - VLAN tci=0x%x", mb->vlan_tci);
 		if (ol_flags & PKT_RX_QINQ_STRIPPED)
-- 
2.19.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2018-11-21 16:44:32.099453858 +0000
+++ 0042-app-testpmd-check-Rx-VLAN-offload-flag-to-print-VLAN.patch	2018-11-21 16:44:30.000000000 +0000
@@ -1,13 +1,14 @@
-From 597177163b851ae365f5c0113c448fae83370f99 Mon Sep 17 00:00:00 2001
+From bc5b6dbe026a755af03a5455d16c95168ce7b9c6 Mon Sep 17 00:00:00 2001
 From: Hyong Youb Kim <hyonkim at cisco.com>
 Date: Tue, 25 Sep 2018 20:06:17 -0700
 Subject: [PATCH] app/testpmd: check Rx VLAN offload flag to print VLAN TCI
 
+[ upstream commit 597177163b851ae365f5c0113c448fae83370f99 ]
+
 Since the following commit, PKT_RX_VLAN indicates the presence of
 mbuf's vlan_tci, not PKT_RX_VLAN_STRIPPED.
 
 Fixes: 380a7aab1ae2 ("mbuf: rename deprecated VLAN flags")
-Cc: stable at dpdk.org
 
 Signed-off-by: Hyong Youb Kim <hyonkim at cisco.com>
 Reviewed-by: John Daley <johndale at cisco.com>


More information about the stable mailing list