| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_os.c | 952 switch_info->name_type == in mlx5_representor_match() 962 switch_info->name_type == in mlx5_representor_match() 1043 if (!switch_info->representor) in mlx5_dev_spawn() 1048 switch_info->name_type == in mlx5_dev_spawn() 1050 switch_info->port_name); in mlx5_dev_spawn() 1053 if (!switch_info->representor) { in mlx5_dev_spawn() 1059 switch_info->ctrl_num, in mlx5_dev_spawn() 1060 switch_info->pf_num, in mlx5_dev_spawn() 1061 switch_info->name_type == in mlx5_dev_spawn() 1063 switch_info->port_name); in mlx5_dev_spawn() [all …]
|
| H A D | mlx5_ethdev_os.c | 1053 struct mlx5_switch_info *switch_info) in mlx5_sysfs_check_switch_info() argument 1055 switch (switch_info->name_type) { in mlx5_sysfs_check_switch_info() 1061 switch_info->master = device_dir; in mlx5_sysfs_check_switch_info() 1069 switch_info->master = device_dir; in mlx5_sysfs_check_switch_info() 1073 switch_info->master = 1; in mlx5_sysfs_check_switch_info() 1077 switch_info->representor = !device_dir; in mlx5_sysfs_check_switch_info() 1085 switch_info->representor = 1; in mlx5_sysfs_check_switch_info() 1088 switch_info->master = device_dir; in mlx5_sysfs_check_switch_info()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_vf_representor.c | 76 dev_info->switch_info.name = in ixgbe_vf_representor_dev_infos_get() 78 dev_info->switch_info.domain_id = representor->switch_domain_id; in ixgbe_vf_representor_dev_infos_get() 79 dev_info->switch_info.port_id = representor->vf_id; in ixgbe_vf_representor_dev_infos_get()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_ethdev.c | 351 info->switch_info.name = dev->data->name; in mlx5_dev_infos_get() 352 info->switch_info.domain_id = priv->domain_id; in mlx5_dev_infos_get() 353 info->switch_info.port_id = priv->representor_id; in mlx5_dev_infos_get() 354 info->switch_info.rx_domain = 0; /* No sub Rx domains. */ in mlx5_dev_infos_get() 371 info->switch_info.name = opriv->dev_data->name; in mlx5_dev_infos_get()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_switch.c | 5873 vid, hw->switch_info); in ice_get_vsi_promisc() 5928 vid, hw->switch_info); in ice_get_vsi_vlan_promisc() 6042 vid, hw->switch_info); in ice_clear_vsi_promisc() 6179 hw->switch_info); in ice_set_vsi_promisc() 6254 hw->switch_info); in ice_set_vlan_vsi_promisc() 6790 recp = hw->switch_info->recp_list; in ice_find_recp() 6799 hw->switch_info->recp_list, i, in ice_find_recp() 8839 hw->switch_info->prof_res_bm_init = 1; in ice_add_adv_rule() 9009 sw = hw->switch_info; in ice_add_adv_rule() 9248 sw = hw->switch_info; in ice_rem_adv_rule_by_id() [all …]
|
| H A D | ice_common.c | 744 hw->switch_info = (struct ice_switch_info *) in ice_init_fltr_mgmt_struct() 745 ice_malloc(hw, sizeof(*hw->switch_info)); in ice_init_fltr_mgmt_struct() 747 sw = hw->switch_info; in ice_init_fltr_mgmt_struct() 755 status = ice_init_def_sw_recp(hw, &hw->switch_info->recp_list); in ice_init_fltr_mgmt_struct() 757 ice_free(hw, hw->switch_info); in ice_init_fltr_mgmt_struct() 835 ice_cleanup_fltr_mgmt_single(hw, hw->switch_info); in ice_cleanup_fltr_mgmt_struct() 5196 struct ice_switch_info *sw = hw->switch_info; in ice_replay_vsi()
|
| H A D | ice_type.h | 1158 struct ice_switch_info *switch_info; /* switch filter lists */ member
|
| H A D | ice_flex_pipe.c | 1617 hw->switch_info->max_used_prof_index = max_prof_index; in ice_get_prof_index_max() 1961 ice_zero_bitmap(hw->switch_info->prof_res_bm[off], in ice_init_prof_result_bm() 1972 hw->switch_info->prof_res_bm[off]); in ice_init_prof_result_bm()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_vf_representor.c | 203 dev_info->switch_info.name = dcf_hw->eth_dev->device->name; in ice_dcf_vf_repr_dev_info_get() 204 dev_info->switch_info.domain_id = repr->switch_domain_id; in ice_dcf_vf_repr_dev_info_get() 205 dev_info->switch_info.port_id = repr->vf_id; in ice_dcf_vf_repr_dev_info_get()
|
| H A D | ice_dcf_parent.c | 368 hw->switch_info = NULL; in ice_dcf_init_parent_hw() 382 hw->switch_info = NULL; in ice_dcf_uninit_parent_hw()
|
| H A D | ice_switch_filter.c | 1979 sw = hw->switch_info; in ice_switch_redirect()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_vf_representor.c | 106 dev_info->switch_info.name = in i40e_vf_representor_dev_infos_get() 108 dev_info->switch_info.domain_id = representor->switch_domain_id; in i40e_vf_representor_dev_infos_get() 109 dev_info->switch_info.port_id = representor->vf_id; in i40e_vf_representor_dev_infos_get()
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_nl.c | 1243 struct mlx5_switch_info *switch_info) in mlx5_nl_check_switch_info() argument 1245 switch (switch_info->name_type) { in mlx5_nl_check_switch_info() 1251 switch_info->master = num_vf_set; in mlx5_nl_check_switch_info() 1259 switch_info->master = num_vf_set; in mlx5_nl_check_switch_info() 1263 switch_info->master = 1; in mlx5_nl_check_switch_info() 1267 switch_info->representor = !num_vf_set; in mlx5_nl_check_switch_info() 1275 switch_info->representor = 1; in mlx5_nl_check_switch_info()
|
| /dpdk/drivers/net/mlx5/windows/ |
| H A D | mlx5_os.c | 301 const struct mlx5_switch_info *switch_info = &spawn->info; in mlx5_dev_spawn() local 356 priv->representor = !!switch_info->representor; in mlx5_dev_spawn() 357 priv->master = !!switch_info->master; in mlx5_dev_spawn()
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_vf_representor.c | 478 device_info->switch_info.name = pf->rte_dev->device->name; in enic_vf_dev_infos_get() 479 device_info->switch_info.domain_id = vf->switch_domain_id; in enic_vf_dev_infos_get() 480 device_info->switch_info.port_id = vf->vf_id; in enic_vf_dev_infos_get()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_reps.c | 574 dev_info->switch_info.name = eth_dev->device->name; in bnxt_rep_dev_info_get_op() 575 dev_info->switch_info.domain_id = rep_bp->switch_domain_id; in bnxt_rep_dev_info_get_op() 576 dev_info->switch_info.port_id = in bnxt_rep_dev_info_get_op()
|
| H A D | bnxt_ethdev.c | 1027 dev_info->switch_info.name = eth_dev->device->name; in bnxt_dev_info_get_op() 1028 dev_info->switch_info.domain_id = bp->switch_domain_id; in bnxt_dev_info_get_op() 1029 dev_info->switch_info.port_id = in bnxt_dev_info_get_op()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_repr.c | 539 dev_info->switch_info.domain_id = srs->switch_domain_id; in sfc_repr_dev_infos_get() 540 dev_info->switch_info.port_id = srs->switch_port_id; in sfc_repr_dev_infos_get()
|
| H A D | sfc_ethdev.c | 188 dev_info->switch_info.name = dev->device->driver->name; in sfc_dev_infos_get() 189 dev_info->switch_info.domain_id = mae->switch_domain_id; in sfc_dev_infos_get() 190 dev_info->switch_info.port_id = mae->switch_port_id; in sfc_dev_infos_get()
|
| /dpdk/app/test-pmd/ |
| H A D | config.c | 833 if (dev_info.switch_info.domain_id != in port_infos_display() 835 if (dev_info.switch_info.name) in port_infos_display() 836 printf("Switch name: %s\n", dev_info.switch_info.name); in port_infos_display() 839 dev_info.switch_info.domain_id); in port_infos_display() 841 dev_info.switch_info.port_id); in port_infos_display() 844 dev_info.switch_info.rx_domain); in port_infos_display() 3879 if (domain_id != port->dev_info.switch_info.domain_id) in fwd_stream_on_other_lcores() 3940 domain_id = port->dev_info.switch_info.domain_id; in pkt_fwd_shared_rxq_check()
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_representor.c | 101 dev_info->switch_info.name = ethdev->device->name; in ipn3ke_rpst_dev_infos_get() 102 dev_info->switch_info.domain_id = rpst->switch_domain_id; in ipn3ke_rpst_dev_infos_get() 103 dev_info->switch_info.port_id = rpst->port_id; in ipn3ke_rpst_dev_infos_get()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_ethdev.h | 1911 struct rte_eth_switch_info switch_info; member
|
| H A D | rte_ethdev.c | 3121 dev_info->switch_info.domain_id = RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID; in rte_eth_dev_info_get()
|