diff options
author | Ashish Shah <ashish.n.shah@intel.com> | 2014-07-10 07:58:15 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-08-27 00:22:52 -0700 |
commit | 5f5e33b6970953fc849852414014862fb388f6da (patch) | |
tree | 40c2ff389468104f2e66d700f2d8bf5089649c7d /drivers/net/veth.c | |
parent | c1d11cef92199764a3b0f35efc4a3583afedaddc (diff) | |
download | linux-5f5e33b6970953fc849852414014862fb388f6da.tar.bz2 |
i40e: set num_queue_pairs to num configured by VF
Change vsi->num_queue_pairs to equal the number that are configured
by the VF. This, in turn, limits the number of queues that are
enable/disabled. This fixes the mismatched case for when a VF configures
fewer queues than is allocated to it by the PF.
Change other sections to use alloc_queue_pairs as warranted.
Change-ID: I0de1b55c9084e7be6acc818da8569f12128a82c2
Signed-off-by: Ashish Shah <ashish.n.shah@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions