From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7164DA49A for ; Mon, 21 May 2018 03:15:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 May 2018 18:15:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,425,1520924400"; d="scan'208";a="43350964" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga006.jf.intel.com with ESMTP; 20 May 2018 18:15:53 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 20 May 2018 18:15:52 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 20 May 2018 18:15:52 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.240]) with mapi id 14.03.0319.002; Mon, 21 May 2018 09:15:51 +0800 From: "Zhang, Helin" To: "Dai, Wei" , "Zhang, Qi Z" , "Yigit, Ferruh" , "Lu, Wenzhuo" , "Ananyev, Konstantin" , "Wu, Yanglong" CC: "dev@dpdk.org" , "Dai, Wei" , Wei Dai Thread-Topic: [dpdk-dev] [PATCH v5] net/ixgbe: fix to config VLAN strip on the fly Thread-Index: AQHT71ybJY2g8b32LUmyTfiZ4zNjN6Q5Y5wQ Date: Mon, 21 May 2018 01:15:51 +0000 Message-ID: References: <1526659710-24420-1-git-send-email-wei.dai@intel.com> <1526724679-54877-1-git-send-email-wei.dai@intel.com> In-Reply-To: <1526724679-54877-1-git-send-email-wei.dai@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5] net/ixgbe: fix to config VLAN strip on the fly X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 01:15:54 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei Dai > Sent: Saturday, May 19, 2018 6:11 PM > To: Zhang, Qi Z; Yigit, Ferruh; Lu, Wenzhuo; Ananyev, Konstantin; Wu, > Yanglong > Cc: dev@dpdk.org; Dai, Wei; stable@dpdk.org; Wei Dai > Subject: [dpdk-dev] [PATCH v5] net/ixgbe: fix to config VLAN strip on the= fly >=20 > The old ixgbe_vlan_offload_set() is called by > rte_eth_dev_set_vlan_offload() which is meant to config VLAN > strip/filter/extend on all queues. > This old function is also called by rte_eth_dev_start()/ixgbe_dev_start() > which need support per-queue VALN strip on only parts of queues. >=20 > So add new function ixgbe_vlan_offload_config() =3D old > ixgbe_vlan_offload_set(). > This new function is called by ixgbe_dev_start() to support VLAN strip pe= r- > queue configuration. >=20 > New ixgbe_vlan_offload_set() =3D codes to align VLAN strip flags on all q= ueues > with port level setting + new ixgbe_vlan_offload_configure(). > The 2nd function is called by rte_eth_dev_set_vlan_offload to support > configure VLAN strip on all queues of whole port. >=20 > Fixes: 216f78f4d53f ("net/ixgbe: support VLAN strip per queue offloading = in PF") > Fixes: 860a94d3c692 ("net/ixgbe: support VLAN strip per queue offloading = in > VF") >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Dai > Signed-off-by: Yanglong Wu >=20 > Acked-by: Qi Zhang Applied to dpdk-next-net-intel, thanks! /Helin