diff options
author | Damjan Marion <damarion@cisco.com> | 2022-01-13 00:28:14 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2022-01-14 18:37:55 +0100 |
commit | 549838c81bd0d995f2b8569955afc33132582c77 (patch) | |
tree | 2b5317407fca2e8e53e44eb11ed6da758cf5fc75 /src/plugins/dpdk/device/device.c | |
parent | f8dd9d8af135363631e4d3a366e6ccd89431aa99 (diff) |
dpdk: refactor device setup
Type: improvement
Change-Id: I9772088bca176fd0fdb162677ec55c59aa8f3adf
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/device.c')
-rw-r--r-- | src/plugins/dpdk/device/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c index b8418278fba..c9061a9949a 100644 --- a/src/plugins/dpdk/device/device.c +++ b/src/plugins/dpdk/device/device.c @@ -547,7 +547,7 @@ dpdk_subif_add_del_function (vnet_main_t * vnm, xd->num_subifs--; /* currently we program VLANS only for IXGBE VF */ - if (xd->pmd != VNET_DPDK_PMD_IXGBEVF) + if (xd->driver->program_vlans == 0) goto done; if (t->sub.eth.flags.no_tags == 1) |