summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorDimitrios Markou <dimitrios.markou@est.tech>2020-10-12 12:44:38 +0200
committerMatthew Smith <mgsmith@netgate.com>2020-10-21 02:58:26 +0000
commit18ddf624b49256fa065472971ef070a49587fd3c (patch)
treedfb2c3c9d4d7183ecd3cbd6671178347c4e3bdaf /src/plugins/dpdk
parent009fd6a22ffe7726f1e33e45162428f515e2830f (diff)
dpdk: Disable VLAN filtering for VLAN sub-interface in i40e driver
When creating a VLAN sub-interface on a Fortville i40e DPDK VF, the data plane does not work properly. Enabling vlan filter offload overrides the VLAN strip offload setting to on. The VLAN strip offload must be disabled for VPP VLAN sub-interfaces to work. Ticket: https://jira.fd.io/browse/VPP-1933 Type: fix Signed-off-by: Dimitrios Markou <dimitrios.markou@est.tech> Change-Id: I02c6980e3b01870b69a9375f281125ad48477827
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/device/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c
index 532987c3130..7a86ee0fe6b 100644
--- a/src/plugins/dpdk/device/device.c
+++ b/src/plugins/dpdk/device/device.c
@@ -539,8 +539,8 @@ dpdk_subif_add_del_function (vnet_main_t * vnm,
if ((xd->flags & DPDK_DEVICE_FLAG_PMD) == 0)
goto done;
- /* currently we program VLANS only for IXGBE VF and I40E VF */
- if ((xd->pmd != VNET_DPDK_PMD_IXGBEVF) && (xd->pmd != VNET_DPDK_PMD_I40EVF))
+ /* currently we program VLANS only for IXGBE VF */
+ if (xd->pmd != VNET_DPDK_PMD_IXGBEVF)
goto done;
if (t->sub.eth.flags.no_tags == 1)