From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1A1632FDD for ; Fri, 7 Apr 2017 10:14:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491552894; x=1523088894; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=H0MT86ikkL/TJzbS7UwimfAO7lad8YCynIejE/kQuZo=; b=f+26j4IxmYM3X1F+w4Odd8xH4hwu+6+6zezC+3ju/IY0yD2V5eSX8wKY m6JLOiqPAx2JU+lg1kXcs+AMNlOoBA==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Apr 2017 01:14:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,164,1488873600"; d="scan'208";a="953273304" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by orsmga003.jf.intel.com with ESMTP; 07 Apr 2017 01:14:52 -0700 From: Yuanhan Liu To: Shahaf Shuler Cc: Yuanhan Liu , Nelio Laranjeiro , dpdk stable Date: Fri, 7 Apr 2017 16:11:27 +0800 Message-Id: <1491552724-3034-10-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1491552724-3034-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1491552724-3034-1-git-send-email-yuanhan.liu@linux.intel.com> Subject: [dpdk-stable] patch 'net/mlx5: fix VLAN stripping indication' has been queued to LTS release 16.11.2 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: Fri, 07 Apr 2017 08:14:54 -0000 Hi, FYI, your patch has been queued to LTS release 16.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/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 6257eadbbf30bdbd196a0a3bf4b24a7495f9f5f6 Mon Sep 17 00:00:00 2001 From: Shahaf Shuler Date: Mon, 20 Feb 2017 13:14:32 +0200 Subject: [PATCH] net/mlx5: fix VLAN stripping indication [ upstream commit 9514fa2d1adb3d18ce803c77c8df90c8e2d8bd11 ] The indication on vlan stripping was taken from the wrong location in the completion entry. Fixes: 9964b965ad69 ("net/mlx5: re-add Rx scatter support") Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c index 3997b27..3f486f1 100644 --- a/drivers/net/mlx5/mlx5_rxtx.c +++ b/drivers/net/mlx5/mlx5_rxtx.c @@ -1356,7 +1356,7 @@ mlx5_rx_burst(void *dpdk_rxq, struct rte_mbuf **pkts, uint16_t pkts_n) pkt->ol_flags |= rxq_cq_to_ol_flags(rxq, cqe); } - if (cqe->hdr_type_etc & + if (ntohs(cqe->hdr_type_etc) & MLX5_CQE_VLAN_STRIPPED) { pkt->ol_flags |= PKT_RX_VLAN_PKT | PKT_RX_VLAN_STRIPPED; -- 1.9.0