[dpdk-dev] [PATCH v2] net/mlx5: flow counter support

Ferruh Yigit ferruh.yigit at intel.com
Wed Oct 11 03:32:05 CEST 2017


On 10/10/2017 5:10 PM, Yongseok Koh wrote:
>> 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>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list