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

2017-10-10 Thread Ferruh Yigit
On 10/10/2017 5:10 PM, Yongseok Koh wrote: >> On Oct 10, 2017, at 7:22 AM, Nelio Laranjeiro >> wrote: >> >> From: Ori Kam >> >> 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 >> /

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

2017-10-10 Thread Yongseok Koh
> On Oct 10, 2017, at 7:22 AM, Nelio Laranjeiro > wrote: > > From: Ori Kam > > 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 > > Readi

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

2017-10-10 Thread Nelio Laranjeiro
From: Ori Kam 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