Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/i40e/
H A Di40e_vf_representor.c277 representor->vf_id, &representor->stats_offset); in i40e_vf_representor_stats_reset()
287 representor->vf_id, 1); in i40e_vf_representor_promiscuous_enable()
297 representor->vf_id, 0); in i40e_vf_representor_promiscuous_disable()
307 representor->vf_id, 1); in i40e_vf_representor_allmulticast_enable()
317 representor->vf_id, 0); in i40e_vf_representor_allmulticast_disable()
338 representor->vf_id, mac_addr); in i40e_vf_representor_mac_addr_set()
364 vfid = representor->vf_id; in i40e_vf_representor_vlan_offload_set()
414 representor->vf_id, on); in i40e_vf_representor_vlan_strip_queue_set()
425 representor->vf_id, vlan_id); in i40e_vf_representor_vlan_pvid_set()
482 representor->vf_id = in i40e_vf_representor_init()
[all …]
H A Di40e_ethdev.c659 struct i40e_vf_representor representor = { in eth_i40e_pci_probe() local
673 i40e_vf_representor_init, &representor); in eth_i40e_pci_probe()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_vf_representor.c34 representor->pf_ethdev->data->port_id, in ixgbe_vf_representor_mac_addr_set()
35 representor->vf_id, mac_addr); in ixgbe_vf_representor_mac_addr_set()
45 representor->pf_ethdev->data->dev_private); in ixgbe_vf_representor_dev_infos_get()
77 representor->pf_ethdev->device->name; in ixgbe_vf_representor_dev_infos_get()
139 representor->vf_id, on); in ixgbe_vf_representor_vlan_strip_queue_set()
183 if (!representor) in ixgbe_vf_representor_init()
186 representor->vf_id = in ixgbe_vf_representor_init()
188 representor->switch_domain_id = in ixgbe_vf_representor_init()
190 representor->pf_ethdev = in ixgbe_vf_representor_init()
195 if (representor->vf_id >= pci_dev->max_vfs) in ixgbe_vf_representor_init()
[all …]
H A Dixgbe_ethdev.c1735 struct ixgbe_vf_representor representor; in eth_ixgbe_pci_probe() local
1745 representor.vf_id = eth_da.representor_ports[i]; in eth_ixgbe_pci_probe()
1746 representor.switch_domain_id = vfinfo->switch_domain_id; in eth_ixgbe_pci_probe()
1747 representor.pf_ethdev = pf_ethdev; in eth_ixgbe_pci_probe()
1756 ixgbe_vf_representor_init, &representor); in eth_ixgbe_pci_probe()
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c726 if (!switch_info->representor) in mlx5_dev_spawn()
733 if (!switch_info->representor) in mlx5_dev_spawn()
949 priv->representor = !!switch_info->representor; in mlx5_dev_spawn()
1023 priv->vport_id = switch_info->representor ? in mlx5_dev_spawn()
1363 if (priv->representor) { in mlx5_dev_spawn()
1643 ret = si_b->representor - si_a->representor; in mlx5_dev_spawn_data_cmp()
1647 if (!si_a->representor) in mlx5_dev_spawn_data_cmp()
1958 if (ret || (!list[ns].info.representor && in mlx5_os_pci_probe()
1988 if (!ret && (list[ns].info.representor ^ in mlx5_os_pci_probe()
2085 if (!ret && (list[ns].info.representor ^ in mlx5_os_pci_probe()
[all …]
H A Dmlx5_ethdev_os.c160 if (!priv->representor) in mlx5_get_ifname()
326 MLX5_ASSERT(priv->representor); in mlx5_find_master_dev()
378 if (ret == -ENOTSUP && priv->representor) { in mlx5_link_update_unlocked_gset()
472 if (ret == -ENOTSUP && priv->representor) { in mlx5_link_update_unlocked_gs()
1009 switch_info->representor = !device_dir; in mlx5_sysfs_check_switch_info()
1015 switch_info->representor = 1; in mlx5_sysfs_check_switch_info()
1040 .representor = 0, in mlx5_sysfs_switch_info()
1098 MLX5_ASSERT(!(data.master && data.representor)); in mlx5_sysfs_switch_info()
1099 if (data.master && data.representor) { in mlx5_sysfs_switch_info()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_ethdev.c330 if (priv->representor) { in mlx5_dev_infos_get()
365 opriv->representor || in mlx5_dev_infos_get()
553 if (!(priv->representor || priv->master)) { in mlx5_port_to_eswitch_info()
580 if (!(priv->representor || priv->master)) { in mlx5_dev_to_eswitch_info()
H A Dmlx5_mac.c162 if (priv->representor && priv->representor_id >= 0) { in mlx5_mac_addr_set()
H A Dmlx5_rxq.c906 if (priv->representor) in mlx5_rx_intr_vec_enable()
989 if (priv->representor) in mlx5_rx_intr_vec_disable()
H A Dmlx5.h946 unsigned int representor:1; /* Device is a port representor. */ member
H A Dmlx5_flow_dv.c2060 if (!attr->transfer && priv->representor) in flow_dv_validate_action_pop_vlan()
2168 if (!attr->transfer && priv->representor) in flow_dv_validate_action_push_vlan()
2600 if (!attr->transfer && priv->representor) in flow_dv_validate_action_l2_encap()
2654 if (!attr->transfer && priv->representor) in flow_dv_validate_action_decap()
2744 if (!attr->transfer && priv->representor) in flow_dv_validate_action_raw_encap_decap()
5169 if (!(priv->representor || priv->master)) in flow_dv_validate_attributes()
10526 (priv->representor || priv->master)) { in flow_dv_translate()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dswitch_representation.rst62 -a pci:dbdf,representor=0
63 -a pci:dbdf,representor=[0-3]
64 -a pci:dbdf,representor=[0,5-11]
305 - **B**: port representor for VF 1.
306 - **C**: port representor for VF 2.
360 deemed flexible enough to manage representor traffic only with minor
373 (e.g. VF representor in addition to a physical port).
512 In this case, traffic is received by default through the representor and
514 are necessary. They simply have to be created on the representor port
515 directly and may target a different representor as described in `PORT_ID
[all …]
H A Dpoll_mode_drv.rst373 * ``representor`` for a device which supports the creation of representor ports
377 -a DBDF,representor=0
378 -a DBDF,representor=[0,4,6,9]
379 -a DBDF,representor=[0-31]
H A Drte_flow.rst613 representor" depending on the kind of underlying device).
/f-stack/dpdk/doc/guides/nics/
H A Dbnxt.rst711 and monitoring of BNXT virtual function devices. Each port representor
715 sent to a representor will be received by the VF. Applications can take
724 ``devargs`` option ``representor``.::
726 -a DBDF,representor=[0,1,4]
728 Note that currently hot-plugging of representor ports is not supported so all
741 * rep_is_vf - false to indicate VF representor
742 * rep_is_pf - true to indicate PF representor
746 * rep_fc_r2f - Flow control for the representor to endpoint direction
747 * rep_fc_f2r - Flow control for the endpoint to representor direction
751 -a 0000:06:02.0,host-based-truflow=1,representor=[1],rep-based-pf=8,\
[all …]
H A Dixgbe.rst274 and monitoring of IXGBE virtual function devices. Each port representor
276 option ``representor`` the user can specify which virtual functions to create
280 -a DBDF,representor=[0,1,4]
282 Currently hot-plugging of representor ports is not supported so all required
H A Di40e.rst201 and monitoring of i40e virtual function devices. Each port representor
203 option ``representor`` the user can specify which virtual functions to create
207 -a DBDF,representor=[0,1,4]
209 Currently hot-plugging of representor ports is not supported so all required
H A Dmlx5.rst874 - ``representor`` parameter [list]
884 representor=[0-2]
1256 Switchdev mode is a mode in E-Switch, that binds between representor and VF.
1259 will be received by the corresponding representor. While each packet that is
1260 sent to a representor will be received by the VF.
/f-stack/dpdk/drivers/net/enic/
H A Denic_ethdev.c1335 struct enic_vf_representor representor; in eth_enic_pci_probe() local
1337 representor.vf_id = eth_da.representor_ports[i]; in eth_enic_pci_probe()
1338 representor.switch_domain_id = in eth_enic_pci_probe()
1340 representor.pf = pmd_priv(pf_ethdev); in eth_enic_pci_probe()
1345 enic_vf_representor_init, &representor); in eth_enic_pci_probe()
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_nl.c1146 switch_info->representor = !num_vf_set; in mlx5_nl_check_switch_info()
1152 switch_info->representor = 1; in mlx5_nl_check_switch_info()
1173 .representor = 0, in mlx5_nl_switch_info_cb()
1213 MLX5_ASSERT(!(info.master && info.representor)); in mlx5_nl_switch_info_cb()
1267 if (info->master && info->representor) { in mlx5_nl_switch_info()
/f-stack/dpdk/drivers/common/mlx5/
H A Dmlx5_common.h162 uint32_t representor:1; /**< Representor device. */ member
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c5552 struct bnxt_representor representor = { in bnxt_rep_port_probe() local
5558 if (representor.vf_id >= BNXT_MAX_VF_REPS) { in bnxt_rep_port_probe()
5560 representor.vf_id, BNXT_MAX_VF_REPS); in bnxt_rep_port_probe()
5577 (void *)&representor); in bnxt_rep_port_probe()
5590 (void *)&representor); in bnxt_rep_port_probe()
5602 (void *)&representor); in bnxt_rep_port_probe()
5614 (void *)&representor); in bnxt_rep_port_probe()
5626 (void *)&representor); in bnxt_rep_port_probe()
5638 (void *)&representor); in bnxt_rep_port_probe()
5649 &representor); in bnxt_rep_port_probe()
[all …]
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c615 struct ipn3ke_rpst *representor = IPN3KE_DEV_PRIVATE_TO_RPST(dev); in ipn3ke_tm_node_capabilities_get() local
641 if (tm_node->tm_id != representor->port_id) in ipn3ke_tm_node_capabilities_get()
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_19_05.rst149 * Added support for new naming scheme of representor.
H A Drelease_18_05.rst626 ixgbe PMD uninit path cause null pointer dereference because of port representor