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

2019-04-30 Thread Shahaf Shuler
Thursday, April 25, 2019 8:54 PM, Yongseok Koh: > Subject: Re: [PATCH v2] net/mlx5: fix E-Switch flow without port item > > > > > On Apr 25, 2019, at 5:20 AM, Ori Kam wrote: > > > > When creating a flow rule without the port_id pattern item, always the > > PF was selected. > > > > This commit f

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

2019-04-25 Thread Yongseok Koh
> On Apr 25, 2019, at 5:20 AM, 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. > > Fixes:

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

2019-04-25 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