| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_ethdev.c | 327 info->switch_info.name = dev->data->name; in mlx5_dev_infos_get() 328 info->switch_info.domain_id = priv->domain_id; in mlx5_dev_infos_get() 329 info->switch_info.port_id = priv->representor_id; in mlx5_dev_infos_get() 342 if ((info->switch_info.port_id != 0xffff && in mlx5_dev_infos_get() 343 info->switch_info.port_id >= in mlx5_dev_infos_get() 355 if (info->switch_info.port_id == 0xffff) in mlx5_dev_infos_get() 356 info->switch_info.port_id = 0xfff; in mlx5_dev_infos_get() 357 info->switch_info.port_id |= in mlx5_dev_infos_get() 373 info->switch_info.name = opriv->dev_data->name; in mlx5_dev_infos_get()
|
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_os.c | 716 (uint16_t)switch_info->port_name) in mlx5_dev_spawn() 726 if (!switch_info->representor) in mlx5_dev_spawn() 733 if (!switch_info->representor) in mlx5_dev_spawn() 741 switch_info->port_name); in mlx5_dev_spawn() 807 if (switch_info->master || switch_info->representor) in mlx5_dev_spawn() 950 priv->master = !!switch_info->master; in mlx5_dev_spawn() 962 if (switch_info->representor || switch_info->master) { in mlx5_dev_spawn() 1009 switch_info->port_name + 1 : -1; in mlx5_dev_spawn() 1024 switch_info->port_name + 1 : -1; in mlx5_dev_spawn() 1028 switch_info->port_name : -1; in mlx5_dev_spawn() [all …]
|
| H A D | mlx5_ethdev_os.c | 985 struct mlx5_switch_info *switch_info) in mlx5_sysfs_check_switch_info() argument 987 switch (switch_info->name_type) { in mlx5_sysfs_check_switch_info() 993 switch_info->master = device_dir; in mlx5_sysfs_check_switch_info() 1001 switch_info->master = device_dir; in mlx5_sysfs_check_switch_info() 1005 switch_info->master = 1; in mlx5_sysfs_check_switch_info() 1009 switch_info->representor = !device_dir; in mlx5_sysfs_check_switch_info() 1015 switch_info->representor = 1; in mlx5_sysfs_check_switch_info()
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_switch.c | 5192 vid, hw->switch_info); in ice_get_vsi_promisc() 5247 vid, hw->switch_info); in ice_get_vsi_vlan_promisc() 5361 vid, hw->switch_info); in ice_clear_vsi_promisc() 5498 hw->switch_info); in ice_set_vsi_promisc() 5573 hw->switch_info); in ice_set_vlan_vsi_promisc() 6106 recp = hw->switch_info->recp_list; in ice_find_recp() 6115 hw->switch_info->recp_list, i, in ice_find_recp() 7955 hw->switch_info->prof_res_bm_init = 1; in ice_add_adv_rule() 8120 sw = hw->switch_info; in ice_add_adv_rule() 8359 sw = hw->switch_info; in ice_rem_adv_rule_by_id() [all …]
|
| H A D | ice_common.c | 550 hw->switch_info = (struct ice_switch_info *) in ice_init_fltr_mgmt_struct() 551 ice_malloc(hw, sizeof(*hw->switch_info)); in ice_init_fltr_mgmt_struct() 553 sw = hw->switch_info; in ice_init_fltr_mgmt_struct() 561 status = ice_init_def_sw_recp(hw, &hw->switch_info->recp_list); in ice_init_fltr_mgmt_struct() 563 ice_free(hw, hw->switch_info); in ice_init_fltr_mgmt_struct() 641 ice_cleanup_fltr_mgmt_single(hw, hw->switch_info); in ice_cleanup_fltr_mgmt_struct() 4407 struct ice_switch_info *sw = hw->switch_info; in ice_replay_vsi()
|
| H A D | ice_type.h | 888 struct ice_switch_info *switch_info; /* switch filter lists */ member
|
| H A D | ice_flex_pipe.c | 1430 hw->switch_info->max_used_prof_index = max_prof_index; in ice_get_prof_index_max() 1774 ice_zero_bitmap(hw->switch_info->prof_res_bm[off], in ice_init_prof_result_bm() 1785 hw->switch_info->prof_res_bm[off]); in ice_init_prof_result_bm()
|
| /f-stack/dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_nl.c | 1122 struct mlx5_switch_info *switch_info) in mlx5_nl_check_switch_info() argument 1124 switch (switch_info->name_type) { in mlx5_nl_check_switch_info() 1130 switch_info->master = num_vf_set; in mlx5_nl_check_switch_info() 1138 switch_info->master = num_vf_set; in mlx5_nl_check_switch_info() 1142 switch_info->master = 1; in mlx5_nl_check_switch_info() 1146 switch_info->representor = !num_vf_set; in mlx5_nl_check_switch_info() 1152 switch_info->representor = 1; in mlx5_nl_check_switch_info()
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_vf_representor.c | 101 dev_info->switch_info.name = in i40e_vf_representor_dev_infos_get() 103 dev_info->switch_info.domain_id = representor->switch_domain_id; in i40e_vf_representor_dev_infos_get() 104 dev_info->switch_info.port_id = representor->vf_id; in i40e_vf_representor_dev_infos_get()
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_vf_representor.c | 487 device_info->switch_info.name = pf->rte_dev->device->name; in enic_vf_dev_infos_get() 488 device_info->switch_info.domain_id = vf->switch_domain_id; in enic_vf_dev_infos_get() 489 device_info->switch_info.port_id = vf->vf_id; in enic_vf_dev_infos_get()
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_reps.c | 543 dev_info->switch_info.name = eth_dev->device->name; in bnxt_rep_dev_info_get_op() 544 dev_info->switch_info.domain_id = rep_bp->switch_domain_id; in bnxt_rep_dev_info_get_op() 545 dev_info->switch_info.port_id = in bnxt_rep_dev_info_get_op()
|
| H A D | bnxt_ethdev.c | 967 dev_info->switch_info.name = eth_dev->device->name; in bnxt_dev_info_get_op() 968 dev_info->switch_info.domain_id = bp->switch_domain_id; in bnxt_dev_info_get_op() 969 dev_info->switch_info.port_id = in bnxt_dev_info_get_op()
|
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_ethdev.c | 192 dev_info->switch_info.name = dev->device->driver->name; in sfc_dev_infos_get() 193 dev_info->switch_info.domain_id = mae->switch_domain_id; in sfc_dev_infos_get() 194 dev_info->switch_info.port_id = mae->switch_port_id; in sfc_dev_infos_get()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | config.c | 797 if (dev_info.switch_info.domain_id != in port_infos_display() 799 if (dev_info.switch_info.name) in port_infos_display() 800 printf("Switch name: %s\n", dev_info.switch_info.name); in port_infos_display() 803 dev_info.switch_info.domain_id); in port_infos_display() 805 dev_info.switch_info.port_id); in port_infos_display()
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_ethdev.h | 1558 struct rte_eth_switch_info switch_info; member
|
| H A D | rte_ethdev.c | 3267 dev_info->switch_info.domain_id = RTE_ETH_DEV_SWITCH_DOMAIN_ID_INVALID; in rte_eth_dev_info_get()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 1791 sw = hw->switch_info; in ice_switch_redirect()
|