diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2011-04-04 04:29:41 (GMT) |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-04-14 02:26:43 (GMT) |
commit | e09ad236fc85b1d6e010138f59aba76f6c9a295b (patch) | |
tree | 7f05239838d579f23a71106d1880155e2359d882 /drivers/target | |
parent | b776d1043510c60f59220eb5e58b524f5a7f0e52 (diff) | |
download | linux-e09ad236fc85b1d6e010138f59aba76f6c9a295b.tar.xz |
ixgbe: DCB, misallocated packet buffer size with X540 device
The X540 device has a smaller packet buffer but the DCB configuration
never took this into account. Under stress this can result in the DMA
engine hanging and TX Unit hang occurring to reset the device. This
patch reworks the packet buffer allocation routine used for DCB on
82599 and X540 devices to account for RX packet buffer sizes.
This fixes the immediate hang. We should consolidate the various
hardware specific routines for configuring features into a single
routine. This will make it much harder to miss feature cases like
this.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions