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
ipc: end multiprocess thread during cleanup
[dpdk.git]
/
lib
/
pcapng
/
rte_pcapng.c
diff --git
a/lib/pcapng/rte_pcapng.c
b/lib/pcapng/rte_pcapng.c
index
a3d5760
..
03edabe
100644
(file)
--- a/
lib/pcapng/rte_pcapng.c
+++ b/
lib/pcapng/rte_pcapng.c
@@
-178,7
+178,7
@@
pcapng_add_interface(rte_pcapng_t *self, uint16_t port)
/* DPDK reports in units of Mbps */
rte_eth_link_get(port, &link);
- if (link.link_status == ETH_LINK_UP)
+ if (link.link_status ==
RTE_
ETH_LINK_UP)
speed = link.link_speed * PCAPNG_MBPS_SPEED;
if (rte_eth_macaddr_get(port, &macaddr) < 0)