numam-dpdk/drivers/net/mlx5
Michael Baum ce12974cce net/mlx5: fix ASO CT object release
The ASO connection tracking structure is initialized once for sharing
device context.

Its release takes place in the close function which is called for each
ethdev individually. i.e. when there is more than one ethdev under the
same sharing device context, it will be destroyed when one of them is
closed. If the other wants to use it later, it may cause it to crash.

In addition, the creation of this structure is performed in the spawn
function. If one of the creations of the objects following it fails, it
is supposed to be destroyed but this does not happen.

This patch moves its release to the sharing device context free function
and thus solves both problems.

Fixes: 0af8a2298a ("net/mlx5: release connection tracking management")
Fixes: ee9e5fad03 ("net/mlx5: initialize connection tracking management")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2022-02-21 11:36:39 +01:00
..
linux net/mlx5: fix ineffective metadata argument adjustment 2022-02-21 11:36:38 +01:00
windows net/mlx5: fix sibling device config check 2022-02-21 11:36:32 +01:00
meson.build net/mlx5: add flex item operations 2021-11-04 22:55:38 +01:00
mlx5_defs.h net/mlx5: fix maximum packet headers size for TSO 2022-01-16 13:06:39 +01:00
mlx5_devx.c net/mlx5: improve stride parameter names 2021-12-05 12:22:09 +01:00
mlx5_devx.h net/mlx5: enable DevX Tx queue creation 2021-10-21 09:31:13 +02:00
mlx5_ethdev.c net/mlx5: support shared Rx queue 2021-11-04 22:55:50 +01:00
mlx5_flow_aso.c net/mlx5: fix memory socket selection in ASO management 2021-12-22 09:56:01 +01:00
mlx5_flow_dv.c net/mlx5: remove unused metadata shift parameter 2022-02-10 09:44:31 +01:00
mlx5_flow_flex.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
mlx5_flow_meter.c net/mlx5: fix meter capabilities reporting 2022-02-10 09:44:33 +01:00
mlx5_flow_verbs.c net/mlx5: fix mark enabling for Rx 2022-01-26 17:41:11 +01:00
mlx5_flow.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
mlx5_flow.h net/mlx5: fix mark enabling for Rx 2022-01-26 17:41:11 +01:00
mlx5_mac.c net/mlx5: support Sub-Function 2021-07-22 00:11:14 +02:00
mlx5_rss.c net/mlx5: fix RETA update without stopping device 2021-11-10 15:44:44 +01:00
mlx5_rx.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
mlx5_rx.h ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
mlx5_rxmode.c net/mlx5: support Sub-Function 2021-07-22 00:11:14 +02:00
mlx5_rxq.c net/mlx5: fix MPRQ WQE size assertion 2022-01-18 09:30:25 +01:00
mlx5_rxtx_vec_altivec.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
mlx5_rxtx_vec_neon.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
mlx5_rxtx_vec_sse.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
mlx5_rxtx_vec.c net/mlx5: improve stride parameter names 2021-12-05 12:22:09 +01:00
mlx5_rxtx_vec.h ethdev: add namespace 2021-10-22 18:15:38 +02:00
mlx5_rxtx.c net/mlx5: move Rx queue DevX resource 2021-11-04 22:55:48 +01:00
mlx5_rxtx.h common/mlx5: share MR mempool registration 2021-10-21 15:58:00 +02:00
mlx5_stats.c net/mlx5: remove Rx queue data list from device 2021-11-04 22:55:49 +01:00
mlx5_trigger.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01: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 ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
mlx5_tx.h ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
mlx5_txpp.c net/mlx5: fix mutex unlock in Tx packet pacing cleanup 2021-11-16 17:55:17 +01:00
mlx5_txq.c common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
mlx5_utils.c common/mlx5: move list utility from net driver 2021-07-15 15:19:13 +02:00
mlx5_utils.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
mlx5_vlan.c net/mlx5: move Rx queue DevX resource 2021-11-04 22:55:48 +01:00
mlx5.c net/mlx5: fix ASO CT object release 2022-02-21 11:36:39 +01:00
mlx5.h net/mlx5: fix mark enabling for Rx 2022-01-26 17:41:11 +01:00
rte_pmd_mlx5.h net/mlx5: add C++ include guard to public header 2022-02-03 09:19:26 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00