DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/testpmd: check Rx VLAN offload flag to print VLAN TCI
@ 2018-09-26  3:06 John Daley
  2018-10-01 14:01 ` Ferruh Yigit
  2018-10-02  8:47 ` Ferruh Yigit
  0 siblings, 2 replies; 6+ messages in thread
From: John Daley @ 2018-09-26  3:06 UTC (permalink / raw)
  To: wenzhuo.lu, jingjing.wu, bernard.iremonger
  Cc: olivier.matz, dev, Hyong Youb Kim

From: Hyong Youb Kim <hyonkim@cisco.com>

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

commit 380a7aab1ae2 ("mbuf: rename deprecated VLAN flags")
Cc: olivier.matz@6wind.com

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.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
@@ -130,7 +130,7 @@ 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)
 			printf(" - QinQ VLAN tci=0x%x, VLAN tci outer=0x%x",
-- 
2.16.2

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

end of thread, other threads:[~2018-10-03 14:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-26  3:06 [dpdk-dev] [PATCH] app/testpmd: check Rx VLAN offload flag to print VLAN TCI John Daley
2018-10-01 14:01 ` Ferruh Yigit
2018-10-02  2:29   ` Hyong Youb Kim
2018-10-02  8:46     ` Ferruh Yigit
2018-10-02  8:47 ` Ferruh Yigit
2018-10-03 14:17   ` Ferruh Yigit

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).