[dpdk-dev] [PATCH v2] net/mlx5: flow counter support
Yongseok Koh
yskoh at mellanox.com
Tue Oct 10 18:10:29 CEST 2017
> On Oct 10, 2017, at 7:22 AM, Nelio Laranjeiro <nelio.laranjeiro at 6wind.com> wrote:
>
> From: Ori Kam <orika at mellanox.com>
>
> Example for setting rule for counting packets with dest
> ip = 192.168.3.1 in testpmd:
>
> testpmd: flow create 0 ingress pattern eth / ipv4 dst is 192.168.3.1
> / end actions queue index 0 / count / end
>
> Reading the number of packets and bytes for the rule:
>
> testpmd: flow query 0 0 count
>
> Note: This feature is only supported starting Mellanox OFED 4.2
>
> Signed-off-by: Ori Kam <orika at mellanox.com>
> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
>
> ---
Acked-by: Yongseok Koh <yskoh at mellanox.com>
Thanks
More information about the dev
mailing list