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