diff options
author | Damjan Marion <damarion@cisco.com> | 2017-05-08 18:19:45 +0200 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2017-05-08 20:29:40 +0000 |
commit | 1ea82dfe5dabb0f9bbfa5ba953ef31328c987b89 (patch) | |
tree | bfdab60f531e58813b71691cb0f8ca20d59247c9 /src/plugins/dpdk/device/format.c | |
parent | 3c785e09a039a20517dd9aab9c32d121a19f9d38 (diff) |
dpdk: use speed_capa to detect i40e device speed
Change-Id: I1decca6fb5ce6de74ccbcd5a262ebd3db6f55cdc
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/format.c')
-rw-r--r-- | src/plugins/dpdk/device/format.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c index 93eca524380..389cd8b6c33 100644 --- a/src/plugins/dpdk/device/format.c +++ b/src/plugins/dpdk/device/format.c @@ -168,6 +168,10 @@ format_dpdk_device_name (u8 * s, va_list * args) device_name = "TenGigabitEthernet"; break; + case VNET_DPDK_PORT_TYPE_ETH_25G: + device_name = "TwentyFiveGigabitEthernet"; + break; + case VNET_DPDK_PORT_TYPE_ETH_40G: device_name = "FortyGigabitEthernet"; break; |