net: hns3: add support for spoof check setting
This patch adds support for spoof check configuration for VFs.
When it is enabled, "spoof checking" is done for both mac address
and VLAN. For each VF, the HW ensures that the source MAC address
(or VLAN) of every outgoing packet exists in the MAC-list (or
VLAN-list) configured for RX filtering for that VF. If not,
the packet is dropped.
Signed-off-by: Jian Shen <firstname.lastname@example.org>
Signed-off-by: Huazhong Tan <email@example.com>
Signed-off-by: Jakub Kicinski <firstname.lastname@example.org>
6 files changed