gpudev: add communication list
[dpdk.git] / examples / ntb / ntb_fwd.c
index 54b7f08..f110fc1 100644 (file)
@@ -89,17 +89,17 @@ static uint16_t pkt_burst = NTB_DFLT_PKT_BURST;
 
 static struct rte_eth_conf eth_port_conf = {
        .rxmode = {
-               .mq_mode = ETH_MQ_RX_RSS,
+               .mq_mode = RTE_ETH_MQ_RX_RSS,
                .split_hdr_size = 0,
        },
        .rx_adv_conf = {
                .rss_conf = {
                        .rss_key = NULL,
-                       .rss_hf = ETH_RSS_IP,
+                       .rss_hf = RTE_ETH_RSS_IP,
                },
        },
        .txmode = {
-               .mq_mode = ETH_MQ_TX_NONE,
+               .mq_mode = RTE_ETH_MQ_TX_NONE,
        },
 };
 
@@ -1498,5 +1498,8 @@ main(int argc, char **argv)
                start_pkt_fwd();
        }
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        return 0;
 }