aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dpdk/device/device.c')
-rw-r--r--src/plugins/dpdk/device/device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c
index 0ba59562838..c5abbd5f727 100644
--- a/src/plugins/dpdk/device/device.c
+++ b/src/plugins/dpdk/device/device.c
@@ -597,8 +597,10 @@ dpdk_interface_set_rss_queues (struct vnet_main_t *vnm,
u16 valid_queue_count = 0;
uint32_t i, j;
uint32_t ret;
+ int __clib_unused rv;
- rte_eth_dev_info_get (xd->port_id, &dev_info);
+ rv = rte_eth_dev_info_get (xd->port_id, &dev_info);
+ ASSERT (rv == 0);
/* parameter check */
if (clib_bitmap_count_set_bits (bitmap) == 0)