From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iremonger, Bernard" Subject: Re: [PATCH v5 1/3] librte_ether: add API for VF management 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , "Shah, Rahul R" , "Lu, Wenzhuo" , "az5157@att.com" , azelezniak To: Thomas Monjalon 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) In-Reply-To: <1953384.ANuSY1Omf7@xps13> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.