summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/avf/device.c')
-rw-r--r--src/plugins/avf/device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/avf/device.c b/src/plugins/avf/device.c
index d595da281b7..543a54e60ca 100644
--- a/src/plugins/avf/device.c
+++ b/src/plugins/avf/device.c
@@ -1026,6 +1026,10 @@ avf_process_one_device (vlib_main_t * vm, avf_device_t * ad, int is_irq)
kbps = 25000000;
else if (speed == VIRTCHNL_LINK_SPEED_10GB)
kbps = 10000000;
+ else if (speed == VIRTCHNL_LINK_SPEED_5GB)
+ kbps = 5000000;
+ else if (speed == VIRTCHNL_LINK_SPEED_2_5GB)
+ kbps = 2500000;
else if (speed == VIRTCHNL_LINK_SPEED_1GB)
kbps = 1000000;
else if (speed == VIRTCHNL_LINK_SPEED_100MB)