diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2011-04-26 03:26:14 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-06-21 04:20:40 -0400 |
commit | aba70d5e6c1c188fe45c1a782060440b6c2ea759 (patch) | |
tree | 68057d1b5c0685c287e09d9f6be14ab75d43da27 /drivers | |
parent | e901acd6fa5538436e08e8a862dd2c080297f852 (diff) |
ixgbe: DCB 82598 devices, tx_idx and rx_idx swapped
The tx_idx and rx_idx values are swapped on 82598 devices
with DCB enabled.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 3a88fb6e32e7..f829d3614521 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -4636,8 +4636,8 @@ static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, | |||
4636 | 4636 | ||
4637 | switch (hw->mac.type) { | 4637 | switch (hw->mac.type) { |
4638 | case ixgbe_mac_82598EB: | 4638 | case ixgbe_mac_82598EB: |
4639 | *tx = tc << 3; | 4639 | *tx = tc << 2; |
4640 | *rx = tc << 2; | 4640 | *rx = tc << 3; |
4641 | break; | 4641 | break; |
4642 | case ixgbe_mac_82599EB: | 4642 | case ixgbe_mac_82599EB: |
4643 | case ixgbe_mac_X540: | 4643 | case ixgbe_mac_X540: |