Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_switch.c134 sfc_mae_find_switch_domain_by_id(uint16_t switch_domain_id) in sfc_mae_find_switch_domain_by_id() argument
141 if (domain->id == switch_domain_id) in sfc_mae_find_switch_domain_by_id()
166 uint16_t *switch_domain_id) in sfc_mae_assign_switch_domain() argument
206 *switch_domain_id = domain->id; in sfc_mae_assign_switch_domain()
243 sfc_mae_assign_switch_port(uint16_t switch_domain_id, in sfc_mae_assign_switch_port() argument
253 domain = sfc_mae_find_switch_domain_by_id(switch_domain_id); in sfc_mae_assign_switch_port()
295 sfc_mae_find_switch_port_by_ethdev(uint16_t switch_domain_id, in sfc_mae_find_switch_port_by_ethdev() argument
307 domain = sfc_mae_find_switch_domain_by_id(switch_domain_id); in sfc_mae_find_switch_port_by_ethdev()
322 sfc_mae_switch_port_by_ethdev(uint16_t switch_domain_id, in sfc_mae_switch_port_by_ethdev() argument
329 rc = sfc_mae_find_switch_port_by_ethdev(switch_domain_id, in sfc_mae_switch_port_by_ethdev()
H A Dsfc_switch.h40 uint16_t *switch_domain_id);
42 int sfc_mae_assign_switch_port(uint16_t switch_domain_id,
46 int sfc_mae_switch_port_by_ethdev(uint16_t switch_domain_id,
H A Dsfc_mae.h63 uint16_t switch_domain_id; member
H A Dsfc_mae.c64 rc = sfc_mae_assign_switch_domain(sa, &mae->switch_domain_id); in sfc_mae_attach()
77 rc = sfc_mae_assign_switch_port(mae->switch_domain_id, in sfc_mae_attach()
614 rc = sfc_mae_switch_port_by_ethdev(ctx_mae->sa->mae.switch_domain_id, in sfc_mae_rule_parse_item_port_id()
2006 rc = sfc_mae_switch_port_by_ethdev(mae->switch_domain_id, in sfc_mae_rule_parse_action_port_id()
H A Dsfc_ethdev.c193 dev_info->switch_info.domain_id = mae->switch_domain_id; in sfc_dev_infos_get()
/f-stack/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.h271 uint16_t switch_domain_id; member
521 uint16_t switch_domain_id; member
H A Dixgbe_pf.c97 ret = rte_eth_switch_domain_alloc(&(*vfinfo)->switch_domain_id); in ixgbe_pf_host_init()
157 ret = rte_eth_switch_domain_free((*vfinfo)->switch_domain_id); in ixgbe_pf_host_uninit()
H A Dixgbe_ethdev.c1746 representor.switch_domain_id = vfinfo->switch_domain_id; in eth_ixgbe_pci_probe()
/f-stack/dpdk/drivers/net/enic/
H A Denic_vf_representor.c488 device_info->switch_info.domain_id = vf->switch_domain_id; in enic_vf_dev_infos_get()
629 vf->switch_domain_id = params->switch_domain_id; in enic_vf_representor_init()
711 vf_enic->switch_domain_id = vf->switch_domain_id; in enic_vf_representor_init()
H A Denic.h217 uint16_t switch_domain_id; member
237 uint16_t switch_domain_id; member
H A Denic_ethdev.c1284 err = rte_eth_switch_domain_free(enic->switch_domain_id); in eth_enic_dev_uninit()
1338 representor.switch_domain_id = in eth_enic_pci_probe()
1339 pmd_priv(pf_ethdev)->switch_domain_id; in eth_enic_pci_probe()
H A Denic_fm_flow.c1457 if (enic->switch_domain_id != in enic_fm_copy_action()
1458 pmd_priv(dev)->switch_domain_id) { in enic_fm_copy_action()
2991 prev->switch_domain_id); in enic_fm_allocate_switch_domain()
2992 cur->switch_domain_id = prev->switch_domain_id; in enic_fm_allocate_switch_domain()
3001 cur->switch_domain_id = domain_id; in enic_fm_allocate_switch_domain()
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_ethdev.c400 ret = rte_eth_switch_domain_alloc(&hw->switch_domain_id); in ipn3ke_hw_init()
512 .switch_domain_id = hw->switch_domain_id, in ipn3ke_vswitch_probe()
569 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
H A Dipn3ke_representor.c102 dev_info->switch_info.domain_id = rpst->switch_domain_id; in ipn3ke_rpst_dev_infos_get()
2929 rpst->switch_domain_id = representor_param->switch_domain_id; in ipn3ke_rpst_init()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_vf_representor.c103 dev_info->switch_info.domain_id = representor->switch_domain_id; in i40e_vf_representor_dev_infos_get()
484 representor->switch_domain_id = in i40e_vf_representor_init()
485 ((struct i40e_vf_representor *)init_params)->switch_domain_id; in i40e_vf_representor_init()
H A Di40e_ethdev.h1175 uint16_t switch_domain_id; member
1299 uint16_t switch_domain_id; member
H A Di40e_ethdev.c661 .switch_domain_id = I40E_DEV_PRIVATE_TO_PF( in eth_i40e_pci_probe()
662 pf_ethdev->data->dev_private)->switch_domain_id, in eth_i40e_pci_probe()
2627 ret = rte_eth_switch_domain_free(pf->switch_domain_id); in i40e_dev_close()
6244 ret = rte_eth_switch_domain_alloc(&pf->switch_domain_id); in i40e_pf_setup()
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_reps.c178 vf_rep_bp->switch_domain_id = rep_params->switch_domain_id; in bnxt_representor_init()
217 vf_rep_bp->switch_domain_id, vf_rep_bp->vf_id); in bnxt_representor_init()
544 dev_info->switch_info.domain_id = rep_bp->switch_domain_id; in bnxt_rep_dev_info_get_op()
H A Dbnxt.h802 uint16_t switch_domain_id; member
832 uint16_t switch_domain_id; member
H A Dbnxt_ethdev.c968 dev_info->switch_info.domain_id = bp->switch_domain_id; in bnxt_dev_info_get_op()
1355 if (bp->switch_domain_id) { in bnxt_free_switch_domain()
1356 rc = rte_eth_switch_domain_free(bp->switch_domain_id); in bnxt_free_switch_domain()
1359 bp->switch_domain_id, rc); in bnxt_free_switch_domain()
5181 rc = rte_eth_switch_domain_alloc(&bp->switch_domain_id); in bnxt_alloc_switch_domain()
5188 bp->switch_domain_id); in bnxt_alloc_switch_domain()
5554 .switch_domain_id = backing_bp->switch_domain_id, in bnxt_rep_port_probe()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.h108 uint16_t switch_domain_id; member
H A Dtxgbe_pf.c92 ret = rte_eth_switch_domain_alloc(&(*vfinfo)->switch_domain_id); in txgbe_pf_host_init()
153 ret = rte_eth_switch_domain_free((*vfinfo)->switch_domain_id); in txgbe_pf_host_uninit()