From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 65DA21B1B6 for ; Wed, 24 Jan 2018 16:38:24 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1D19D20A88; Wed, 24 Jan 2018 10:38:24 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:38:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5GycovzfE4mNZcoRo GTpnHkUDKa38d+Qz4vIizLawHc=; b=ApDQbjPqFIxLyj80FEL9re06aQ7oHvseQ C+yE4HR1DNeeb+GjZCm/CUyYbFo+To51IuqD/Y+r3tyH21EnRCU3Izaeal+Rau68 tfT3cMNeVaMhzNqfpGBwB3BnOy/6f81C15XTea4mp1q+ePdH8laNRuZ20JZd6BO1 AtJTQhFHYvNoM+nnl/L5v0Pm8TAKinrmqSa7vcIWJ84W7pkil5DXCeXTrnYUD7Lh MfHGH6dTUdVVKZfTlApSjyQ1o0ymdPSW4X2MFR6sjhlw++QKaecnJuHXDCckqJkc szMAABEj3HzEfjDu2jPOI4TxCsESyLz+lHVwdcbzIyflFCbVwFSOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=5GycovzfE4mNZcoRoGTpnHkUDKa38d+Qz4vIizLawHc=; b=SGMNZgh4 zLJVXB8sKp7VE2ziAotwzMw7DIuRpHTVUYWznRZJDlzQkRhJ4fKwc14/Zqve/mwe lUyuDqWwCebuckb32z/d+pWwa8/oPP7VWukOcV6oduCJiXdXuw/ABLBNAqIGMTJ8 6CNLW7pRfIHx/+ClNWjYOtzGnpsCp9CvEoOwlVPyWaC+mvM3vHj4M46n52A/Wp/G tAtaP51B8C58FqFtzgAL6aUKgMd051ow8ftgvhV89rzyYVwwgiS/b2OXadFxP5UM KLTNKFzjkSxf/L8ZPOCgg2AVYVtZlXi/KnijkvUmPrYzX2XIn5rykuSxx86ZHnN9 /s9RtVCqQtTyMw== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id F2B0C7E53A; Wed, 24 Jan 2018 10:38:21 -0500 (EST) From: Yuanhan Liu To: Qi Zhang Cc: Beilei Xing , dpdk stable Date: Wed, 24 Jan 2018 23:32:05 +0800 Message-Id: <1516808026-25523-57-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/i40e: fix VLAN offload setting' has been queued to LTS release 17.11.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, 24 Jan 2018 15:38:24 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.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 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From d43014cc382585b45c5cd25c8d0d68037df24c33 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Wed, 29 Nov 2017 05:27:30 -0500 Subject: [PATCH] net/i40e: fix VLAN offload setting [ upstream commit 48a203711829d151e4896f953c31f4618ce710fa ] Vlan offload flag "rx_mode.hw_vlan_extend" should be considerred at rte_eth_dev_configure stage as well as "rx_mode.hw_vlan_strip" and "rx_mode.hw_vlan_filter". Fixes: 4861cde46116 ("i40e: new poll mode driver") Signed-off-by: Qi Zhang Acked-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index a92933c..ffdf7d7 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -5315,15 +5315,15 @@ i40e_dev_init_vlan(struct rte_eth_dev *dev) int mask = 0; /* Apply vlan offload setting */ - mask = ETH_VLAN_STRIP_MASK | ETH_VLAN_FILTER_MASK; + mask = ETH_VLAN_STRIP_MASK | + ETH_VLAN_FILTER_MASK | + ETH_VLAN_EXTEND_MASK; ret = i40e_vlan_offload_set(dev, mask); if (ret) { PMD_DRV_LOG(INFO, "Failed to update vlan offload"); return ret; } - /* Apply double-vlan setting, not implemented yet */ - /* Apply pvid setting */ ret = i40e_vlan_pvid_set(dev, data->dev_conf.txmode.pvid, data->dev_conf.txmode.hw_vlan_insert_pvid); -- 2.7.4