numam-dpdk/drivers/net
Haifei Luo bd0a931543 net/mlx5: support single flow dump
Modify API mlx5_flow_dev_dump to support the feature.
Modify mlx5_socket since one extra arg flow_ptr is added.

The data structure sent to DPDK application from the utility triggering
the flow dumps should be packed and endianness must be specified.
The native host endianness can be used, all exchange happens within
the same host (we use sendmsg aux data and share the file handle,
remote approach is not applicable, no inter-host communication happens).

The message structure to dump one/all flow(s):
struct mlx5_flow_dump_req {
	uint32_t port_id;
	uint64_t flow_ptr;
} __rte_packed;

If flow_ptr is 0, all flows for the specified port will be dumped.

Signed-off-by: Haifei Luo <haifeil@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-04-19 12:45:05 +02:00
..
af_packet drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
af_xdp drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ark net/ark: set generator delay thread name 2021-04-21 15:57:51 +02:00
atlantic drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
avp drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
axgbe drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
bnx2x drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
bnxt drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
bonding drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
cxgbe drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
dpaa drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
dpaa2 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
e1000 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ena drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
enetc drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
enic drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
failsafe drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
fm10k drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
hinic drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
hns3 net/hns3: check max SIMD bitwidth 2021-04-19 19:15:45 +02:00
i40e drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
iavf drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ice net/ice: set VSI reset thread name 2021-04-21 15:57:51 +02:00
igc drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ionic drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ipn3ke drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ixgbe drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
kni drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
liquidio drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
memif drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
mlx4 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
mlx5 net/mlx5: support single flow dump 2021-04-19 12:45:05 +02:00
mvneta drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
mvpp2 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
netvsc drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
nfb drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
nfp drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
null drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
octeontx drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
octeontx2 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
octeontx_ep drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
pcap drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
pfe drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
qede drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ring drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
sfc drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
softnic drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
szedata2 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
tap drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
thunderx drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
txgbe drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
vdev_netvsc drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
vhost drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
virtio drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
vmxnet3 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00