net/qede: add missing check for VNI
Add missing check for VNI field while adding unicast filter. Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
This commit is contained in:
parent
3d5083f28b
commit
d2a2468e36
@ -571,6 +571,7 @@ qede_ucast_filter(struct rte_eth_dev *eth_dev, struct ecore_filter_ucast *ucast,
|
||||
SLIST_FOREACH(tmp, &qdev->uc_list_head, list) {
|
||||
if ((memcmp(mac_addr, &tmp->mac,
|
||||
ETHER_ADDR_LEN) == 0) &&
|
||||
ucast->vni == tmp->vni &&
|
||||
ucast->vlan == tmp->vlan) {
|
||||
DP_ERR(edev, "Unicast MAC is already added"
|
||||
" with vlan = %u, vni = %u\n",
|
||||
|
Loading…
Reference in New Issue
Block a user