> On Oct 31, 2018, at 1:25 AM, Ori Kam wrote:
>
> Hi,
> PSB
>
>> -Original Message-
>> From: Yongseok Koh
>> Sent: Monday, October 29, 2018 8:04 PM
>> To: Ori Kam
>> Cc: Shahaf Shuler ; dev@dpdk.org
>> Subject: Re: [PATCH] net/mlx5: fix Direct Verbs getting item and action flags
>>
>
Hi,
PSB
> -Original Message-
> From: Yongseok Koh
> Sent: Monday, October 29, 2018 8:04 PM
> To: Ori Kam
> Cc: Shahaf Shuler ; dev@dpdk.org
> Subject: Re: [PATCH] net/mlx5: fix Direct Verbs getting item and action flags
>
> > On Oct 28, 2018, at 11:03 PM, Ori Kam wrote:
> >
> > Why shou
> On Oct 28, 2018, at 11:03 PM, Ori Kam wrote:
>
> Why should DV prepare function return the list of actions?
>
> The only reason I can think of, is if you want to remove the for loop in
> dv_translate. And then in flow_dv_create_action change the switch case
> to ifs.
Then, I should ask you a
Why should DV prepare function return the list of actions?
The only reason I can think of, is if you want to remove the for loop in
dv_translate. And then in flow_dv_create_action change the switch case
to ifs.
Ori
> -Original Message-
> From: Yongseok Koh
> Sent: Sunday, October 28, 2
Flow driver has to provide detected item flags and action flags via
flow_drv_prepare(). DV doesn't return flags at all.
Fixes: 865a0c15672c ("net/mlx5: add Direct Verbs prepare function")
Cc: or...@mellanox.com
Signed-off-by: Yongseok Koh
---
drivers/net/mlx5/mlx5_flow_dv.c | 115 ++
5 matches
Mail list logo