numam-dpdk/drivers/net/mlx5
Shun Hao 3c481324ba net/mlx5: fix meter flow direction check
When preparing prefix flow using ASO meter, if it's tx flow, need
to make meter action the first one.

Currently the check of flow direction in switch domain is incorrect
that it checks the flow dev port only.

This adds the fix for the check that if there's port_id match item
in flow, use that port_id as src port to determine flow direction.

Fixes: c99b4f8bc2 ("net/mlx5: support ASO meter action")
Cc: stable@dpdk.org

Signed-off-by: Shun Hao <shunh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-07-08 22:09:25 +02:00
..
linux net/mlx5: optimize meter profile lookup 2021-07-08 22:09:24 +02:00
windows net/mlx5: optimize meter profile lookup 2021-07-08 22:09:24 +02:00
meson.build net/mlx5: initialize flow meter ASO SQ 2021-04-21 08:28:04 +02:00
mlx5_defs.h net/mlx5: support flow count action handle 2021-04-30 12:41:07 +02:00
mlx5_devx.c net/mlx5: fix Rx queue timestamp format 2021-06-24 13:19:50 +02:00
mlx5_devx.h net/mlx5: share Tx control code 2020-10-09 13:17:42 +02:00
mlx5_ethdev.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_flow_aso.c net/mlx5: add translation of connection tracking action 2021-05-05 14:30:15 +02:00
mlx5_flow_dv.c net/mlx5: fix representor ID check for sampling 2021-07-08 22:09:22 +02:00
mlx5_flow_meter.c net/mlx5: fix meter policy ID table container 2021-07-08 22:09:25 +02:00
mlx5_flow_verbs.c net/mlx5: support flow count action handle 2021-04-30 12:41:07 +02:00
mlx5_flow.c net/mlx5: fix meter flow direction check 2021-07-08 22:09:25 +02:00
mlx5_flow.h net/mlx5: fix metering cleanup on stop 2021-05-16 14:58:23 +02:00
mlx5_mac.c net: provide IP-related API on any OS 2021-04-15 01:56:43 +02:00
mlx5_mr.c common/mlx5: fix memory region leak 2021-07-08 22:09:22 +02:00
mlx5_mr.h common/mlx5: remove inclusion of Verbs header files 2020-07-21 15:46:30 +02:00
mlx5_rss.c net/mlx5: separate Rx function declarations to another file 2021-04-15 08:24:49 +02:00
mlx5_rx.c net/mlx5: convert meta register to big-endian 2021-06-24 13:19:53 +02:00
mlx5_rx.h net/mlx5: support power monitoring 2021-05-03 12:12:42 +02:00
mlx5_rxmode.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_rxq.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_rxtx_vec_altivec.h net/mlx5: convert meta register to big-endian 2021-06-24 13:19:53 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: convert meta register to big-endian 2021-06-24 13:19:53 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: convert meta register to big-endian 2021-06-24 13:19:53 +02:00
mlx5_rxtx_vec.c net/mlx5: separate Rx function declarations to another file 2021-04-15 08:24:49 +02:00
mlx5_rxtx_vec.h net/mlx5: implement vectorized MPRQ burst 2020-11-03 23:24:25 +01:00
mlx5_rxtx.c net/mlx5: separate Tx burst functions to different files 2021-04-15 08:24:59 +02:00
mlx5_rxtx.h net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_stats.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_trigger.c net/mlx5: fix loopback for Direct Verbs queue 2021-05-18 10:30:45 +02: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 net/mlx5: separate Tx function implementations to new file 2021-04-15 08:24:58 +02:00
mlx5_tx.h net/mlx5: fix TSO multi-segment inline length 2021-07-08 22:09:23 +02:00
mlx5_txpp.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_txq.c net/mlx5: separate Tx function implementations to new file 2021-04-15 08:24:58 +02:00
mlx5_utils.c common/mlx5: share hash list tool 2021-05-04 22:49:37 +02:00
mlx5_utils.h common/mlx5: share hash list tool 2021-05-04 22:49:37 +02:00
mlx5_vlan.c net/mlx5: separate Rx function declarations to another file 2021-04-15 08:24:49 +02:00
mlx5.c net/mlx5: fix meter policy ID table container 2021-07-08 22:09:25 +02:00
mlx5.h net/mlx5: fix meter policy ID table container 2021-07-08 22:09:25 +02:00
rte_pmd_mlx5.h net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00
version.map net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00