diff options
Diffstat (limited to 'vnet/vnet/devices/dpdk/dpdk.h')
-rw-r--r-- | vnet/vnet/devices/dpdk/dpdk.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vnet/vnet/devices/dpdk/dpdk.h b/vnet/vnet/devices/dpdk/dpdk.h index 90a50dafa43..e7c177b9329 100644 --- a/vnet/vnet/devices/dpdk/dpdk.h +++ b/vnet/vnet/devices/dpdk/dpdk.h @@ -218,8 +218,9 @@ typedef struct dpdk_pmd_t pmd:8; i8 cpu_socket; - u8 admin_up; - u8 promisc; + u16 flags; +#define DPDK_DEVICE_FLAG_ADMIN_UP (1 << 0) +#define DPDK_DEVICE_FLAG_PROMISC (1 << 1) CLIB_CACHE_LINE_ALIGN_MARK (cacheline1); |