| /dpdk/drivers/net/ionic/ |
| H A D | ionic_ethdev.c | 843 ionic_parse_link_speeds(uint16_t link_speeds) in ionic_parse_link_speeds() argument 845 if (link_speeds & RTE_ETH_LINK_SPEED_100G) in ionic_parse_link_speeds() 847 else if (link_speeds & RTE_ETH_LINK_SPEED_50G) in ionic_parse_link_speeds() 849 else if (link_speeds & RTE_ETH_LINK_SPEED_40G) in ionic_parse_link_speeds() 851 else if (link_speeds & RTE_ETH_LINK_SPEED_25G) in ionic_parse_link_speeds() 853 else if (link_speeds & RTE_ETH_LINK_SPEED_10G) in ionic_parse_link_speeds() 884 if (dev_conf->link_speeds & ~allowed_speeds) { in ionic_dev_start() 899 an_enable = (dev_conf->link_speeds & RTE_ETH_LINK_SPEED_FIXED) == 0; in ionic_dev_start() 908 speed = ionic_parse_link_speeds(dev_conf->link_speeds); in ionic_dev_start()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev.c | 4819 link_speeds); in hns3_check_port_speed() 4827 hns3_get_link_speed(uint32_t link_speeds) in hns3_get_link_speed() argument 4831 if (link_speeds & RTE_ETH_LINK_SPEED_10M || in hns3_get_link_speed() 4837 if (link_speeds & RTE_ETH_LINK_SPEED_1G) in hns3_get_link_speed() 4839 if (link_speeds & RTE_ETH_LINK_SPEED_10G) in hns3_get_link_speed() 4841 if (link_speeds & RTE_ETH_LINK_SPEED_25G) in hns3_get_link_speed() 4843 if (link_speeds & RTE_ETH_LINK_SPEED_40G) in hns3_get_link_speed() 4845 if (link_speeds & RTE_ETH_LINK_SPEED_50G) in hns3_get_link_speed() 4847 if (link_speeds & RTE_ETH_LINK_SPEED_100G) in hns3_get_link_speed() 4849 if (link_speeds & RTE_ETH_LINK_SPEED_200G) in hns3_get_link_speed() [all …]
|
| H A D | hns3_ethdev_vf.c | 489 if (conf->link_speeds & RTE_ETH_LINK_SPEED_FIXED) { in hns3vf_dev_configure() 1713 !(eth_dev->data->dev_conf.link_speeds & RTE_ETH_LINK_SPEED_FIXED); in hns3vf_dev_link_update()
|
| /dpdk/drivers/net/atlantic/ |
| H A D | atl_ethdev.c | 491 if (dev->data->dev_conf.link_speeds & RTE_ETH_LINK_SPEED_FIXED) { in atl_dev_start() 651 uint32_t link_speeds = dev->data->dev_conf.link_speeds; in atl_dev_set_link_up() local 654 if (link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) { in atl_dev_set_link_up() 657 if (link_speeds & RTE_ETH_LINK_SPEED_10G) in atl_dev_set_link_up() 659 if (link_speeds & RTE_ETH_LINK_SPEED_5G) in atl_dev_set_link_up() 661 if (link_speeds & RTE_ETH_LINK_SPEED_1G) in atl_dev_set_link_up() 663 if (link_speeds & RTE_ETH_LINK_SPEED_2_5G) in atl_dev_set_link_up() 665 if (link_speeds & RTE_ETH_LINK_SPEED_100M) in atl_dev_set_link_up()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_ethdev_trace.h | 29 rte_trace_point_emit_u32(dev_conf->link_speeds);
|
| H A D | rte_ethdev.h | 1572 uint32_t link_speeds; /**< bitmap of RTE_ETH_LINK_SPEED_XXX of speeds to be member
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_ethdev.c | 948 uint32_t *link_speeds; in ngbe_dev_start() local 1035 link_speeds = &dev->data->dev_conf.link_speeds; in ngbe_dev_start() 1036 if (*link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) in ngbe_dev_start() 1051 if (*link_speeds & ~allowed_speeds) { in ngbe_dev_start() 1057 if (*link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) { in ngbe_dev_start() 1060 if (*link_speeds & RTE_ETH_LINK_SPEED_1G) in ngbe_dev_start() 1062 if (*link_speeds & RTE_ETH_LINK_SPEED_100M) in ngbe_dev_start() 1064 if (*link_speeds & RTE_ETH_LINK_SPEED_10M) in ngbe_dev_start() 1858 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in ngbe_dev_link_update_share()
|
| /dpdk/examples/ip_pipeline/ |
| H A D | link.c | 46 .link_speeds = 0,
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 1628 uint32_t *link_speeds; in txgbe_dev_start() local 1762 link_speeds = &dev->data->dev_conf.link_speeds; in txgbe_dev_start() 1763 if (((*link_speeds) >> 1) & ~(allowed_speeds >> 1)) { in txgbe_dev_start() 1769 if (*link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) { in txgbe_dev_start() 1774 if (*link_speeds & RTE_ETH_LINK_SPEED_10G) in txgbe_dev_start() 1776 if (*link_speeds & RTE_ETH_LINK_SPEED_5G) in txgbe_dev_start() 1778 if (*link_speeds & RTE_ETH_LINK_SPEED_2_5G) in txgbe_dev_start() 1780 if (*link_speeds & RTE_ETH_LINK_SPEED_1G) in txgbe_dev_start() 1782 if (*link_speeds & RTE_ETH_LINK_SPEED_100M) in txgbe_dev_start() 2695 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in txgbe_dev_link_update_share()
|
| /dpdk/examples/pipeline/ |
| H A D | obj.c | 128 .link_speeds = 0,
|
| /dpdk/drivers/net/e1000/ |
| H A D | em_ethdev.c | 611 speeds = &dev->data->dev_conf.link_speeds; in eth_em_start() 700 dev->data->dev_conf.link_speeds, dev->data->port_id); in eth_em_start() 1166 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in eth_em_link_update()
|
| H A D | igb_ethdev.c | 1311 speeds = &dev->data->dev_conf.link_speeds; in eth_igb_start() 1403 dev->data->dev_conf.link_speeds, dev->data->port_id); in eth_igb_start() 2404 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in eth_igb_link_update()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc.c | 159 sfc_phy_cap_from_link_speeds(conf->link_speeds) & in sfc_check_conf() 163 conf->link_speeds); in sfc_check_conf()
|
| H A D | sfc_repr.c | 402 if (conf->link_speeds != 0) { in sfc_repr_check_conf()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 2575 uint32_t *link_speeds; in ixgbe_dev_start() local 2741 link_speeds = &dev->data->dev_conf.link_speeds; in ixgbe_dev_start() 2746 if (((*link_speeds) >> 1) & ~(allowed_speeds >> 1)) { in ixgbe_dev_start() 2752 if (*link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) { in ixgbe_dev_start() 2770 if (*link_speeds & RTE_ETH_LINK_SPEED_10G) in ixgbe_dev_start() 2772 if (*link_speeds & RTE_ETH_LINK_SPEED_5G) in ixgbe_dev_start() 2774 if (*link_speeds & RTE_ETH_LINK_SPEED_2_5G) in ixgbe_dev_start() 2776 if (*link_speeds & RTE_ETH_LINK_SPEED_1G) in ixgbe_dev_start() 2778 if (*link_speeds & RTE_ETH_LINK_SPEED_100M) in ixgbe_dev_start() 2780 if (*link_speeds & RTE_ETH_LINK_SPEED_10M) in ixgbe_dev_start() [all …]
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_ethdev_os.c | 459 dev_link.link_autoneg = !(dev->data->dev_conf.link_speeds & in mlx5_link_update_unlocked_gset() 598 dev_link.link_autoneg = !(dev->data->dev_conf.link_speeds & in mlx5_link_update_unlocked_gs()
|
| /dpdk/drivers/net/dpaa/ |
| H A D | dpaa_ethdev.c | 298 if (eth_conf->link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) { in dpaa_eth_dev_configure() 302 } else if (eth_conf->link_speeds & RTE_ETH_LINK_SPEED_FIXED) { in dpaa_eth_dev_configure() 303 switch (eth_conf->link_speeds & RTE_ETH_LINK_SPEED_FIXED) { in dpaa_eth_dev_configure()
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_ethdev.c | 829 dev_link.link_autoneg = !(dev->data->dev_conf.link_speeds & in mlx4_link_update()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_ethdev.c | 480 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in eth_igc_link_update() 984 speeds = &dev->data->dev_conf.link_speeds; in eth_igc_start() 1086 dev->data->dev_conf.link_speeds, dev->data->port_id); in eth_igc_start()
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_ethdev.c | 103 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in bnx2x_link_update()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.c | 2203 i40e_parse_link_speeds(uint16_t link_speeds) in i40e_parse_link_speeds() argument 2207 if (link_speeds & RTE_ETH_LINK_SPEED_40G) in i40e_parse_link_speeds() 2209 if (link_speeds & RTE_ETH_LINK_SPEED_25G) in i40e_parse_link_speeds() 2211 if (link_speeds & RTE_ETH_LINK_SPEED_20G) in i40e_parse_link_speeds() 2213 if (link_speeds & RTE_ETH_LINK_SPEED_10G) in i40e_parse_link_speeds() 2215 if (link_speeds & RTE_ETH_LINK_SPEED_1G) in i40e_parse_link_speeds() 2217 if (link_speeds & RTE_ETH_LINK_SPEED_100M) in i40e_parse_link_speeds() 2325 if (conf->link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) { in i40e_apply_link_speed() 2326 conf->link_speeds = RTE_ETH_LINK_SPEED_40G | in i40e_apply_link_speed() 2337 speed = i40e_parse_link_speeds(conf->link_speeds); in i40e_apply_link_speed() [all …]
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_representor.c | 2465 link.link_autoneg = !(ethdev->data->dev_conf.link_speeds & in ipn3ke_rpst_link_update() 2523 link.link_autoneg = !(rpst->ethdev->data->dev_conf.link_speeds & in ipn3ke_rpst_link_check()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.c | 3047 uint32_t link_speed = bp->eth_dev->data->dev_conf.link_speeds; in bnxt_validate_link_speed() 3232 autoneg = bnxt_check_eth_link_autoneg(dev_conf->link_speeds); in bnxt_set_hwrm_link_config() 3234 dev_conf->link_speeds == RTE_ETH_LINK_SPEED_40G) { in bnxt_set_hwrm_link_config() 3249 speed = bnxt_parse_eth_link_speed(dev_conf->link_speeds, in bnxt_set_hwrm_link_config() 3259 dev_conf->link_speeds); in bnxt_set_hwrm_link_config() 3297 link_req.duplex = bnxt_parse_eth_link_duplex(dev_conf->link_speeds); in bnxt_set_hwrm_link_config()
|
| /dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev.c | 438 if (conf->link_speeds & RTE_ETH_LINK_SPEED_FIXED) { in octeontx_dev_configure()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_ethdev.c | 1525 new_link.link_autoneg = !(dev->data->dev_conf.link_speeds & in ice_dcf_link_update()
|