]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_e1000/igb_rxtx.c
igbvf: fix mac type for 82576
[dpdk.git] / lib / librte_pmd_e1000 / igb_rxtx.c
index 6b454a5b4bc0192fb14dce3b6475b0b17228be5d..7fe1780a9a3a8bc6aa40df46465fcdf7f048de09 100644 (file)
@@ -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