diff options
author | Dzmitry Sautsa <dzmitry.sautsa@nokia.com> | 2022-03-10 14:17:07 +0100 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2022-03-10 22:34:26 +0000 |
commit | 85b285b9000b056213c871dd128733085f0a8f37 (patch) | |
tree | 2ab252029cb8ea8beccc6f582156c61c88d2922e /src | |
parent | 2d194a02a60361020e3b8096958a6c963d0c2807 (diff) |
dpdk: fix program vlans on ixgbevf
Recent "dpdk: refactor device setup" have broken vlans programming for IXGBE_VF.
Type: fix
Signed-off-by: Dzmitry Sautsa <dzmitry.sautsa@nokia.com>
Change-Id: Idacda33a473f6b10dbe002d9926661a19d0f3f97
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/dpdk/device/driver.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/driver.c b/src/plugins/dpdk/device/driver.c index ed3d94c7ecc..7a2b3e7fbd2 100644 --- a/src/plugins/dpdk/device/driver.c +++ b/src/plugins/dpdk/device/driver.c @@ -55,12 +55,17 @@ static dpdk_driver_t dpdk_drivers[] = { .int_unmaskable = 1, }, { - .drivers = DPDK_DRIVERS ({ "net_e1000_igb_vf", "Intel e1000 VF" }, - { "net_ixgbe_vf", "Intel 82599 VF" }), + .drivers = DPDK_DRIVERS ({ "net_e1000_igb_vf", "Intel e1000 VF" }), .interface_name_prefix = "VirtualFunctionEthernet", .use_intel_phdr_cksum = 1, }, { + .drivers = DPDK_DRIVERS ({ "net_ixgbe_vf", "Intel 82599 VF" }), + .interface_name_prefix = "VirtualFunctionEthernet", + .use_intel_phdr_cksum = 1, + .program_vlans = 1, + }, + { .drivers = DPDK_DRIVERS ({ "net_dpaa2", "NXP DPAA2 Mac" }), .interface_name_prefix = "TenGigabitEthernet", }, |