igb: Add support for byte queue limits.
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 4 Jan 2012 20:23:36 +0000 (20:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2012 18:12:03 +0000 (13:12 -0500)
commitbdbc063129e811264cd6c311d8c2d9b95de01231
tree1039a1bb653ad6826fd36fc733f98b5ba8b0b71e
parent13acde8fffc0afbe8341fe08d2c594243f905c1f
igb: Add support for byte queue limits.

This adds support for byte queue limits (BQL)

Since this driver collects bytes count in 'bytecount' field, use it also
in igb_tx_map()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c