2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/net/ethernet/intel
Neerav Parikh d739764406 i40e: Fix ring allocation
The allocation and clearing of rings for a VSI should be
using the alloc_queue_pairs and not num_queue_pairs.

The alloc_queue_pairs per VSI is a pre-allocated number
of queues assigned to a VSI; based on number of TCs enabled
only certain number of queues may be used from that. This
is mainly valid only for the LAN VSI case as that is the
only VSI that may be enabled with multiple traffic classes.
In the future the number of TCs may change based on DCBX
configuration.

The actual number of queues that are enabled/configured is
based on the number of TCs enabled for a given VSI and that
is stored in num_queue_pairs.

With this change num_[tr]x_queues is unused so remove them.

Change-Id: I9c2f84778bb25f7313c630e9b002a0caa883ce29
Signed-off-by: Neerav Parikh <Neerav.Parikh@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-01-05 00:32:09 -08:00
..
e1000 e1000: fix possible reset_task running after adapter down 2013-11-30 00:02:12 -08:00
e1000e Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
i40e i40e: Fix ring allocation 2014-01-05 00:32:09 -08:00
i40evf i40evf: A0 silicon specific 2013-12-31 16:39:42 -08:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-12-18 16:42:06 -05:00
igbvf net: igbvf: slight optimization of addr compare 2013-12-31 16:48:31 -05:00
ixgb Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ixgbe net: ixgbe: slight optimization of addr compare 2013-12-31 16:48:31 -05:00
ixgbevf ixgbevf: add DCB configuration into queue setup 2013-12-17 22:42:54 -08:00
e100.c net: e100: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
Kconfig i40e: Implementation of VXLAN ndo's 2014-01-03 20:11:44 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00