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
e1000/base: various changes
[dpdk.git]
/
lib
/
librte_pmd_e1000
/
e1000
/
e1000_mac.c
diff --git
a/lib/librte_pmd_e1000/e1000/e1000_mac.c
b/lib/librte_pmd_e1000/e1000/e1000_mac.c
index
1028fd2
..
8668904
100644
(file)
--- a/
lib/librte_pmd_e1000/e1000/e1000_mac.c
+++ b/
lib/librte_pmd_e1000/e1000/e1000_mac.c
@@
-2091,7
+2091,8
@@
s32 e1000_disable_pcie_master_generic(struct e1000_hw *hw)
while (timeout) {
if (!(E1000_READ_REG(hw, E1000_STATUS) &
- E1000_STATUS_GIO_MASTER_ENABLE))
+ E1000_STATUS_GIO_MASTER_ENABLE) ||
+ E1000_REMOVED(hw->hw_addr))
break;
usec_delay(100);
timeout--;