numam-dpdk/drivers/net/mlx5
Viacheslav Ovsiienko 24feb04596 net/mlx5: fix UAR lock sharing for multiport devices
The master and representors might be created over the multiport
Infiniband devices and the UAR resource allocated for sibling
ports might belong to the same underlying Infiniband device.
Hardware requires the write access to the UAR must be performed
as atomic 64-bit write, on 32-bit systems this is two sequential
writes, protected by lock. Due to possibility to share the same
UAR between sibling devices the locks must be moved to shared
context.

Fixes: f048f3d479 ("net/mlx5: switch to the shared IB device context")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-07-21 15:44:36 +02:00
..
linux net/mlx5: fix UAR lock sharing for multiport devices 2020-07-21 15:44:36 +02:00
Makefile net/mlx5/linux: add memory region callbacks to Verbs 2020-06-17 16:32:01 +02:00
meson.build net/mlx5: move socket files in Linux directory 2020-06-16 19:21:07 +02:00
mlx5_defs.h net/mlx5: add device parameter for MPRQ stride size 2020-04-21 13:57:08 +02:00
mlx5_ethdev.c net/mlx5: move Linux-specific functions 2020-06-16 19:21:07 +02:00
mlx5_flow_dv.c net/mlx5: fix flow META item validation 2020-07-07 23:38:26 +02:00
mlx5_flow_meter.c net/mlx5: fix typos in meter error messages 2020-06-16 19:21:07 +02:00
mlx5_flow_verbs.c net/mlx5: rename Verbs flow to generic name 2020-07-07 23:38:26 +02:00
mlx5_flow.c net/mlx5: add OS specific flow type selection 2020-07-07 23:38:26 +02:00
mlx5_flow.h net/mlx5: add OS specific flow actions operations 2020-07-07 23:38:26 +02:00
mlx5_mac.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_mp.c net/mlx5: add Linux-specific file with getter functions 2020-06-16 19:21:07 +02:00
mlx5_mr.c net/mlx5: use direct API to find port by device 2020-06-30 14:52:30 +02:00
mlx5_mr.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rss.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_rxmode.c net/mlx5: reduce Netlink commands dependencies 2020-02-05 09:51:20 +01:00
mlx5_rxq.c net/mlx5: fix UAR lock sharing for multiport devices 2020-07-21 15:44:36 +02:00
mlx5_rxtx_vec_altivec.h net/mlx5: fix vectorized Rx burst termination 2020-06-03 17:20:32 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix vectorized Rx burst termination 2020-06-03 17:20:32 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix vectorized Rx burst termination 2020-06-03 17:20:32 +02:00
mlx5_rxtx_vec.c net/mlx5: fix iterator type in Rx queue management 2020-06-30 14:52:30 +02:00
mlx5_rxtx_vec.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rxtx.c introduce restricted pointer aliasing marker 2020-07-10 15:35:32 +02:00
mlx5_rxtx.h net/mlx5: fix secondary process resources release 2020-06-02 16:06:24 +02:00
mlx5_stats.c net/mlx5: refactor statistics 2020-06-16 19:21:07 +02:00
mlx5_trigger.c net/mlx5: add parameter for LACP packets control 2020-06-30 14:52:30 +02:00
mlx5_txq.c net/mlx5: fix UAR lock sharing for multiport devices 2020-07-21 15:44:36 +02:00
mlx5_utils.c net/mlx5: add three-level table utility 2020-06-30 14:52:29 +02:00
mlx5_utils.h net/mlx5: add three-level table utility 2020-06-30 14:52:29 +02:00
mlx5_vlan.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5.c net/mlx5: fix UAR lock sharing for multiport devices 2020-07-21 15:44:36 +02:00
mlx5.h net/mlx5: fix UAR lock sharing for multiport devices 2020-07-21 15:44:36 +02:00
rte_pmd_mlx5_version.map net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00
rte_pmd_mlx5.h net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00