From: Neil Horman <nhorman@tuxdriver.com>
To: "Bhat, Sharat (Nokia - IN/Bangalore)" <sharat.bhat@nokia.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
"Agarwal,
Salil \(Nokia - IN/Bangalore\)" <salil.agarwal@nokia.com>,
"A, Satheesh \(Nokia - IN/Bangalore\)" <satheesh.a@nokia.com>,
"Padhy,
Lokanath \(Nokia - IN/Bangalore\)" <lokanath.padhy@nokia.com>
Subject: Re: [dpdk-dev] DPDK 1.7 - rte_eth_dev_flow_ctrl_set API returns error code -95
Date: Tue, 17 Mar 2015 11:17:23 -0400 [thread overview]
Message-ID: <20150317151723.GA8509@hmsreliant.think-freely.org> (raw)
In-Reply-To: <B208E2A6C4A85A43B6DBFF72225F76314768CC2B@SGSIMBX006.nsn-intra.net>
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
prev parent reply other threads:[~2015-03-17 15:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 14:51 Bhat, Sharat (Nokia - IN/Bangalore)
2015-03-17 15:17 ` Neil Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150317151723.GA8509@hmsreliant.think-freely.org \
--to=nhorman@tuxdriver.com \
--cc=dev@dpdk.org \
--cc=lokanath.padhy@nokia.com \
--cc=salil.agarwal@nokia.com \
--cc=satheesh.a@nokia.com \
--cc=sharat.bhat@nokia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).