From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C44DD475D for ; Thu, 29 Sep 2016 18:38:13 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP; 29 Sep 2016 09:38:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,415,1470726000"; d="scan'208";a="1047545594" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga001.fm.intel.com with ESMTP; 29 Sep 2016 09:38:11 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX103.ger.corp.intel.com ([169.254.3.91]) with mapi id 14.03.0248.002; Thu, 29 Sep 2016 17:38:11 +0100 From: "Iremonger, Bernard" To: Thomas Monjalon CC: "dev@dpdk.org" , "Shah, Rahul R" , "Lu, Wenzhuo" , "az5157@att.com" , azelezniak Thread-Topic: [dpdk-dev] [PATCH v5 1/3] librte_ether: add API for VF management Thread-Index: AQHSGlwgGOr6Jz8F2E+iSNVDeLebLqCQdnWAgAAWzcCAAAe8gIAAFS8w Date: Thu, 29 Sep 2016 16:38:10 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C21A08E198@IRSMSX108.ger.corp.intel.com> References: <1474453204-31516-1-git-send-email-bernard.iremonger@intel.com> <3631809.sFy4WKcCTS@xps13> <8CEF83825BEC744B83065625E567D7C21A08E0CA@IRSMSX108.ger.corp.intel.com> <1953384.ANuSY1Omf7@xps13> In-Reply-To: <1953384.ANuSY1Omf7@xps13> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2VjNGJjNDMtNWMzMC00OWE5LWE3MjQtYTljYjhiN2M0ODU4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlJJVEZCVTA5UEZrclRVN1phQmZCRlowWUZtMTNpSzVTVzNDano4cGV3aWs9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 1/3] librte_ether: add API for VF management X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2016 16:38:14 -0000 Hi Thomas, > Subject: Re: [dpdk-dev] [PATCH v5 1/3] librte_ether: add API for VF > management >=20 > 2016-09-29 15:16, Iremonger, Bernard: > > > 2016-09-29 15:16, Bernard Iremonger: > > > > +int > > > > +rte_eth_dev_set_vf_vlan_stripq(uint8_t port, uint16_t vf, int > > > > +on); > > > > > > Why keeping this function in ethdev? > > > > This function is using an existing API in the eth_dev_ops structure. > > > > dev->dev_ops->vlan_strip_queue_set > > > > The vlan_strip_queue_set API is used by the i40e, ixgbe and mlx5 PMD's= . >=20 > OK but it was not used to control VF from PF. > This line: > (*dev->dev_ops->vlan_strip_queue_set)(dev, q + vf * > queues_per_pool, on); seems Intel specific. > Please keep "VF from PF" outside of ethdev for 16.11. I will try calling (*dev->dev_ops->vlan_strip_queue_set) from an ixgbe-spe= cific function. Will this be acceptable?=20 Regards, Bernard.