2cf7a0faf4
When trust mode is set to ON, VF can change it's MAC address inspite PF has set a forced MAC for that VF from HV. Earlier similar functionality is provided by module parameter "allow_vf_mac_change_mode" of qed. This change makes few changes in behavior of VF shadow config - - Let driver track the VF mac in shadow config as long as trust mode is OFF. - Once trust mode is ON, we should not care about MACs in shadow config (because we never intend to fall back because of lack of restore implementation). - Delete existing shadow MAC (this helps when trust mode is turned OFF, and VF tries to add new MAC – it won’t fail that time since we have a clean slate). - Skip addition and deletion of MACs in shadow configs. Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com> |
||
---|---|---|
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
kernel | ||
lib | ||
license | ||
mk | ||
pkg | ||
test | ||
usertools | ||
.gitattributes | ||
.gitignore | ||
GNUmakefile | ||
MAINTAINERS | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
README |
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org