aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/dpdk.h
diff options
context:
space:
mode:
authorMohammed Hawari <mhawari@cisco.com>2017-05-17 15:52:02 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-05-23 09:52:55 +0000
commit5c89c420861ab938151f0bb0a298bb04d590ff2b (patch)
tree67905cba518eda2682544f7711cc80412ee08f01 /src/plugins/dpdk/device/dpdk.h
parent8142499cd1cb3b8d0168d0e6cf5309c5b4813cc4 (diff)
Added support for Virtio-user interfaces by means of a new VNET_DPDK_PORT_TYPE.
Change-Id: I101e32cee8d9de51227b39ec2639c9fb44da1e6c Signed-off-by: Mohammed Hawari <mhawari@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/dpdk.h')
-rw-r--r--src/plugins/dpdk/device/dpdk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index ab5da5672ec..d82ba5ddaca 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -73,7 +73,9 @@ extern vlib_node_registration_t dpdk_input_node;
_ ("net_cxgbe", CXGBE) \
_ ("net_mlx4", MLX4) \
_ ("net_mlx5", MLX5) \
- _ ("net_dpaa2", DPAA2)
+ _ ("net_dpaa2", DPAA2) \
+ _ ("net_virtio_user", VIRTIO_USER)
+
typedef enum
{
@@ -95,6 +97,7 @@ typedef enum
VNET_DPDK_PORT_TYPE_ETH_SWITCH,
VNET_DPDK_PORT_TYPE_AF_PACKET,
VNET_DPDK_PORT_TYPE_ETH_VF,
+ VNET_DPDK_PORT_TYPE_VIRTIO_USER,
VNET_DPDK_PORT_TYPE_UNKNOWN,
} dpdk_port_type_t;