Home
last modified time | relevance | path

Searched refs:switch_domain_id (Results 1 – 25 of 33) sorted by relevance

12

/dpdk/drivers/net/sfc/
H A Dsfc_switch.c142 sfc_mae_find_switch_domain_by_id(uint16_t switch_domain_id) in sfc_mae_find_switch_domain_by_id() argument
149 if (domain->id == switch_domain_id) in sfc_mae_find_switch_domain_by_id()
157 sfc_mae_switch_ports_iterate(uint16_t switch_domain_id, in sfc_mae_switch_ports_iterate() argument
202 uint16_t *switch_domain_id) in sfc_mae_assign_switch_domain() argument
242 *switch_domain_id = domain->id; in sfc_mae_assign_switch_domain()
421 sfc_mae_assign_switch_port(uint16_t switch_domain_id, in sfc_mae_assign_switch_port() argument
488 sfc_mae_clear_switch_port(uint16_t switch_domain_id, in sfc_mae_clear_switch_port() argument
540 sfc_mae_switch_get_ethdev_mport(uint16_t switch_domain_id, in sfc_mae_switch_get_ethdev_mport() argument
548 rc = sfc_mae_find_switch_port_by_ethdev(switch_domain_id, in sfc_mae_switch_get_ethdev_mport()
571 sfc_mae_switch_get_entity_mport(uint16_t switch_domain_id, in sfc_mae_switch_get_entity_mport() argument
[all …]
H A Dsfc_switch.h69 int sfc_mae_switch_ports_iterate(uint16_t switch_domain_id,
74 uint16_t *switch_domain_id);
76 int sfc_mae_switch_domain_controllers(uint16_t switch_domain_id,
90 int sfc_mae_switch_domain_get_controller(uint16_t switch_domain_id,
94 int sfc_mae_switch_domain_get_intf(uint16_t switch_domain_id,
98 int sfc_mae_assign_switch_port(uint16_t switch_domain_id,
102 int sfc_mae_clear_switch_port(uint16_t switch_domain_id,
105 int sfc_mae_switch_get_ethdev_mport(uint16_t switch_domain_id,
109 int sfc_mae_switch_get_entity_mport(uint16_t switch_domain_id,
113 int sfc_mae_switch_port_id_by_entity(uint16_t switch_domain_id,
[all …]
H A Dsfc_repr.c31 uint16_t switch_domain_id; member
539 dev_info->switch_info.domain_id = srs->switch_domain_id; in sfc_repr_dev_infos_get()
902 uint16_t switch_domain_id; member
910 sfc_repr_assign_mae_switch_port(uint16_t switch_domain_id, in sfc_repr_assign_mae_switch_port() argument
916 rc = sfc_mae_assign_switch_port(switch_domain_id, req, switch_port_id); in sfc_repr_assign_mae_switch_port()
948 ret = sfc_repr_assign_mae_switch_port(repr_data->switch_domain_id, in sfc_repr_eth_dev_init()
954 __func__, repr_data->switch_domain_id); in sfc_repr_eth_dev_init()
987 srs->switch_domain_id = repr_data->switch_domain_id; in sfc_repr_eth_dev_init()
1025 uint16_t switch_domain_id, in sfc_repr_create() argument
1036 rc = sfc_mae_switch_domain_get_controller(switch_domain_id, in sfc_repr_create()
[all …]
H A Dsfc_ethdev.c189 dev_info->switch_info.domain_id = mae->switch_domain_id; in sfc_dev_infos_get()
1914 uint16_t switch_domain_id; member
2105 ctx.switch_domain_id = sa->mae.switch_domain_id; in sfc_process_mport_journal()
2165 uint16_t switch_domain_id; member
2237 uint16_t switch_domain_id; in sfc_representor_info_get() local
2256 switch_domain_id = sa->mae.switch_domain_id; in sfc_representor_info_get()
2259 rc = sfc_mae_switch_ports_iterate(switch_domain_id, in sfc_representor_info_get()
2297 get_repr_ctx.switch_domain_id = switch_domain_id; in sfc_representor_info_get()
2298 rc = sfc_mae_switch_ports_iterate(switch_domain_id, in sfc_representor_info_get()
3084 uint16_t switch_domain_id; in sfc_eth_dev_create_representors() local
[all …]
H A Dsfc_repr.h38 uint16_t switch_domain_id,
H A Dsfc_mae.h212 uint16_t switch_domain_id; member
H A Dsfc_mae.c262 rc = sfc_mae_assign_switch_domain(sa, &mae->switch_domain_id); in sfc_mae_attach()
273 rc = sfc_mae_assign_switch_port(mae->switch_domain_id, in sfc_mae_attach()
1531 rc = sfc_mae_switch_get_ethdev_mport(ctx_mae->sa->mae.switch_domain_id, in sfc_mae_rule_parse_item_port_id()
1593 ctx_mae->sa->mae.switch_domain_id, in sfc_mae_rule_parse_item_ethdev_based()
1603 ctx_mae->sa->mae.switch_domain_id, in sfc_mae_rule_parse_item_ethdev_based()
3739 rc = sfc_mae_switch_get_ethdev_mport(mae->switch_domain_id, in sfc_mae_rule_parse_action_port_id()
3765 rc = sfc_mae_switch_get_ethdev_mport(mae->switch_domain_id, in sfc_mae_rule_parse_action_port_representor()
3791 rc = sfc_mae_switch_get_entity_mport(mae->switch_domain_id, in sfc_mae_rule_parse_action_represented_port()
/dpdk/drivers/net/ice/
H A Dice_dcf_ethdev.h46 uint16_t switch_domain_id; member
61 uint16_t switch_domain_id; member
H A Dice_dcf_vf_representor.c204 dev_info->switch_info.domain_id = repr->switch_domain_id; in ice_dcf_vf_repr_dev_info_get()
415 repr->switch_domain_id = param->switch_domain_id; in ice_dcf_vf_repr_init()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_vf_representor.c78 dev_info->switch_info.domain_id = representor->switch_domain_id; in ixgbe_vf_representor_dev_infos_get()
188 representor->switch_domain_id = in ixgbe_vf_representor_init()
189 ((struct ixgbe_vf_representor *)init_params)->switch_domain_id; in ixgbe_vf_representor_init()
H A Dixgbe_ethdev.h266 uint16_t switch_domain_id; member
515 uint16_t switch_domain_id; member
H A Dixgbe_pf.c95 ret = rte_eth_switch_domain_alloc(&(*vfinfo)->switch_domain_id); in ixgbe_pf_host_init()
154 ret = rte_eth_switch_domain_free((*vfinfo)->switch_domain_id); in ixgbe_pf_host_uninit()
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_ethdev.c400 ret = rte_eth_switch_domain_alloc(&hw->switch_domain_id); in ipn3ke_hw_init()
511 .switch_domain_id = hw->switch_domain_id, in ipn3ke_vswitch_probe()
566 ret = rte_eth_switch_domain_free(hw->switch_domain_id); in ipn3ke_vswitch_remove()
H A Dipn3ke_ethdev.h230 uint16_t switch_domain_id; member
278 uint16_t switch_domain_id; member
/dpdk/drivers/net/enic/
H A Denic_vf_representor.c479 device_info->switch_info.domain_id = vf->switch_domain_id; in enic_vf_dev_infos_get()
620 vf->switch_domain_id = params->switch_domain_id; in enic_vf_representor_init()
702 vf_enic->switch_domain_id = vf->switch_domain_id; in enic_vf_representor_init()
H A Denic.h200 uint16_t switch_domain_id; member
220 uint16_t switch_domain_id; member
H A Denic_ethdev.c1296 err = rte_eth_switch_domain_free(enic->switch_domain_id); in eth_enic_dev_uninit()
1356 representor.switch_domain_id = in eth_enic_pci_probe()
1357 pmd_priv(pf_ethdev)->switch_domain_id; in eth_enic_pci_probe()
H A Denic_fm_flow.c1593 if (enic->switch_domain_id != pmd_priv(dev)->switch_domain_id) { in enic_fm_check_transfer_dst()
3383 prev->switch_domain_id); in enic_fm_allocate_switch_domain()
3384 cur->switch_domain_id = prev->switch_domain_id; in enic_fm_allocate_switch_domain()
3393 cur->switch_domain_id = domain_id; in enic_fm_allocate_switch_domain()
/dpdk/drivers/net/i40e/
H A Di40e_vf_representor.c108 dev_info->switch_info.domain_id = representor->switch_domain_id; in i40e_vf_representor_dev_infos_get()
489 representor->switch_domain_id = in i40e_vf_representor_init()
490 ((struct i40e_vf_representor *)init_params)->switch_domain_id; in i40e_vf_representor_init()
H A Di40e_ethdev.h1189 uint16_t switch_domain_id; member
1263 uint16_t switch_domain_id; member
/dpdk/drivers/net/bnxt/
H A Dbnxt_reps.c182 vf_rep_bp->switch_domain_id = rep_params->switch_domain_id; in bnxt_representor_init()
221 vf_rep_bp->switch_domain_id, vf_rep_bp->vf_id); in bnxt_representor_init()
575 dev_info->switch_info.domain_id = rep_bp->switch_domain_id; in bnxt_rep_dev_info_get_op()
H A Dbnxt.h841 uint16_t switch_domain_id; member
917 uint16_t switch_domain_id; member
/dpdk/drivers/net/ngbe/
H A Dngbe_pf.c78 ret = rte_eth_switch_domain_alloc(&(*vfinfo)->switch_domain_id); in ngbe_pf_host_init()
126 ret = rte_eth_switch_domain_free((*vfinfo)->switch_domain_id); in ngbe_pf_host_uninit()
H A Dngbe_ethdev.h114 uint16_t switch_domain_id; member
/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c92 ret = rte_eth_switch_domain_alloc(&(*vfinfo)->switch_domain_id); in txgbe_pf_host_init()
152 ret = rte_eth_switch_domain_free((*vfinfo)->switch_domain_id); in txgbe_pf_host_uninit()

12