numam-dpdk/drivers
Haifei Luo a7ac7fae49 net/mlx5: enhance flow dump
Multiple rules could use the same encap_decap/modify_hdr/counter action.
The flow dump data could be duplicated.

To avoid redundancy, flow dump value is based on the actions' pointer
instead of previous rules' pointer.

For counter, the data is stored in cmng of priv->sh.
For encap_decap/modify_hdr, the data stored in encaps_decaps/modify_cmds.
Traverse the fields and get action's pointer and information.

Formats are same for information in the dump except "id" stands for
actions' pointer:
    Counter:     rec_type,id,hits,bytes
    Modify_hdr:  rec_type,id,actions_number,actions
    Encap_decap: rec_type,id,buf

Signed-off-by: Haifei Luo <haifeil@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-10-28 10:14:21 +02:00
..
baseband drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
bus bus/pci: fix use after free on unplug 2021-11-04 15:13:41 +01:00
common common/mlx5: optimize debug log 2021-10-26 17:16:17 +02:00
compress devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
crypto devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
dma dma/idxd: fix truncated error code in status check 2021-10-27 17:01:56 +02:00
event drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
mempool drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
net net/mlx5: enhance flow dump 2021-10-28 10:14:21 +02:00
raw drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
regex regex/mlx5: prevent double setup of queue pair 2021-11-03 23:15:10 +01:00
vdpa drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
meson.build raw/ioat: build only if dmadev not present 2021-10-22 22:40:58 +02:00