ixgbe: Fix FCRTH value in VM-to-VM loopback mode
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:27:51 +0000 (16:27 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Sep 2015 06:04:48 +0000 (23:04 -0700)
commitbc1fc64fd2d9093496e5b04c6d94d26bfa629c9c
tree5d2b5c5d7e8d61cc2ff1c055a5d60e7b9020fd9c
parent3507a9b8c9d1684b5095c97f587ee46184e590da
ixgbe: Fix FCRTH value in VM-to-VM loopback mode

The 82599 and X540 datasheets require that FCRTH be "set" for Tx
switching (VM-to-VM loopback) but it did not previously specify what
the value should be set to. It has now been determined that
the correct value is RXPBSIZE - (24*1024).

This setting is also required for later devices.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c