Home
last modified time | relevance | path

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

12

/dpdk/drivers/net/failsafe/
H A Dfailsafe_ether.c60 ret = rte_flow_isolate(PORT_ID(sdev), in eth_dev_flow_isolate_set()
89 ret = rte_eth_rx_queue_setup(PORT_ID(sdev), i, in fs_eth_dev_conf_apply()
102 ret = rte_eth_tx_queue_setup(PORT_ID(sdev), i, in fs_eth_dev_conf_apply()
115 ret = rte_eth_dev_set_link_up(PORT_ID(sdev)); in fs_eth_dev_conf_apply()
117 ret = rte_eth_dev_set_link_down(PORT_ID(sdev)); in fs_eth_dev_conf_apply()
231 PORT_ID(sdev), vlan_id, 1); in fs_eth_dev_conf_apply()
247 ret = rte_flow_flush(PORT_ID(sdev), &ferror); in fs_eth_dev_conf_apply()
258 rte_flow_create(PORT_ID(sdev), in fs_eth_dev_conf_apply()
285 ret = rte_eth_dev_stop(PORT_ID(sdev)); in fs_dev_remove()
292 ret = rte_eth_dev_close(PORT_ID(sdev)); in fs_dev_remove()
[all …]
H A Dfailsafe_ops.c192 ret = rte_eth_dev_stop(PORT_ID(sdev)); in fs_dev_stop()
195 PORT_ID(sdev)); in fs_dev_stop()
669 PORT_ID(sdev)); in failsafe_eth_dev_close()
712 PORT_ID(sdev)); in fs_promiscuous_enable()
723 PORT_ID(sdev)); in fs_promiscuous_enable()
744 PORT_ID(sdev)); in fs_promiscuous_disable()
755 PORT_ID(sdev)); in fs_promiscuous_disable()
776 PORT_ID(sdev)); in fs_allmulticast_enable()
787 PORT_ID(sdev)); in fs_allmulticast_enable()
808 PORT_ID(sdev)); in fs_allmulticast_disable()
[all …]
H A Dfailsafe_flow.c78 ret = rte_flow_validate(PORT_ID(sdev), in fs_flow_validate()
105 flow->flows[i] = rte_flow_create(PORT_ID(sdev), in fs_flow_create()
119 rte_flow_destroy(PORT_ID(sdev), in fs_flow_create()
147 local_ret = rte_flow_destroy(PORT_ID(sdev), in fs_flow_destroy()
175 ret = rte_flow_flush(PORT_ID(sdev), error); in fs_flow_flush()
203 int ret = rte_flow_query(PORT_ID(sdev), in fs_flow_query()
234 ret = rte_flow_isolate(PORT_ID(sdev), set, error); in fs_flow_isolate()
H A Dfailsafe_intr.c284 pid = PORT_ID(sdev); in failsafe_eth_rx_intr_ctl_subdevice()
342 int ret = rte_eth_dev_rx_intr_enable(PORT_ID(sdev), in failsafe_rx_intr_install_subdevice()
346 "port %d queue %d", PORT_ID(sdev), qid); in failsafe_rx_intr_install_subdevice()
375 rte_eth_dev_rx_intr_disable(PORT_ID(sdev), in failsafe_rx_intr_uninstall_subdevice()
H A Dfailsafe.c235 ret = rte_eth_dev_default_mac_addr_set(PORT_ID(sdev), in fs_eth_dev_create()
H A Dfailsafe_private.h273 #define PORT_ID(sdev) \ macro
/dpdk/drivers/raw/ifpga/base/
H A Difpga_enumerate.c125 } else if (binfo->current_type == PORT_ID) { in build_info_add_sub_feature()
155 if (binfo->current_type != PORT_ID) in feature_is_UAFU()
241 if (binfo->current_type == PORT_ID) { in build_info_commit_dev()
306 } else if (type == PORT_ID) { in build_info_create_dev()
349 ret = build_info_create_dev(binfo, PORT_ID, port_id); in parse_feature_port()
498 case PORT_ID: in parse_feature_private()
H A Difpga_defines.h75 PORT_ID, enumerator
/dpdk/drivers/net/mlx4/
H A Dmlx4.h197 #define PORT_ID(priv) ((priv)->dev_data->port_id) macro
198 #define ETH_DEV(priv) (&rte_eth_devices[PORT_ID(priv)])
H A Dmlx4_txq.c51 struct mlx4_proc_priv *ppriv = MLX4_PROC_PRIV(PORT_ID(priv)); in txq_uar_init()
77 struct mlx4_proc_priv *ppriv = MLX4_PROC_PRIV(PORT_ID(priv)); in txq_uar_init_secondary()
112 struct mlx4_proc_priv *ppriv = MLX4_PROC_PRIV(PORT_ID(txq->priv)); in txq_uar_uninit_secondary()
H A Dmlx4_mr.c1320 PORT_ID(priv), (void *)addr); in mlx4_tx_update_ext_mp()
/dpdk/app/pdump/
H A Dmain.c86 PORT_ID = 1, enumerator
279 pt->dump_by_type = PORT_ID; in parse_pdump()
457 else if (pt->dump_by_type == PORT_ID) in disable_pdump()
842 } else if (pt->dump_by_type == PORT_ID) { in enable_pdump()
857 else if (pt->dump_by_type == PORT_ID) in enable_pdump()
868 else if (pt->dump_by_type == PORT_ID) in enable_pdump()
/dpdk/drivers/net/mlx5/
H A Dmlx5_txq.c46 PORT_ID(txq_ctrl->priv), txq_ctrl->txq.idx, elts_n); in txq_alloc_elts()
68 PORT_ID(txq_ctrl->priv), txq_ctrl->txq.idx); in txq_free_elts()
517 struct mlx5_proc_priv *ppriv = MLX5_PROC_PRIV(PORT_ID(priv)); in txq_uar_init_secondary()
565 struct mlx5_proc_priv *ppriv = MLX5_PROC_PRIV(PORT_ID(txq_ctrl->priv)); in txq_uar_uninit_secondary()
809 PORT_ID(priv), inlen_mode, temp); in txq_set_params()
849 PORT_ID(priv), inlen_send, temp); in txq_set_params()
911 PORT_ID(priv), inlen_empw, temp); in txq_set_params()
H A Dmlx5_tx.c104 PORT_ID(txq_ctrl->priv), txq->idx, in mlx5_tx_error_cqe_handle()
H A Dmlx5_rx.h28 #define RXQ_PORT_ID(rxq_ctrl) PORT_ID(RXQ_PORT(rxq_ctrl))
H A Dmlx5_flow.h1698 if (owner == PORT_ID(priv)) { in flow_aso_ct_get_by_idx()
1707 if (ct->peer != PORT_ID(priv)) in flow_aso_ct_get_by_idx()
H A Dmlx5.h1546 #define PORT_ID(priv) ((priv)->dev_data->port_id) macro
1547 #define ETH_DEV(priv) (&rte_eth_devices[PORT_ID(priv)])
H A Dmlx5_devx.c1266 struct mlx5_proc_priv *ppriv = MLX5_PROC_PRIV(PORT_ID(priv)); in mlx5_txq_devx_obj_new()
/dpdk/doc/guides/prog_guide/
H A Dswitch_representation.rst541 directly and may target a different representor as described in `PORT_ID
597 PORT_ID Pattern Item
607 physical port of a device. ``PORT_ID`` refers to a ``struct rte_eth_dev``
613 PORT_ID Action
618 Same restrictions as `PORT_ID pattern item`_.
630 otherwise similar to `PORT_ID pattern item`_ using PF port ID.
651 otherwise similar to `PORT_ID pattern item`_ using VF port ID.
675 unlike `PORT_ID action`_ and friends, they have no impact on steering.
/dpdk/drivers/net/enic/
H A Denic_fm_flow.c1617 PORT_ID = 1 << 6, in enic_fm_copy_action() enumerator
1798 if (!ingress && (overlap & PORT_ID)) { in enic_fm_copy_action()
1812 overlap |= PORT_ID; in enic_fm_copy_action()
1917 overlap |= PORT_ID; in enic_fm_copy_action()
1930 if (overlap & PORT_ID) { in enic_fm_copy_action()
1940 overlap |= PORT_ID; in enic_fm_copy_action()
1954 if (!(overlap & (FATE | PASSTHRU | COUNT | PORT_ID))) in enic_fm_copy_action()
1973 if ((overlap & PORT_ID) && !steer && ingress) { in enic_fm_copy_action()
/dpdk/doc/guides/rel_notes/
H A Ddeprecation.rst89 * ethdev: Items and actions ``PF``, ``VF``, ``PHY_PORT``, ``PORT_ID`` are
/dpdk/drivers/net/bnx2x/
H A Dbnx2x.h1111 #define PORT_ID(sc) SC_PORT(sc) macro
1787 PORT_ID(sc) : (PATH_ID(sc) + (2 * PORT_ID(sc))))
/dpdk/doc/guides/nics/
H A Dsfc_efx.rst199 - PORT_ID (cannot repeat; conflicts with other traffic source items)
263 - PORT_ID
/dpdk/lib/ethdev/
H A Drte_flow.c105 MK_FLOW_ITEM(PORT_ID, sizeof(struct rte_flow_item_port_id)),
197 MK_FLOW_ACTION(PORT_ID, sizeof(struct rte_flow_action_port_id)),
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_verbs.c915 struct mlx5_proc_priv *ppriv = MLX5_PROC_PRIV(PORT_ID(priv)); in mlx5_txq_ibv_uar_init()

12