numam-dpdk/drivers/net/mlx5
Viacheslav Galaktionov ff4e52efb3 ethdev: fix representor port ID search by name
The patch is required for all PMDs which do not provide representors
info on the representor itself.

The function, rte_eth_representor_id_get(), is used in
eth_representor_cmp() which is required in ethdev class iterator to
search ethdev port ID by name (representor case). Before the patch
the function is called on the representor itself and tries to get
representors info to match.

Search of port ID by name is used after hotplug to find out port ID
of the just plugged device.

Getting a list of representors from a representor does not make sense.
Instead, a backer device should be used.

To this end, extend the rte_eth_dev_data structure to include the port ID
of the backing device for representors.

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
Reviewed-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-10-12 16:54:20 +02:00
..
linux ethdev: fix representor port ID search by name 2021-10-12 16:54:20 +02:00
windows ethdev: fix representor port ID search by name 2021-10-12 16:54:20 +02:00
meson.build net/mlx5: export PMD-specific API file 2021-07-22 17:23:26 +02:00
mlx5_defs.h net/mlx5: optimize hash list table allocate on demand 2021-07-15 16:09:22 +02:00
mlx5_devx.c net/mlx5: fix Rx queue timestamp format 2021-06-24 13:19:50 +02:00
mlx5_devx.h net/mlx5: share Tx control code 2020-10-09 13:17:42 +02:00
mlx5_ethdev.c net/mlx5: reduce PCI dependency 2021-07-22 00:11:14 +02:00
mlx5_flow_aso.c net/mlx5: support meter for trTCM profiles 2021-07-22 13:29:01 +02:00
mlx5_flow_dv.c eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
mlx5_flow_meter.c eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
mlx5_flow_verbs.c net/mlx5: fix VXLAN VNI matching on ConnectX-5 2021-08-03 14:43:28 +02:00
mlx5_flow.c net/mlx5: fix RSS expansion traversal over next nodes 2021-09-13 21:56:10 +02:00
mlx5_flow.h ethdev: use extension header for GTP PSC item 2021-09-28 12:34:58 +02:00
mlx5_mac.c net/mlx5: support Sub-Function 2021-07-22 00:11:14 +02:00
mlx5_mr.c mempool: add namespace to flags 2021-10-20 10:00:16 +02:00
mlx5_mr.h net/mlx5: support mempool registration 2021-10-19 16:35:16 +02:00
mlx5_rss.c net/mlx5: separate Rx function declarations to another file 2021-04-15 08:24:49 +02:00
mlx5_rx.c net/mlx5: fix meta register conversion for extensive mode 2021-07-22 16:24:56 +02:00
mlx5_rx.h net/mlx5: support mempool registration 2021-10-19 16:35:16 +02:00
mlx5_rxmode.c net/mlx5: support Sub-Function 2021-07-22 00:11:14 +02:00
mlx5_rxq.c net/mlx5: support mempool registration 2021-10-19 16:35:16 +02:00
mlx5_rxtx_vec_altivec.h net/mlx5: fix meta register conversion for extensive mode 2021-07-22 16:24:56 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix meta register conversion for extensive mode 2021-07-22 16:24:56 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix meta register conversion for extensive mode 2021-07-22 16:24:56 +02:00
mlx5_rxtx_vec.c net/mlx5: fix mbuf replenishment check for zipped CQE 2021-08-19 10:13:40 +02:00
mlx5_rxtx_vec.h net/mlx5: implement vectorized MPRQ burst 2020-11-03 23:24:25 +01:00
mlx5_rxtx.c net/mlx5: separate Tx burst functions to different files 2021-04-15 08:24:59 +02:00
mlx5_rxtx.h net/mlx5: migrate to bus-agnostic common interface 2021-07-22 00:11:14 +02:00
mlx5_stats.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_trigger.c net/mlx5: support mempool registration 2021-10-19 16:35:16 +02:00
mlx5_tx_empw.c net/mlx5: separate Tx burst functions to different files 2021-04-15 08:24:59 +02:00
mlx5_tx_mpw.c net/mlx5: separate Tx burst functions to different files 2021-04-15 08:24:59 +02:00
mlx5_tx_nompw.c net/mlx5: separate Tx burst functions to different files 2021-04-15 08:24:59 +02:00
mlx5_tx_txpp.c net/mlx5: separate Tx burst functions to different files 2021-04-15 08:24:59 +02:00
mlx5_tx.c net/mlx5: separate Tx function implementations to new file 2021-04-15 08:24:58 +02:00
mlx5_tx.h ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
mlx5_txpp.c net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
mlx5_txq.c ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
mlx5_utils.c common/mlx5: move list utility from net driver 2021-07-15 15:19:13 +02:00
mlx5_utils.h common/mlx5: move list utility from net driver 2021-07-15 15:19:13 +02:00
mlx5_vlan.c net/mlx5: separate Rx function declarations to another file 2021-04-15 08:24:49 +02:00
mlx5.c net/mlx5: support mempool registration 2021-10-19 16:35:16 +02:00
mlx5.h net/mlx5: support mempool registration 2021-10-19 16:35:16 +02:00
rte_pmd_mlx5.h net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00