Searched refs:eth_link (Results 1 – 8 of 8) sorted by relevance
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_link.c | 64 struct rte_eth_link eth_link; in cnxk_eth_dev_link_status_get_cb() local 74 rte_eth_linkstatus_get(eth_dev, ð_link); in cnxk_eth_dev_link_status_get_cb() 76 link->status = eth_link.link_status; in cnxk_eth_dev_link_status_get_cb() 77 link->speed = eth_link.link_speed; in cnxk_eth_dev_link_status_get_cb() 78 link->autoneg = eth_link.link_autoneg; in cnxk_eth_dev_link_status_get_cb() 79 link->full_duplex = eth_link.link_duplex; in cnxk_eth_dev_link_status_get_cb() 86 struct rte_eth_link eth_link; in cnxk_eth_dev_link_status_cb() local 101 eth_link.link_status = link->status; in cnxk_eth_dev_link_status_cb() 102 eth_link.link_speed = link->speed; in cnxk_eth_dev_link_status_cb() 104 eth_link.link_duplex = link->full_duplex; in cnxk_eth_dev_link_status_cb() [all …]
|
| /dpdk/drivers/net/failsafe/ |
| H A D | failsafe.c | 19 static const struct rte_eth_link eth_link = { variable 188 dev->data->dev_link = eth_link; in fs_eth_dev_create()
|
| /dpdk/examples/ntb/ |
| H A D | ntb_fwd.c | 729 struct rte_eth_link eth_link; in start_pkt_fwd() local 745 ret = rte_eth_link_get(eth_port_id, ð_link); in start_pkt_fwd() 750 if (eth_link.link_status) { in start_pkt_fwd() 753 ð_link); in start_pkt_fwd() 759 if (!eth_link.link_status) { in start_pkt_fwd()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_ethdev.c | 2406 if (eth_link == NULL) { in rte_eth_link_get() 2413 rte_eth_linkstatus_get(dev, eth_link); in rte_eth_link_get() 2417 *eth_link = dev->data->dev_link; in rte_eth_link_get() 2431 if (eth_link == NULL) { in rte_eth_link_get_nowait() 2438 rte_eth_linkstatus_get(dev, eth_link); in rte_eth_link_get_nowait() 2442 *eth_link = dev->data->dev_link; in rte_eth_link_get_nowait() 2485 if (eth_link == NULL) { in rte_eth_link_to_str() 2490 if (eth_link->link_status == RTE_ETH_LINK_DOWN) in rte_eth_link_to_str() 2494 rte_eth_link_speed_to_str(eth_link->link_speed), in rte_eth_link_to_str() 2495 (eth_link->link_duplex == RTE_ETH_LINK_FULL_DUPLEX) ? in rte_eth_link_to_str() [all …]
|
| H A D | rte_ethdev.h | 3093 const struct rte_eth_link *eth_link);
|
| /dpdk/examples/pipeline/ |
| H A D | cli.c | 353 struct rte_eth_link eth_link; in print_link_info() local 367 ret = rte_eth_link_get(link->port_id, ð_link); in print_link_info() 386 eth_link.link_status == 0 ? "DOWN" : "UP", in print_link_info() 392 rte_eth_link_speed_to_str(eth_link.link_speed), in print_link_info()
|
| /dpdk/examples/ip_pipeline/ |
| H A D | cli.c | 249 struct rte_eth_link eth_link; in print_link_info() local 263 ret = rte_eth_link_get(link->port_id, ð_link); in print_link_info() 282 eth_link.link_status == 0 ? "DOWN" : "UP", in print_link_info() 288 rte_eth_link_speed_to_str(eth_link.link_speed), in print_link_info()
|
| /dpdk/drivers/net/bonding/ |
| H A D | rte_eth_bond_pmd.c | 2436 int (*link_update)(uint16_t port_id, struct rte_eth_link *eth_link); in bond_ethdev_link_update()
|