igb: restore workaround errata with wthresh on 82576
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 30 May 2013 17:12:35 +0000 (10:12 -0700)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 09:22:32 +0000 (10:22 +0100)
commit8e7bd48f7578f3a12776ce054b60c18ef8c34069
tree927c7575099561a6345f80345f82aa8b37b38f24
parent3f6899edd74833f56bc26a4e2378c641e01d0a90
igb: restore workaround errata with wthresh on 82576

The 82576 has known issues which require the write threshold to be set to 1.
See:
http://download.intel.com/design/network/specupdt/82576_SPECUPDATE.pdf

If not then single packets will hang in transmit ring until more arrive.
Simple tests like ping will fail.

The workaround was in the wrong file (commit a30ebfbb8c3a).
Move it in igb one to restore original patch (7e9e49feea).

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_e1000/em_rxtx.c
lib/librte_pmd_e1000/igb_rxtx.c