Home
last modified time | relevance | path

Searched refs:eth_link (Results 1 – 17 of 17) sorted by relevance

/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_link.c55 struct rte_eth_link eth_link; in otx2_eth_dev_link_status_update() local
70 eth_link.link_status = link->link_up; in otx2_eth_dev_link_status_update()
71 eth_link.link_speed = link->speed; in otx2_eth_dev_link_status_update()
72 eth_link.link_autoneg = ETH_LINK_AUTONEG; in otx2_eth_dev_link_status_update()
73 eth_link.link_duplex = link->full_duplex; in otx2_eth_dev_link_status_update()
79 nix_link_status_print(eth_dev, &eth_link); in otx2_eth_dev_link_status_update()
82 rte_eth_linkstatus_set(eth_dev, &eth_link); in otx2_eth_dev_link_status_update()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dr8a7745-sk-rzg1e.dts41 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7743-sk-rzg1m.dts46 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7790-stout.dts152 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7794-alt.dts257 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7791-porter.dts217 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7794-silk.dts305 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7793-gose.dts502 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7791-koelsch.dts528 groups = "eth_link", "eth_mdio", "eth_rmii";
H A Dr8a7790-lager.dts521 groups = "eth_link", "eth_mdio", "eth_rmii";
/f-stack/dpdk/drivers/net/failsafe/
H A Dfailsafe.c19 static const struct rte_eth_link eth_link = { variable
188 dev->data->dev_link = eth_link; in fs_eth_dev_create()
/f-stack/dpdk/examples/ntb/
H A Dntb_fwd.c729 struct rte_eth_link eth_link; in start_pkt_fwd() local
745 ret = rte_eth_link_get(eth_port_id, &eth_link); in start_pkt_fwd()
750 if (eth_link.link_status) { in start_pkt_fwd()
753 &eth_link); in start_pkt_fwd()
759 if (!eth_link.link_status) { in start_pkt_fwd()
/f-stack/dpdk/examples/pipeline/
H A Dcli.c351 struct rte_eth_link eth_link; in print_link_info() local
365 ret = rte_eth_link_get(link->port_id, &eth_link); in print_link_info()
384 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()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev.c2586 rte_eth_link_get(uint16_t port_id, struct rte_eth_link *eth_link) in rte_eth_link_get() argument
2595 rte_eth_linkstatus_get(dev, eth_link); in rte_eth_link_get()
2599 *eth_link = dev->data->dev_link; in rte_eth_link_get()
2606 rte_eth_link_get_nowait(uint16_t port_id, struct rte_eth_link *eth_link) in rte_eth_link_get_nowait() argument
2615 rte_eth_linkstatus_get(dev, eth_link); in rte_eth_link_get_nowait()
2619 *eth_link = dev->data->dev_link; in rte_eth_link_get_nowait()
2649 rte_eth_link_to_str(char *str, size_t len, const struct rte_eth_link *eth_link) in rte_eth_link_to_str() argument
2651 if (eth_link->link_status == ETH_LINK_DOWN) in rte_eth_link_to_str()
2655 rte_eth_link_speed_to_str(eth_link->link_speed), in rte_eth_link_to_str()
2656 (eth_link->link_duplex == ETH_LINK_FULL_DUPLEX) ? in rte_eth_link_to_str()
[all …]
H A Drte_ethdev.h2733 const struct rte_eth_link *eth_link);
/f-stack/dpdk/examples/ip_pipeline/
H A Dcli.c249 struct rte_eth_link eth_link; in print_link_info() local
263 ret = rte_eth_link_get(link->port_id, &eth_link); in print_link_info()
282 eth_link.link_status == 0 ? "DOWN" : "UP", in print_link_info()
290 rte_eth_link_speed_to_str(eth_link.link_speed), in print_link_info()
/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_pmd.c2397 int (*link_update)(uint16_t port_id, struct rte_eth_link *eth_link); in bond_ethdev_link_update()