[dpdk-users] Port Link state for secondary process
Tom B
tbi28430 at gmail.com
Mon Jan 29 14:58:14 CET 2018
Hello,
I could not get the port link state using rte_eth_link_get from a secondary
process:
struct rte_eth_link link;
rte_eth_link_get((uint8_t) port_id, &link);
if (link.link_status) {
printf("Link Up\n");
}
else {
printf("Link Down\n");
}
This code caused either segmentation fault for dpdk-16.11 or EAL fatal
error in dpdk-17.11.
Please suggest me a work around to get the link state (up/down) in
secondary process.
Thanks,
TB
More information about the users
mailing list