[dpdk-dev] [PATCH] ixgbe 82599: Query assignment of queues to Virtual Function

2013-10-21 Thread Qinglai Xiao
Physical Function assignes Tx/Rx queues to each VF according to different schemes[1]. By querying through mailbox, VF is able to get number of Tx/Rx queues assigned to it. Note that current Intel ixgbe driver ixgbe-3.18.7 does not fully support mailbox message IXGBE_VF_GET_QUEUES. The service rout

[dpdk-dev] [PATCH] ixgbe 82599: Query assignment of queues to Virtual Function.

2013-10-21 Thread jigsaw
Sorry it was not on my mind. Next patch will not have any trace to GPL code. -ql On Mon, Oct 21, 2013 at 4:04 PM, Thomas Monjalon wrote: > 21/10/2013 13:28, jigsaw : >> The ixgbevf_negotiate_api is copied from Intel's VF driver. > [..] >> I will make another attempt with elimination of ixgbevf_n

[dpdk-dev] [PATCH] ixgbe 82599: Query assignment of queues to Virtual Function.

2013-10-21 Thread Thomas Monjalon
21/10/2013 13:28, jigsaw : > The ixgbevf_negotiate_api is copied from Intel's VF driver. [..] > I will make another attempt with elimination of ixgbevf_negotiate_api. Please, when sending a patch, be sure that there is no licensing issue. We cannot integrate GPL code in BSD files. By adding your

[dpdk-dev] [PATCH] ixgbe 82599: Query assignment of queues to Virtual Function.

2013-10-21 Thread jigsaw
Hi Thomas, Thanks for comment. The ixgbevf_negotiate_api is copied from Intel's VF driver. The while loop is not quite usual, indeed. A direct call to ixgbevf_negotiate_api_version(hw, ixgbe_mbox_api_11) is sufficient, I think. Coz PF is supposed to be satisfied with ver 1.1. I will make another a

[dpdk-dev] [PATCH] ixgbe 82599: Query assignment of queues to Virtual Function.

2013-10-21 Thread Thomas Monjalon
Hi, 21/10/2013 09:09, Qinglai Xiao : > Physical Function assignes Tx/Rx queues to each VF according to > different schemes[1]. By querying through mailbox, VF is able to > get number of Tx/Rx queues assigned to it. > > Note that current Intel ixgbe driver ixgbe-3.18.7 does not fully > support mai

[dpdk-dev] [PATCH] ixgbe 82599: Query assignment of queues to Virtual Function.

2013-10-21 Thread Qinglai Xiao
Physical Function assignes Tx/Rx queues to each VF according to different schemes[1]. By querying through mailbox, VF is able to get number of Tx/Rx queues assigned to it. Note that current Intel ixgbe driver ixgbe-3.18.7 does not fully support mailbox message IXGBE_VF_GET_QUEUES. The service rout