dpdk: Add support for Mellanox ConnectX-4 devices
[vpp.git] / vnet / vnet / devices / ssvm / node.c
index e613cc9..3a695b1 100644 (file)
@@ -77,11 +77,7 @@ ssvm_eth_device_input (ssvm_eth_main_t * em,
   int rx_queue_index;
   u32 n_to_alloc = VLIB_FRAME_SIZE * 2;
   u32 n_allocated, n_present_in_cache;
-#if DPDK > 0
-  u32 next_index = DPDK_RX_NEXT_ETHERNET_INPUT;
-#else
-  u32 next_index = 0;
-#endif
+  u32 next_index = VNET_DEVICE_INPUT_NEXT_ETHERNET_INPUT;
   vlib_buffer_free_list_t *fl;
   u32 n_left_to_next, *to_next;
   u32 next0;