pcapng: use new ethdev namespace
RTE_ prefix was added by commit295968d174
("ethdev: add namespace") Fixes:8d23ce8f5e
("pcapng: add new library for writing pcapng files") Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
6cc51b1293
commit
ae1702fffe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user