numam-dpdk/drivers/net/mlx5
Viacheslav Ovsiienko 942d13e6e7 net/mlx5: fix sharing context destroy order
At the mlx5 device closing the shared IB context was destroyed
before cleanup routines completion. As it was found on some
setups (Netlink fails with old kernel drivers and we have to use
sysfs to retrieve interface index, this requires IB device name,
which is stored in shared context) the mlx5_nl_mac_addr_flush()
requires IB device name, and if shared context is removed it
causes the segmentation fault.

Fixes: 17e19bc4dd ("net/mlx5: add IB shared context alloc/free functions")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-04-12 11:02:02 +02:00
..
Makefile net/mlx5: add Direct Rules API 2019-04-05 17:45:22 +02:00
meson.build net/mlx5: prepare Direct Verbs for Direct Rule 2019-04-05 17:45:22 +02:00
mlx5_defs.h net/mlx5: make vectorized Tx threshold configurable 2018-11-05 15:01:25 +01:00
mlx5_devx_cmds.c net/mlx5: support flow counters using devx 2019-01-14 17:44:29 +01:00
mlx5_ethdev.c net/mlx5: fix device probing for old kernel drivers 2019-04-12 11:02:02 +02:00
mlx5_flow_dv.c net/mlx5: share Direct Rules/Verbs flow related structures 2019-04-05 17:45:22 +02:00
mlx5_flow_tcf.c net/mlx5: fix typos in comments 2019-04-12 11:02:02 +02:00
mlx5_flow_verbs.c net/mlx5: fix errno typos in comments 2019-04-05 17:45:22 +02:00
mlx5_flow.c net/mlx5: add Direct Rules API 2019-04-05 17:45:22 +02:00
mlx5_flow.h net/mlx5: support jump action 2019-04-05 17:45:22 +02:00
mlx5_glue.c net/mlx5: support jump action 2019-04-05 17:45:22 +02:00
mlx5_glue.h net/mlx5: support jump action 2019-04-05 17:45:22 +02:00
mlx5_mac.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5_mp.c net/mlx5: enable secondary process to register DMA memory 2019-04-05 17:45:22 +02:00
mlx5_mr.c net/mlx5: enable secondary process to register DMA memory 2019-04-05 17:45:22 +02:00
mlx5_mr.h net/mlx5: enable secondary process to register DMA memory 2019-04-05 17:45:22 +02:00
mlx5_nl.c net/mlx5: add getting IB ports number for multiport IB 2019-03-29 17:25:32 +01:00
mlx5_prm.h net/mlx5: add Direct Rules API 2019-04-05 17:45:22 +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: switch to the shared IB device context 2019-03-29 17:25:32 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: fix Tx metadata for multi-segment packet 2019-02-13 12:55:38 +01:00
mlx5_rxtx_vec_sse.h net/mlx5: fix Tx metadata for multi-segment packet 2019-02-13 12:55:38 +01:00
mlx5_rxtx_vec.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01: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: sync stop/start with secondary process 2019-04-05 17:45:22 +02:00
mlx5_rxtx.h net/mlx5: support PCI device DMA map and unmap 2019-03-30 16:48:58 +01:00
mlx5_stats.c net/mlx5: switch to the names in the shared IB context 2019-03-29 17:25:32 +01:00
mlx5_trigger.c net/mlx5: sync stop/start with secondary process 2019-04-05 17:45:22 +02:00
mlx5_txq.c net/mlx5: rework PMD global data init 2019-04-05 17:45:22 +02:00
mlx5_utils.h net/mlx5: fix build on PPC64 2018-11-14 00:35:53 +01:00
mlx5_vlan.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5.c net/mlx5: fix sharing context destroy order 2019-04-12 11:02:02 +02:00
mlx5.h net/mlx5: fix device probing for old kernel drivers 2019-04-12 11:02:02 +02:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00