numam-dpdk/drivers/net/mlx5
Bing Zhao db3ec06e7a net/mlx5: fix RSS validation for meter hierarchy
In a meter hierarchy, all the meters are marked with having RSS if
the final meter's termination action is RSS.

When validating a flow rule with meter hierarchy, the RSS action
should not be fetched from the current meter if it is not the final
one.

The fate action union is next meter ID instead of the pointer to the
RSS action. By using the final meter in the hierarchy, the flow rule
validation will succeed without any crash caused by the invalid RSS
action pointer access.

Fixes: 1ce19ab1f4 ("net/mlx5: fix RSS validation with meter policy")
Cc: stable@dpdk.org

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Reviewed-by: Li Zhang <lizh@nvidia.com>
Reviewed-by: Shun Hao <shunh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-11-23 17:57:13 +01:00
..
linux common/mlx5: fix mempool registration 2021-11-21 15:38:07 +01:00
windows net/mlx5: check delay drop settings in kernel driver 2021-11-05 17:04:53 +01:00
meson.build net/mlx5: add flex item operations 2021-11-04 22:55:38 +01:00
mlx5_defs.h common/mlx5: fix post doorbell barrier 2021-11-07 16:21:03 +01:00
mlx5_devx.c common/mlx5: fix post doorbell barrier 2021-11-07 16:21:03 +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 common/mlx5: fix post doorbell barrier 2021-11-07 16:21:03 +01:00
mlx5_flow_dv.c net/mlx5: fix RSS validation for meter hierarchy 2021-11-23 17:57:13 +01:00
mlx5_flow_flex.c net/mlx5: translate flex item pattern into matcher 2021-11-04 22:55:40 +01:00
mlx5_flow_meter.c net/mlx5: fix meter action pool protection 2021-11-01 14:53:36 +01:00
mlx5_flow_verbs.c net/mlx5: discover max flow priority using DevX 2021-11-02 18:59:17 +01:00
mlx5_flow.c net/mlx5: fix flow mark with sampling and metering 2021-11-23 14:24:17 +01:00
mlx5_flow.h net/mlx5: fix flow mark with sampling and metering 2021-11-23 14:24:17 +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 net/mlx5: fix split buffer Rx 2021-11-08 13:56:29 +01:00
mlx5_rx.h common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
mlx5_rxmode.c net/mlx5: support Sub-Function 2021-07-22 00:11:14 +02:00
mlx5_rxq.c common/mlx5: fix mempool registration 2021-11-21 15:38:07 +01:00
mlx5_rxtx_vec_altivec.h net/mlx5: support shared Rx queue port data path 2021-11-04 22:55:51 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: support shared Rx queue port data path 2021-11-04 22:55:51 +01:00
mlx5_rxtx_vec_sse.h net/mlx5: support shared Rx queue port data path 2021-11-04 22:55:51 +01:00
mlx5_rxtx_vec.c net/mlx5: remove Rx queue data list from device 2021-11-04 22:55:49 +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 common/mlx5: fix mempool registration 2021-11-21 15:38:07 +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: add namespace 2021-10-22 18:15:38 +02:00
mlx5_tx.h net/mlx5: fix partial inline of fine grain packets 2021-11-17 11:48:18 +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 common/mlx5: move list utility from net driver 2021-07-15 15:19:13 +02:00
mlx5_vlan.c net/mlx5: move Rx queue DevX resource 2021-11-04 22:55:48 +01:00
mlx5.c net/mlx5: fix delay drop bit set overflow 2021-11-14 16:26:49 +01:00
mlx5.h net/mlx5: fix meter policy validation 2021-11-10 15:44:42 +01: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