From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id D393B1B113 for ; Wed, 21 Nov 2018 17:50:33 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 37A74C05681F; Wed, 21 Nov 2018 16:50:33 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 240FA5C221; Wed, 21 Nov 2018 16:50:31 +0000 (UTC) From: Kevin Traynor To: Hyong Youb Kim Cc: John Daley , Ferruh Yigit , dpdk stable Date: Wed, 21 Nov 2018 16:47:56 +0000 Message-Id: <20181121164828.32249-42-ktraynor@redhat.com> In-Reply-To: <20181121164828.32249-1-ktraynor@redhat.com> References: <20181121164828.32249-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 21 Nov 2018 16:50:33 +0000 (UTC) Subject: [dpdk-stable] patch 'app/testpmd: check Rx VLAN offload flag to print VLAN TCI' has been queued to stable release 18.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 16:50:34 -0000 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 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 Reviewed-by: John Daley Reviewed-by: Ferruh Yigit --- 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 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@dpdk.org Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley