From 242b69c0602e1759c1d4f66c836362908bcb63d1 Mon Sep 17 00:00:00 2001 From: Konstantin Ananyev Date: Tue, 6 May 2014 15:33:01 +0100 Subject: [PATCH] igbvf: fix mac type for 82576 e1000_vfadapt type corresponds to 82576 VF devices, check e1000_set_mac_type() for more details. Signed-off-by: Konstantin Ananyev Acked-by: Ivan Boule --- lib/librte_pmd_e1000/igb_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pmd_e1000/igb_rxtx.c b/lib/librte_pmd_e1000/igb_rxtx.c index 6b454a5b4b..7fe1780a9a 100644 --- a/lib/librte_pmd_e1000/igb_rxtx.c +++ b/lib/librte_pmd_e1000/igb_rxtx.c @@ -2154,7 +2154,7 @@ eth_igbvf_rx_init(struct rte_eth_dev *dev) rxdctl &= 0xFFF00000; rxdctl |= (rxq->pthresh & 0x1F); rxdctl |= ((rxq->hthresh & 0x1F) << 8); - if (hw->mac.type == e1000_82576) { + if (hw->mac.type == e1000_vfadapt) { /* * Workaround of 82576 VF Erratum * force set WTHRESH to 1 -- 2.20.1