summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Ji <kai.ji@intel.com>2024-12-18 11:46:02 +0000
committerDamjan Marion <dmarion@0xa5.net>2025-01-21 13:03:51 +0000
commit98028dd4c475f8929cf07a87114e857bfc6bda93 (patch)
tree2400df1fa1701707bd1bd3defcd625770299f13d
parent9b58a8ec0c20e07778857ffc6173e0746dba3cc4 (diff)
dpdk: enable VLAN offload configuration for the iavf PMD driver
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 <kai.ji@intel.com>
-rw-r--r--src/plugins/dpdk/device/driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/driver.c b/src/plugins/dpdk/device/driver.c
index 9c368dd9038..2fde041684c 100644
--- a/src/plugins/dpdk/device/driver.c
+++ b/src/plugins/dpdk/device/driver.c
@@ -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" }),