Ori Kam ce777b147b net/mlx5: fix E-Switch flow without port item
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")

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2019-05-03 18:45:23 +02:00
..
2019-03-01 18:17:35 +01:00
2019-04-19 14:51:55 +02:00
2019-03-01 18:17:35 +01:00
2019-05-03 18:45:23 +02:00
2018-11-14 00:35:53 +01:00