net/mlx4: fix default flow rule create
authorDekel Peled <dekelp@mellanox.com>
Sun, 24 Feb 2019 09:41:09 +0000 (11:41 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Mar 2019 16:52:22 +0000 (17:52 +0100)
commitefad0db1ff58461a53d803bc4df1820cbb3ae500
tree0dca97435331c93d90cfb786253ace551772f050
parent4fb27c1dfe054972bec62fdeb6fc91680ccb3f3c
net/mlx4: fix default flow rule create

Original patch changed logic of function mlx4_flow_merge_eth().
The setting of flow->promisc was wrongly removed.
This patch adds the removed setting of flow->promisc, to restore
the required behavior.

Fixes: c0d239263156 ("net/mlx4: support flow w/o ETH spec and with VLAN")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx4/mlx4_flow.c