summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenminSun <chenmin.sun@intel.com>2019-03-13 22:18:39 +0800
committerDamjan Marion <dmarion@me.com>2019-03-14 13:25:12 +0000
commit53ba544d78070f029d3811b95f0cdfd8851978da (patch)
treefad4c9b2335b226953f38b7dd37c5bcedad14bc2
parent2331e48ff981e83b46f82c661383f398c63c2bb7 (diff)
dpdk: Add E810 family support
Change-Id: Id5b30d7a394551844a79b3d222d2d26194d033df Signed-off-by: ChenminSun <chenmin.sun@intel.com>
-rw-r--r--src/plugins/dpdk/device/dpdk.h1
-rw-r--r--src/plugins/dpdk/device/format.c4
-rw-r--r--src/plugins/dpdk/device/init.c1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 161dade478b..fda42f996e9 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -68,6 +68,7 @@ extern vlib_node_registration_t admin_up_down_process_node;
_ ("net_ixgbe_vf", IXGBEVF) \
_ ("net_i40e", I40E) \
_ ("net_i40e_vf", I40EVF) \
+ _ ("net_ice", ICE) \
_ ("net_virtio", VIRTIO) \
_ ("net_enic", ENIC) \
_ ("net_vmxnet3", VMXNET3) \
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c
index 9dbaaba5ba8..add16039015 100644
--- a/src/plugins/dpdk/device/format.c
+++ b/src/plugins/dpdk/device/format.c
@@ -283,6 +283,10 @@ format_dpdk_device_type (u8 * s, va_list * args)
dev_type = "Intel X710/XL710 Family VF";
break;
+ case VNET_DPDK_PMD_ICE:
+ dev_type = "Intel E810 Family";
+ break;
+
case VNET_DPDK_PMD_FM10K:
dev_type = "Intel FM10000 Family Ethernet Switch";
break;
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 09996412b2f..1a7792bf197 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -388,6 +388,7 @@ dpdk_lib_init (dpdk_main_t * dm)
case VNET_DPDK_PMD_IGB:
case VNET_DPDK_PMD_IXGBE:
case VNET_DPDK_PMD_I40E:
+ case VNET_DPDK_PMD_ICE:
xd->port_type = port_type_from_speed_capa (&dev_info);
xd->supported_flow_actions = VNET_FLOW_ACTION_MARK |
VNET_FLOW_ACTION_REDIRECT_TO_NODE |