numam-dpdk/drivers/net/mlx5
Viacheslav Ovsiienko fa2e14d492 net/mlx5: cache associated network device index
The associated device index is retrieved via Netlink request to
underlying Infiniband device driver. This network device index
is permanent throughout the lifetime of device. We do not
spawn the rte_eth_dev ports without associated network device, and
if network device is being unbound we get the remove notification
message and rte_eth_dev port is also detached. So, we may store
the ifindex in mlx5_device_spawn() routine at rte_eth_dev port
creation and initialization time and use the cached value further
instead of doing actual Netlink request.

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2019-07-23 14:31:36 +02:00
..
Makefile net/mlx5: accelerate DV flow counter query 2019-07-23 14:31:35 +02:00
meson.build net/mlx5: accelerate DV flow counter query 2019-07-23 14:31:35 +02:00
mlx5_defs.h net/mlx5: extend NIC attributes query via DevX 2019-07-23 14:31:36 +02:00
mlx5_devx_cmds.c net/mlx5: extend NIC attributes query via DevX 2019-07-23 14:31:36 +02:00
mlx5_ethdev.c net/mlx5: cache associated network device index 2019-07-23 14:31:36 +02:00
mlx5_flow_dv.c net/mlx5: fix flow item flags bitmap 2019-07-23 14:31:36 +02:00
mlx5_flow_verbs.c net/mlx5: accelerate DV flow counter transactions 2019-07-23 14:31:35 +02:00
mlx5_flow.c net/mlx5: fix typos in comments 2019-07-23 14:31:36 +02:00
mlx5_flow.h net/mlx5: accelerate DV flow counter query 2019-07-23 14:31:35 +02:00
mlx5_glue.c net/mlx5: accelerate DV flow counter query 2019-07-23 14:31:35 +02:00
mlx5_glue.h net/mlx5: accelerate DV flow counter query 2019-07-23 14:31:35 +02:00
mlx5_mac.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mlx5_mp.c net/mlx5: recover secondary process Rx errors 2019-06-14 00:01:06 +09:00
mlx5_mr.c mem: add API to lock/unlock memory hotplug 2019-07-05 22:12:40 +02:00
mlx5_mr.h net/mlx5: share Memory Regions for multiport device 2019-05-03 18:45:23 +02:00
mlx5_nl.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mlx5_prm.h net/mlx5: extend NIC attributes query via DevX 2019-07-23 14:31:36 +02:00
mlx5_rss.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5_rxmode.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5_rxq.c net/mlx5: fix typos in comments 2019-07-23 14:31:36 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: remove Tx implementation 2019-07-23 14:31:36 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: remove Tx implementation 2019-07-23 14:31:36 +02:00
mlx5_rxtx_vec.c net/mlx5: remove Tx implementation 2019-07-23 14:31:36 +02:00
mlx5_rxtx_vec.h net/mlx5: revert mbuf address calculation for x86 2019-04-05 17:45:22 +02:00
mlx5_rxtx.c net/mlx5: implement Tx burst template 2019-07-23 14:31:36 +02:00
mlx5_rxtx.h net/mlx5: implement Tx burst template 2019-07-23 14:31:36 +02:00
mlx5_stats.c net/mlx5: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
mlx5_trigger.c net/mlx5: recover secondary process Rx errors 2019-06-14 00:01:06 +09:00
mlx5_txq.c net/mlx5: add Tx configuration and setup 2019-07-23 14:31:36 +02:00
mlx5_utils.h
mlx5_vlan.c net/mlx5: fix recursive inclusion of header file 2019-04-12 11:02:02 +02:00
mlx5.c net/mlx5: cache associated network device index 2019-07-23 14:31:36 +02:00
mlx5.h net/mlx5: cache associated network device index 2019-07-23 14:31:36 +02:00
rte_pmd_mlx5_version.map