linux/drivers/net/ixgbe
John Fastabend 8b1c0b24d9 ixgbe: configure minimal packet buffers to support TC
ixgbe devices support different numbers of packet buffers either
8 or 4. Here we only allocate the minimal number of packet
buffers required to implement the net_devices number of traffic
classes.

Fewer traffic classes allows for larger packet buffers in
hardware. Also more Tx/Rx queues can be given to each
traffic class.

This patch is mostly about propagating the number of traffic
classes through the init path. Specifically this adds the 4TC
cases to the MRQC and MTQC setup routines. Also ixgbe_setup_tc()
was sanitized to handle other traffic class value.

Finally changing the number of packet buffers in the hardware
requires the device to reinit. So this moves the reinit work
from DCB into the main ixgbe_setup_tc() routine to consolidate
the reset code. Now dcbnl_xxx ops call ixgbe_setup_tc() to
configure packet buffers if needed.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2011-06-21 01:19:54 -07:00
..
ixgbe_82598.c ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_82599.c ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_common.c ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_common.h ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_dcb_82598.c ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_dcb_82598.h ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_dcb_82599.c ixgbe: consolidate MRQC and MTQC handling 2011-06-21 01:19:27 -07:00
ixgbe_dcb_82599.h ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_dcb_nl.c ixgbe: configure minimal packet buffers to support TC 2011-06-21 01:19:54 -07:00
ixgbe_dcb.c ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_dcb.h ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe_ethtool.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ixgbe_fcoe.c ixgbe: do not clear FCoE DDP error status for received ABTS 2011-04-27 02:18:04 -07:00
ixgbe_fcoe.h ixgbe: add support to FCoE DDP in target mode 2011-03-07 18:04:35 -08:00
ixgbe_main.c ixgbe: configure minimal packet buffers to support TC 2011-06-21 01:19:54 -07:00
ixgbe_mbx.c ixgbe: remove timer reset to 0 on timeout 2011-03-12 04:13:41 -08:00
ixgbe_mbx.h ixgbe: Add macvlan support for VF 2011-05-14 17:53:09 -07:00
ixgbe_phy.c ixgbe: Use function pointer for ixgbe_acquire/release_swfw_sync() 2011-05-04 12:13:59 -07:00
ixgbe_phy.h ixgbe: update PHY code to support 100Mbps as well as 1G/10G 2011-03-12 04:14:01 -08:00
ixgbe_sriov.c ixgbe: fix sparse warning 2011-05-14 18:09:39 -07:00
ixgbe_sriov.h ixgbe: add support for VF Transmit rate limit using iproute2 2011-03-12 04:15:08 -08:00
ixgbe_type.h ixgbe: configure minimal packet buffers to support TC 2011-06-21 01:19:54 -07:00
ixgbe_x540.c ixgbe: consolidate packet buffer allocation 2011-06-21 01:18:55 -07:00
ixgbe.h ixgbe: Merge over-temp task into service task 2011-05-14 18:08:09 -07:00
Makefile ixgbe: add MAC and PHY support for x540 2010-11-16 19:27:16 -08:00