Home
last modified time | relevance | path

Searched refs:repr_id (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/net/sfc/
H A Dsfc_repr_proxy_api.h24 int sfc_repr_proxy_add_port(uint16_t pf_port_id, uint16_t repr_id,
27 int sfc_repr_proxy_del_port(uint16_t pf_port_id, uint16_t repr_id);
29 int sfc_repr_proxy_add_rxq(uint16_t pf_port_id, uint16_t repr_id,
32 void sfc_repr_proxy_del_rxq(uint16_t pf_port_id, uint16_t repr_id,
35 int sfc_repr_proxy_add_txq(uint16_t pf_port_id, uint16_t repr_id,
38 void sfc_repr_proxy_del_txq(uint16_t pf_port_id, uint16_t repr_id,
41 int sfc_repr_proxy_start_repr(uint16_t pf_port_id, uint16_t repr_id);
42 int sfc_repr_proxy_stop_repr(uint16_t pf_port_id, uint16_t repr_id);
H A Dsfc_repr_proxy.c71 if (port->repr_id == repr_id) in sfc_repr_proxy_find_port()
704 port->repr_id); in sfc_repr_proxy_mae_rule_insert()
711 port->repr_id); in sfc_repr_proxy_mae_rule_insert()
720 port->repr_id); in sfc_repr_proxy_mae_rule_insert()
1037 port->repr_id); in sfc_repr_proxy_do_start_port()
1320 port->repr_id = repr_id; in sfc_repr_proxy_add_port()
1327 port->repr_id); in sfc_repr_proxy_add_port()
1375 port->repr_id); in sfc_repr_proxy_del_port()
1558 repr_id); in sfc_repr_proxy_start_repr()
1570 repr_id); in sfc_repr_proxy_start_repr()
[all …]
H A Dsfc_repr.c30 uint16_t repr_id; member
267 ret = sfc_repr_proxy_start_repr(srs->pf_port_id, srs->repr_id); in sfc_repr_start()
338 ret = sfc_repr_proxy_stop_repr(srs->pf_port_id, srs->repr_id); in sfc_repr_stop()
564 sfc_repr_ring_create(uint16_t pf_port_id, uint16_t repr_id, in sfc_repr_ring_create() argument
572 pf_port_id, repr_id, type_name, qid); in sfc_repr_ring_create()
646 ret = sfc_repr_ring_create(srs->pf_port_id, srs->repr_id, in sfc_repr_rx_queue_setup()
654 ret = sfc_repr_proxy_add_rxq(srs->pf_port_id, srs->repr_id, in sfc_repr_rx_queue_setup()
745 ret = sfc_repr_ring_create(srs->pf_port_id, srs->repr_id, in sfc_repr_tx_queue_setup()
751 ret = sfc_repr_proxy_add_txq(srs->pf_port_id, srs->repr_id, in sfc_repr_tx_queue_setup()
986 srs->repr_id = srs->switch_port_id; in sfc_repr_eth_dev_init()
[all …]
H A Dsfc_repr_proxy.h64 uint16_t repr_id; member
/dpdk/lib/ethdev/
H A Dethdev_driver.c644 uint16_t *repr_id) in rte_eth_representor_id_get() argument
653 if (repr_id == NULL) in rte_eth_representor_id_get()
661 *repr_id = representor_port; in rte_eth_representor_id_get()
702 *repr_id = info->ranges[i].id_base + in rte_eth_representor_id_get()
712 *repr_id = info->ranges[i].id_base + in rte_eth_representor_id_get()
722 *repr_id = info->ranges[i].id_base + in rte_eth_representor_id_get()
H A Dethdev_driver.h1623 uint16_t *repr_id);
/dpdk/drivers/net/mlx5/
H A Dmlx5.h1639 #define MLX5_REPRESENTOR_REPR(repr_id) \ argument
1640 ((repr_id) & 0xfff)
1641 #define MLX5_REPRESENTOR_TYPE(repr_id) \ argument
1642 (((repr_id) >> 12) & 3)
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c946 uint16_t repr_id = mlx5_representor_id_encode(switch_info, in mlx5_representor_match() local
982 repr_id = mlx5_representor_id_encode(switch_info, in mlx5_representor_match()
989 if (repr_id == id) in mlx5_representor_match()