| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_link.c | 213 if (link_speeds & ETH_LINK_SPEED_100G) in nix_parse_link_speeds() 215 if (link_speeds & ETH_LINK_SPEED_50G) in nix_parse_link_speeds() 218 if (link_speeds & ETH_LINK_SPEED_40G) in nix_parse_link_speeds() 220 if (link_speeds & ETH_LINK_SPEED_25G) in nix_parse_link_speeds() 222 if (link_speeds & ETH_LINK_SPEED_20G) in nix_parse_link_speeds() 224 if (link_speeds & ETH_LINK_SPEED_10G) in nix_parse_link_speeds() 226 if (link_speeds & ETH_LINK_SPEED_5G) in nix_parse_link_speeds() 228 if (link_speeds & ETH_LINK_SPEED_1G) in nix_parse_link_speeds() 235 nix_parse_eth_link_duplex(uint32_t link_speeds) in nix_parse_eth_link_duplex() argument 237 if ((link_speeds & ETH_LINK_SPEED_10M_HD) || in nix_parse_eth_link_duplex() [all …]
|
| /f-stack/dpdk/drivers/net/ionic/ |
| H A D | ionic_ethdev.c | 877 ionic_parse_link_speeds(uint16_t link_speeds) in ionic_parse_link_speeds() argument 879 if (link_speeds & ETH_LINK_SPEED_100G) in ionic_parse_link_speeds() 881 else if (link_speeds & ETH_LINK_SPEED_50G) in ionic_parse_link_speeds() 883 else if (link_speeds & ETH_LINK_SPEED_40G) in ionic_parse_link_speeds() 885 else if (link_speeds & ETH_LINK_SPEED_25G) in ionic_parse_link_speeds() 887 else if (link_speeds & ETH_LINK_SPEED_10G) in ionic_parse_link_speeds() 917 if (dev_conf->link_speeds & ~allowed_speeds) { in ionic_dev_start() 928 if (eth_dev->data->dev_conf.link_speeds & ETH_LINK_SPEED_FIXED) { in ionic_dev_start() 929 uint32_t speed = ionic_parse_link_speeds(dev_conf->link_speeds); in ionic_dev_start()
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_ethdev_trace.h | 29 rte_trace_point_emit_u32(dev_conf->link_speeds);
|
| H A D | rte_ethdev.h | 1294 uint32_t link_speeds; /**< bitmap of ETH_LINK_SPEED_XXX of speeds to be member
|
| /f-stack/dpdk/drivers/net/atlantic/ |
| H A D | atl_ethdev.c | 492 if (dev->data->dev_conf.link_speeds & ETH_LINK_SPEED_FIXED) { in atl_dev_start() 656 uint32_t link_speeds = dev->data->dev_conf.link_speeds; in atl_dev_set_link_up() local 659 if (link_speeds == ETH_LINK_SPEED_AUTONEG) { in atl_dev_set_link_up() 662 if (link_speeds & ETH_LINK_SPEED_10G) in atl_dev_set_link_up() 664 if (link_speeds & ETH_LINK_SPEED_5G) in atl_dev_set_link_up() 666 if (link_speeds & ETH_LINK_SPEED_1G) in atl_dev_set_link_up() 668 if (link_speeds & ETH_LINK_SPEED_2_5G) in atl_dev_set_link_up() 670 if (link_speeds & ETH_LINK_SPEED_100M) in atl_dev_set_link_up()
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | link.c | 46 .link_speeds = 0,
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 1394 uint32_t *link_speeds; in txgbe_dev_start() local 1402 if (dev->data->dev_conf.link_speeds & ETH_LINK_SPEED_FIXED) { in txgbe_dev_start() 1533 link_speeds = &dev->data->dev_conf.link_speeds; in txgbe_dev_start() 1534 if (*link_speeds & ~allowed_speeds) { in txgbe_dev_start() 1540 if (*link_speeds == ETH_LINK_SPEED_AUTONEG) { in txgbe_dev_start() 1545 if (*link_speeds & ETH_LINK_SPEED_10G) in txgbe_dev_start() 1547 if (*link_speeds & ETH_LINK_SPEED_5G) in txgbe_dev_start() 1549 if (*link_speeds & ETH_LINK_SPEED_2_5G) in txgbe_dev_start() 1551 if (*link_speeds & ETH_LINK_SPEED_1G) in txgbe_dev_start() 1553 if (*link_speeds & ETH_LINK_SPEED_100M) in txgbe_dev_start()
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | obj.c | 111 .link_speeds = 0,
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc.c | 125 sfc_phy_cap_from_link_speeds(conf->link_speeds) & in sfc_check_conf() 129 conf->link_speeds); in sfc_check_conf()
|
| /f-stack/dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_ethdev_os.c | 427 dev_link.link_autoneg = !(dev->data->dev_conf.link_speeds & in mlx5_link_update_unlocked_gset() 568 dev_link.link_autoneg = !(dev->data->dev_conf.link_speeds & in mlx5_link_update_unlocked_gs()
|
| /f-stack/dpdk/drivers/net/e1000/ |
| H A D | em_ethdev.c | 615 speeds = &dev->data->dev_conf.link_speeds; in eth_em_start() 704 dev->data->dev_conf.link_speeds, dev->data->port_id); in eth_em_start() 1172 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in eth_em_link_update()
|
| H A D | igb_ethdev.c | 1323 speeds = &dev->data->dev_conf.link_speeds; in eth_igb_start() 1415 dev->data->dev_conf.link_speeds, dev->data->port_id); in eth_igb_start() 2419 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in eth_igb_link_update()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 2553 uint32_t *link_speeds; in ixgbe_dev_start() local 2721 link_speeds = &dev->data->dev_conf.link_speeds; in ixgbe_dev_start() 2726 if (((*link_speeds) >> 1) & ~(allowed_speeds >> 1)) { in ixgbe_dev_start() 2732 if (*link_speeds == ETH_LINK_SPEED_AUTONEG) { in ixgbe_dev_start() 2750 if (*link_speeds & ETH_LINK_SPEED_10G) in ixgbe_dev_start() 2752 if (*link_speeds & ETH_LINK_SPEED_5G) in ixgbe_dev_start() 2754 if (*link_speeds & ETH_LINK_SPEED_2_5G) in ixgbe_dev_start() 2756 if (*link_speeds & ETH_LINK_SPEED_1G) in ixgbe_dev_start() 2758 if (*link_speeds & ETH_LINK_SPEED_100M) in ixgbe_dev_start() 2760 if (*link_speeds & ETH_LINK_SPEED_10M) in ixgbe_dev_start() [all …]
|
| /f-stack/dpdk/drivers/net/dpaa/ |
| H A D | dpaa_ethdev.c | 304 if (eth_conf->link_speeds == ETH_LINK_SPEED_AUTONEG) { in dpaa_eth_dev_configure() 308 } else if (eth_conf->link_speeds & ETH_LINK_SPEED_FIXED) { in dpaa_eth_dev_configure() 309 switch (eth_conf->link_speeds & ~ETH_LINK_SPEED_FIXED) { in dpaa_eth_dev_configure()
|
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/igc/ |
| H A D | igc_ethdev.c | 484 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in eth_igc_link_update() 983 speeds = &dev->data->dev_conf.link_speeds; in eth_igc_start() 1091 dev->data->dev_conf.link_speeds, dev->data->port_id); in eth_igc_start()
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_ethdev.c | 103 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in bnx2x_link_update()
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.c | 2240 i40e_parse_link_speeds(uint16_t link_speeds) in i40e_parse_link_speeds() argument 2244 if (link_speeds & ETH_LINK_SPEED_40G) in i40e_parse_link_speeds() 2246 if (link_speeds & ETH_LINK_SPEED_25G) in i40e_parse_link_speeds() 2248 if (link_speeds & ETH_LINK_SPEED_20G) in i40e_parse_link_speeds() 2250 if (link_speeds & ETH_LINK_SPEED_10G) in i40e_parse_link_speeds() 2252 if (link_speeds & ETH_LINK_SPEED_1G) in i40e_parse_link_speeds() 2254 if (link_speeds & ETH_LINK_SPEED_100M) in i40e_parse_link_speeds() 2361 if (conf->link_speeds == ETH_LINK_SPEED_AUTONEG) { in i40e_apply_link_speed() 2362 conf->link_speeds = ETH_LINK_SPEED_40G | in i40e_apply_link_speed() 2373 speed = i40e_parse_link_speeds(conf->link_speeds); in i40e_apply_link_speed() [all …]
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.c | 2884 uint32_t link_speed = bp->eth_dev->data->dev_conf.link_speeds; in bnxt_validate_link_speed() 3069 autoneg = bnxt_check_eth_link_autoneg(dev_conf->link_speeds); in bnxt_set_hwrm_link_config() 3071 dev_conf->link_speeds == ETH_LINK_SPEED_40G) { in bnxt_set_hwrm_link_config() 3086 speed = bnxt_parse_eth_link_speed(dev_conf->link_speeds, in bnxt_set_hwrm_link_config() 3102 dev_conf->link_speeds); in bnxt_set_hwrm_link_config() 3138 link_req.duplex = bnxt_parse_eth_link_duplex(dev_conf->link_speeds); in bnxt_set_hwrm_link_config()
|
| /f-stack/dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_representor.c | 2475 link.link_autoneg = !(ethdev->data->dev_conf.link_speeds & in ipn3ke_rpst_link_update() 2533 link.link_autoneg = !(rpst->ethdev->data->dev_conf.link_speeds & in ipn3ke_rpst_link_check()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev_vf.c | 808 if (conf->link_speeds & ETH_LINK_SPEED_FIXED) { in hns3vf_dev_configure() 2059 !(eth_dev->data->dev_conf.link_speeds & ETH_LINK_SPEED_FIXED); in hns3vf_dev_link_update()
|
| /f-stack/dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev.c | 437 if (conf->link_speeds & ETH_LINK_SPEED_FIXED) { in octeontx_dev_configure()
|
| /f-stack/dpdk/drivers/net/iavf/ |
| H A D | iavf_ethdev.c | 890 new_link.link_autoneg = !(dev->data->dev_conf.link_speeds & in iavf_dev_link_update()
|
| /f-stack/dpdk/drivers/net/thunderx/ |
| H A D | nicvf_ethdev.c | 1941 if (conf->link_speeds & ETH_LINK_SPEED_FIXED) { in nicvf_dev_configure()
|
| /f-stack/dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.c | 740 link.link_autoneg = !(dev->data->dev_conf.link_speeds & in axgbe_dev_link_update()
|