Re: [dpdk-dev] [PATCH] net/mlx5: fix E-Switch flow without port item

2019-04-25 Thread Yongseok Koh
> On Apr 25, 2019, at 12:02 AM, Ori Kam wrote: > > Hi Yongseok, > PSB, > > Ori > >> -Original Message- >> From: Yongseok Koh >> Sent: Wednesday, April 24, 2019 12:03 AM >> To: Ori Kam >> Cc: Shahaf Shuler ; Matan Azrad >> ; dev@dpdk.org >> Subject: Re: [PATCH] net/mlx5: fix E-Switch

Re: [dpdk-dev] [PATCH] net/mlx5: fix E-Switch flow without port item

2019-04-25 Thread Ori Kam
Hi Yongseok, PSB, Ori > -Original Message- > From: Yongseok Koh > Sent: Wednesday, April 24, 2019 12:03 AM > To: Ori Kam > Cc: Shahaf Shuler ; Matan Azrad > ; dev@dpdk.org > Subject: Re: [PATCH] net/mlx5: fix E-Switch flow without port item > > On Tue, Apr 23, 2019 at 11:19:16AM +,

Re: [dpdk-dev] [PATCH] net/mlx5: fix E-Switch flow without port item

2019-04-23 Thread Yongseok Koh
On Tue, Apr 23, 2019 at 11:19:16AM +, Ori Kam wrote: > When creating a flow rule without the port_id pattern item, always the > PF was selected. > > This commit fixes this issue, if no port_id pattern item is available > then we use the port that the flow was created on as source port. > > Fi

[dpdk-dev] [PATCH] net/mlx5: fix E-Switch flow without port item

2019-04-23 Thread Ori Kam
When creating a flow rule without the port_id pattern item, always the PF was selected. This commit fixes this issue, if no port_id pattern item is available then we use the port that the flow was created on as source port. Fixes: 822fb3195348 ("net/mlx5: add port id item to Direct Verbs") Signe