net/hns3: extract common interface to check duplicates
authorHuisong Li <lihuisong@huawei.com>
Fri, 22 Oct 2021 09:19:55 +0000 (17:19 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 1 Nov 2021 17:31:07 +0000 (18:31 +0100)
commit3d491e5531a1d631f464ab31e139132d0e531198
treebec4103365892b436a13c8854092b49239882302
parent3e7984b5d8ce790041a856048a89bb524e94d43d
net/hns3: extract common interface to check duplicates

Extract a common interface for PF and VF to check whether the configured
multicast MAC address from rte_eth_dev_mac_addr_add() is the same as the
multicast MAC address from rte_eth_dev_set_mc_addr_list().

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev.h
drivers/net/hns3/hns3_ethdev_vf.c