git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
igbvf: fix mac type for 82576
[dpdk.git]
/
lib
/
librte_pmd_e1000
/
igb_rxtx.c
diff --git
a/lib/librte_pmd_e1000/igb_rxtx.c
b/lib/librte_pmd_e1000/igb_rxtx.c
index
6b454a5
..
7fe1780
100644
(file)
--- 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);
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
/*
* Workaround of 82576 VF Erratum
* force set WTHRESH to 1