From 0d3b355290ca53475dc40230242503c27694b8f8 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 5 Jul 2017 02:04:36 +0200 Subject: dpdk: add FiftyGigabitEtherenet interface support Change-Id: Ied8b26179cdf4add34440a9c396cb821716cfb8e Signed-off-by: Damjan Marion --- src/plugins/dpdk/device/init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/dpdk/device/init.c') diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index 2e2b730972b..68c55f306bf 100755 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -61,6 +61,8 @@ port_type_from_speed_capa (struct rte_eth_dev_info *dev_info) if (dev_info->speed_capa & ETH_LINK_SPEED_100G) return VNET_DPDK_PORT_TYPE_ETH_100G; + else if (dev_info->speed_capa & ETH_LINK_SPEED_50G) + return VNET_DPDK_PORT_TYPE_ETH_50G; else if (dev_info->speed_capa & ETH_LINK_SPEED_40G) return VNET_DPDK_PORT_TYPE_ETH_40G; else if (dev_info->speed_capa & ETH_LINK_SPEED_25G) -- cgit 1.2.3-korg