]> git.droids-corp.org - dpdk.git/commit
net/hns3: unify MAC address add and remove
authorHuisong Li <lihuisong@huawei.com>
Fri, 22 Oct 2021 09:20:02 +0000 (17:20 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 1 Nov 2021 17:31:07 +0000 (18:31 +0100)
commitf6348725426a02e39f4b2c86b313b5b0a91af11c
tree86c964547e16254a63adcbfa7c098e56d70944e7
parent0a856ba4ffd93ab17ff88927069e486d10d1b882
net/hns3: unify MAC address add and remove

The code logic of adding and removing MAC address in PF and VF is the
same.
This patch extracts two common interfaces to add and remove them
separately.

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