Re: [dpdk-dev] [PATCH] net/mlx5: allow install more meter actions

2020-01-08 Thread Suanming Mou
Hi, > -Original Message- > From: Tonghao Zhang > Sent: Monday, January 6, 2020 9:47 AM > To: Suanming Mou > Cc: dev@dpdk.org; sta...@dpdk.org; Matan Azrad ; > Slava Ovsiienko > Subject: Re: [PATCH] net/mlx5: allow install more meter actions > > On Fri, Jan 3, 2020 at 11:38 AM Suanming

Re: [dpdk-dev] [PATCH] net/mlx5: allow install more meter actions

2020-01-08 Thread Suanming Mou
Hi, > -Original Message- > From: Tonghao Zhang > Sent: Monday, January 6, 2020 9:47 AM > To: Suanming Mou > Cc: dev@dpdk.org; sta...@dpdk.org; Matan Azrad ; > Slava Ovsiienko > Subject: Re: [PATCH] net/mlx5: allow install more meter actions > > On Fri, Jan 3, 2020 at 11:38 AM Suanming

Re: [dpdk-dev] [PATCH] net/mlx5: allow install more meter actions

2020-01-05 Thread Tonghao Zhang
On Fri, Jan 3, 2020 at 11:38 AM Suanming Mou wrote: > > Hello Tonghao, > > Could you please explain much detail about your issue scenario? > > If I understand correctly, you are trying to create two flows with the two > same match criteria? > > Example from testpmd just like that: > add port mete

Re: [dpdk-dev] [PATCH] net/mlx5: allow install more meter actions

2020-01-02 Thread Suanming Mou
Hello Tonghao, Could you please explain much detail about your issue scenario? If I understand correctly, you are trying to create two flows with the two same match criteria? Example from testpmd just like that: add port meter profile srtcm_rfc2697 0 24 65536 32768 0 create port meter 0 0 24 y

Re: [dpdk-dev] [PATCH] net/mlx5: allow install more meter actions

2019-12-19 Thread Tonghao Zhang
ping On Tue, Dec 17, 2019 at 3:29 PM wrote: > > From: Tonghao Zhang > > When creating the dr rule of meter, the matcher which > struct is "struct mlx5dv_dr_matcher" should not be > shared, if shared, mlx5dv_dr_rule_create will return > NULL. We can't install more metering offload actions. > > Th

[dpdk-dev] [PATCH] net/mlx5: allow install more meter actions

2019-12-16 Thread xiangxia . m . yue
From: Tonghao Zhang When creating the dr rule of meter, the matcher which struct is "struct mlx5dv_dr_matcher" should not be shared, if shared, mlx5dv_dr_rule_create will return NULL. We can't install more metering offload actions. The call tree (rdma-core-47mlnx1 OFED 4.7-3.2.9): * dr_rule_hand