net/hns3: fix promiscuous mode for PF
authorChengchang Tang <tangchengchang@huawei.com>
Mon, 9 Mar 2020 09:32:43 +0000 (17:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 18 Mar 2020 09:21:42 +0000 (10:21 +0100)
commiteb4f9b6a55002a4abc1a4e9eca2a89174fd6ce2b
tree0796ea5667b0d45ee99c991b2f3be97b3be88c92
parent40486d38496241711955fc752ff4a6db4c89da7f
net/hns3: fix promiscuous mode for PF

Currently, when promiscuous mode is enabled, it is just allowed to
accept all the unicast and broadcast packets in hns3 PF PMD driver. It
should also be able to receive multicast packets.

Fixes: 19a3ca4c99cf ("net/hns3: add start/stop and configure operations")
Cc: stable@dpdk.org
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_ethdev.c