| /f-stack/dpdk/drivers/net/failsafe/ |
| H A D | failsafe_ether.c | 60 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 D | failsafe_ops.c | 192 ret = rte_eth_dev_stop(PORT_ID(sdev)); in fs_dev_stop() 195 PORT_ID(sdev)); in fs_dev_stop() 672 PORT_ID(sdev)); in failsafe_eth_dev_close() 715 PORT_ID(sdev)); in fs_promiscuous_enable() 726 PORT_ID(sdev)); in fs_promiscuous_enable() 747 PORT_ID(sdev)); in fs_promiscuous_disable() 758 PORT_ID(sdev)); in fs_promiscuous_disable() 779 PORT_ID(sdev)); in fs_allmulticast_enable() 790 PORT_ID(sdev)); in fs_allmulticast_enable() 811 PORT_ID(sdev)); in fs_allmulticast_disable() [all …]
|
| H A D | failsafe_flow.c | 78 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 D | failsafe_intr.c | 284 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 D | failsafe.c | 235 ret = rte_eth_dev_default_mac_addr_set(PORT_ID(sdev), in fs_eth_dev_create()
|
| H A D | failsafe_private.h | 273 #define PORT_ID(sdev) \ macro
|
| /f-stack/dpdk/drivers/raw/ifpga/base/ |
| H A D | ifpga_enumerate.c | 125 } 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 D | ifpga_defines.h | 75 PORT_ID, enumerator
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_txq.c | 44 PORT_ID(txq_ctrl->priv), txq_ctrl->txq.idx, elts_n); in txq_alloc_elts() 66 PORT_ID(txq_ctrl->priv), txq_ctrl->txq.idx); in txq_free_elts() 487 PORT_ID(priv), txq->idx); in mlx5_tx_queue_release() 527 struct mlx5_proc_priv *ppriv = MLX5_PROC_PRIV(PORT_ID(priv)); in txq_uar_init() 569 struct mlx5_proc_priv *ppriv = MLX5_PROC_PRIV(PORT_ID(priv)); in txq_uar_init_secondary() 614 struct mlx5_proc_priv *ppriv = MLX5_PROC_PRIV(PORT_ID(txq_ctrl->priv)); in txq_uar_uninit_secondary() 848 PORT_ID(priv), inlen_mode, temp); in txq_set_params() 888 PORT_ID(priv), inlen_send, temp); in txq_set_params() 950 PORT_ID(priv), inlen_empw, temp); in txq_set_params()
|
| H A D | mlx5_rxq.c | 221 PORT_ID(rxq_ctrl->priv)); in rxq_alloc_elts_sprq() 268 PORT_ID(rxq_ctrl->priv), rxq_ctrl->rxq.idx, elts_n, in rxq_alloc_elts_sprq() 280 PORT_ID(rxq_ctrl->priv), rxq_ctrl->rxq.idx); in rxq_alloc_elts_sprq() 353 PORT_ID(rxq_ctrl->priv), rxq->idx, q_n); in rxq_free_elts_sprq() 882 PORT_ID(priv), rxq->idx); in mlx5_rx_queue_release()
|
| H A D | mlx5_mr.c | 485 PORT_ID(priv), (void *)addr); in mlx5_tx_update_ext_mp()
|
| H A D | mlx5.h | 1012 #define PORT_ID(priv) ((priv)->dev_data->port_id) macro 1013 #define ETH_DEV(priv) (&rte_eth_devices[PORT_ID(priv)])
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4.h | 197 #define PORT_ID(priv) ((priv)->dev_data->port_id) macro 198 #define ETH_DEV(priv) (&rte_eth_devices[PORT_ID(priv)])
|
| H A D | mlx4_txq.c | 51 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 D | mlx4_mr.c | 1326 PORT_ID(priv), (void *)addr); in mlx4_tx_update_ext_mp()
|
| /f-stack/dpdk/app/pdump/ |
| H A D | main.c | 86 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() 847 } else if (pt->dump_by_type == PORT_ID) { in enable_pdump() 862 else if (pt->dump_by_type == PORT_ID) in enable_pdump() 873 else if (pt->dump_by_type == PORT_ID) in enable_pdump()
|
| /f-stack/freebsd/contrib/openzfs/cmd/vdev_id/ |
| H A D | vdev_id | 443 PORT_ID=$(echo $PORT_DIR | grep -Eo "[0-9]+$") 454 \$3 == \"$PORT_ID\") {print \$4int(count[\$4])}; count[\$4]++}" $CONFIG)
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | switch_representation.rst | 515 directly and may target a different representor as described in `PORT_ID 571 PORT_ID Pattern Item 581 physical port of a device. ``PORT_ID`` refers to a ``struct rte_eth_dev`` 587 PORT_ID Action 592 Same restrictions as `PORT_ID pattern item`_. 604 otherwise similar to `PORT_ID pattern item`_ using PF port ID. 625 otherwise similar to `PORT_ID pattern item`_ using VF port ID. 649 unlike `PORT_ID action`_ and friends, they have no impact on steering.
|
| H A D | rte_flow.rst | 601 Item: ``PORT_ID`` 611 physical port of a device, whereas `Item: PORT_ID`_ refers to a ``struct 619 .. table:: PORT_ID 1899 Action: ``PORT_ID`` 1903 See `Item: PORT_ID`_. 1907 .. table:: PORT_ID
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | cmdline_flow.c | 54 PORT_ID, enumerator 1826 [PORT_ID] = { 1914 .next = NEXT(next_vc_attr, NEXT_ENTRY(PORT_ID)), 1935 .next = NEXT(NEXT_ENTRY(PORT_ID)), 1952 NEXT_ENTRY(PORT_ID)), 1976 NEXT_ENTRY(PORT_ID)), 1993 NEXT_ENTRY(PORT_ID)), 2008 NEXT_ENTRY(PORT_ID)), 2022 .next = NEXT(NEXT_ENTRY(PORT_ID)), 2211 .priv = PRIV_ITEM(PORT_ID, [all …]
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | sfc_efx.rst | 193 - PORT_ID (cannot repeat; conflicts with other traffic source items) 241 - PORT_ID
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_fm_flow.c | 1259 PORT_ID = 1 << 6, in enic_fm_copy_action() enumerator 1436 if (!ingress && (overlap & PORT_ID)) { in enic_fm_copy_action() 1464 overlap |= PORT_ID; in enic_fm_copy_action() 1564 if (!(overlap & (FATE | PASSTHRU | COUNT | PORT_ID))) in enic_fm_copy_action() 1583 if ((overlap & PORT_ID) && !steer && ingress) { in enic_fm_copy_action()
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x.h | 1111 #define PORT_ID(sc) SC_PORT(sc) macro 1787 PORT_ID(sc) : (PATH_ID(sc) + (2 * PORT_ID(sc))))
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_flow.c | 51 MK_FLOW_ITEM(PORT_ID, sizeof(struct rte_flow_item_port_id)), 124 MK_FLOW_ACTION(PORT_ID, sizeof(struct rte_flow_action_port_id)),
|
| /f-stack/dpdk/drivers/net/axgbe/ |
| H A D | axgbe_phy_impl.c | 2081 phy_data->port_id = XP_GET_BITS(reg, XP_PROP_0, PORT_ID); in axgbe_phy_init()
|