From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 735C35A86 for ; Tue, 17 Mar 2015 16:17:29 +0100 (CET) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YXtFF-0006GO-NS; Tue, 17 Mar 2015 11:17:27 -0400 Date: Tue, 17 Mar 2015 11:17:23 -0400 From: Neil Horman To: "Bhat, Sharat (Nokia - IN/Bangalore)" Message-ID: <20150317151723.GA8509@hmsreliant.think-freely.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" , "Agarwal, Salil \(Nokia - IN/Bangalore\)" , "A, Satheesh \(Nokia - IN/Bangalore\)" , "Padhy, Lokanath \(Nokia - IN/Bangalore\)" Subject: Re: [dpdk-dev] DPDK 1.7 - rte_eth_dev_flow_ctrl_set API returns error code -95 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: Tue, 17 Mar 2015 15:17:29 -0000 On Tue, Mar 17, 2015 at 02:51:26PM +0000, Bhat, Sharat (Nokia - IN/Bangalore) wrote: > Hello , > > We have 30 VF's and first 15 VF's are handled by DPDK i.e. bound to igb_uio and PF is boud to ixgbe driver. > > I am trying to set Flow Control parameters for a VF/port using rte_eth_dev_flow_ctrl but it always returns error code -95. > > Same error code is returned by tetspmd application as well. > > "testpmd> set flow_ctrl rx off 0 > cannot get current flow ctrl parameters, returncode = -95" . > > > If Any one of you are succeeded in setting flow control parameters for a VF using DPDK 1.7 , please help me . > > I was expecting at least testpmd application should work with flow control set API, but it is not the case. > > I have tried to switch of Flow Control using ethtool for PF , no error message, but its not reflecting the changes. > > > Thanks and Regards, > Sharat Bhat > > > > > > > > > > There is no VF pmd in dpdk with a flow_ctrl_set method registered. As such, every attempt to set flow control will return -EOPNOTSUPP (-95) Neil