dpdk: enable VLAN offload configuration for the iavf PMD driver 42/42042/6
authorKai Ji <[email protected]>
Wed, 18 Dec 2024 11:46:02 +0000 (11:46 +0000)
committerDamjan Marion <[email protected]>
Tue, 21 Jan 2025 13:03:51 +0000 (13:03 +0000)
Sets the program_vlans = 1 flag, enabling the DPDK sub-interface
function to configure VLAN offload settings on Intel iavf/i40e Ethernet
devices from VPP.

Type: improvement

Change-Id: I030af0c93b13cf80772982b243861f9c303f7e09
Signed-off-by: Kai Ji <[email protected]>
src/plugins/dpdk/device/driver.c

index 9c368dd..2fde041 100644 (file)
@@ -52,6 +52,7 @@ static dpdk_driver_t dpdk_drivers[] = {
     .supported_flow_actions = supported_flow_actions_intel,
     .use_intel_phdr_cksum = 1,
     .int_unmaskable = 1,
+    .program_vlans = 1,
   },
   {
     .drivers = DPDK_DRIVERS ({ "net_e1000_igb_vf", "Intel e1000 VF" }),