git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ena: support xstat names by ID
[dpdk.git]
/
examples
/
ntb
/
ntb_fwd.c
diff --git
a/examples/ntb/ntb_fwd.c
b/examples/ntb/ntb_fwd.c
index
54b7f08
..
81964d0
100644
(file)
--- a/
examples/ntb/ntb_fwd.c
+++ b/
examples/ntb/ntb_fwd.c
@@
-89,17
+89,17
@@
static uint16_t pkt_burst = NTB_DFLT_PKT_BURST;
static struct rte_eth_conf eth_port_conf = {
.rxmode = {
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,
.split_hdr_size = 0,
},
.rx_adv_conf = {
.rss_conf = {
.rss_key = NULL,
- .rss_hf = ETH_RSS_IP,
+ .rss_hf =
RTE_
ETH_RSS_IP,
},
},
.txmode = {
},
},
.txmode = {
- .mq_mode = ETH_MQ_TX_NONE,
+ .mq_mode =
RTE_
ETH_MQ_TX_NONE,
},
};
},
};
@@
-696,7
+696,7
@@
assign_stream_to_lcores(void)
break;
}
break;
}
- /* Print packet forwading config. */
+ /* Print packet forwa
r
ding config. */
RTE_LCORE_FOREACH_WORKER(lcore_id) {
conf = &fwd_lcore_conf[lcore_id];
RTE_LCORE_FOREACH_WORKER(lcore_id) {
conf = &fwd_lcore_conf[lcore_id];
@@
-1498,5
+1498,8
@@
main(int argc, char **argv)
start_pkt_fwd();
}
start_pkt_fwd();
}
+ /* clean up the EAL */
+ rte_eal_cleanup();
+
return 0;
}
return 0;
}