net/qede: fix promiscuous enable
authorBalazs Nemeth <bnemeth@redhat.com>
Wed, 23 Dec 2020 14:15:49 +0000 (15:15 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:13 +0000 (03:30 +0100)
commita91fb48a8c248293f1035cdd8b36ad712ae9478f
tree43792028aa508ceebc6fed421b09511d8375ee9a
parent0d84f86c302226e982872da43cfcd39bfd636866
net/qede: fix promiscuous enable

When calling rte_eth_promiscuous_enable(port_id) followed by
rte_eth_allmulticast_enable(port_id), the port is not in promisc mode
anymore. This patch ensures that promisc mode takes precedence over
allmulticast mode fixing the regression introduced by b10231aed1ed.

Fixes: b10231aed1ed ("net/qede: fix multicast drop in promiscuous mode")
Cc: stable@dpdk.org
Signed-off-by: Balazs Nemeth <bnemeth@redhat.com>
Acked-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/qede_ethdev.c