Commit 6e315326 authored by Jiantao Xiao's avatar Jiantao Xiao
Browse files

Revert "net: hns3: only enable unicast promisc when mac table full"

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I83ZCY


CVE: NA

----------------------------------------------------------------------

This reverts commit 25e7562c.

Signed-off-by: default avatarJiantao Xiao <xiaojiantao1@h-partners.com>
parent 53032b02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9256,7 +9256,7 @@ static void hclge_update_overflow_flags(struct hclge_vport *vport,
	if (mac_type == HCLGE_MAC_ADDR_UC) {
		if (is_all_added)
			vport->overflow_promisc_flags &= ~HNAE3_OVERFLOW_UPE;
		else if (hclge_is_umv_space_full(vport, true))
		else
			vport->overflow_promisc_flags |= HNAE3_OVERFLOW_UPE;
	} else {
		if (is_all_added)