numam-dpdk/drivers/net/mlx5
Li Zhang 5df35867d9 net/mlx5: optimize meter statistics
Meter statistics are each policer action each counter.
Totally 4 counters per each meter.
It causes cache missed
and lead to data forwarding performance low.

To optimize it, support pass counter for green
and drop counter for red.
Totally two counters per each meter.
Also use the global drop statistics for
all meter drop action.

Limitations as below:
1. It does not support yellow counter and return 0.
2. All the meter colors with drop action will be
   counted only by the global drop statistics.
3. Red color must be with drop action.

Signed-off-by: Li Zhang <lizh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-04-21 08:27:49 +02:00
..
linux net/mlx5: support single flow dump 2021-04-19 12:45:05 +02:00
windows drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
mlx5_defs.h ethdev: introduce indirect flow action 2021-04-19 18:25:42 +02:00
mlx5_devx.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +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_age.c net/mlx5: support timestamp format 2021-03-16 10:05:34 +01:00
mlx5_flow_dv.c net/mlx5: optimize meter statistics 2021-04-21 08:27:49 +02:00
mlx5_flow_meter.c net/mlx5: optimize meter statistics 2021-04-21 08:27:49 +02:00
mlx5_flow_verbs.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +02:00
mlx5_flow.c net/mlx5: fix meter statistics 2021-04-21 08:27:46 +02:00
mlx5_flow.h net/mlx5: optimize meter statistics 2021-04-21 08:27:49 +02:00
mlx5_mac.c net: provide IP-related API on any OS 2021-04-15 01:56:43 +02:00
mlx5_mr.c net/mlx5: separate Tx function declarations to another file 2021-04-15 08:24:53 +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: separate Rx function implementations to new file 2021-04-15 08:24:51 +02:00
mlx5_rx.h net/mlx5: separate Rx function implementations to new file 2021-04-15 08:24:51 +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: fix Rx metadata leftovers 2021-03-16 15:53:04 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: fix Rx metadata leftovers 2021-03-16 15:53:04 +01:00
mlx5_rxtx_vec_sse.h net/mlx5: fix Rx metadata leftovers 2021-03-16 15:53:04 +01: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: separate Tx function declarations to another file 2021-04-15 08:24:53 +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: separate Tx burst functions to different files 2021-04-15 08:24:59 +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 net/mlx5: reduce log level of alignment message 2021-03-15 14:30:58 +01:00
mlx5_utils.h net/mlx5: support three level table walk 2021-04-21 08:27:42 +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 statistics 2021-04-21 08:27:46 +02:00
mlx5.h net/mlx5: fix meter statistics 2021-04-21 08:27:46 +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