Code Review
/
samplevnf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[UDP_Replay] fixing of compiler warning
[samplevnf.git]
/
VNFs
/
UDP_Replay
/
main.c
diff --git
a/VNFs/UDP_Replay/main.c
b/VNFs/UDP_Replay/main.c
index
e6bc8aa
..
1b37c18
100644
(file)
--- a/
VNFs/UDP_Replay/main.c
+++ b/
VNFs/UDP_Replay/main.c
@@
-2890,7
+2890,7
@@
main(int argc, char **argv)
int ret;
unsigned nb_ports;
unsigned lcore_id;
int ret;
unsigned nb_ports;
unsigned lcore_id;
- uint32_t n_tx_queue
, nb_lcores
;
+ uint32_t n_tx_queue;
uint8_t portid, nb_rx_queue;
struct cmdline *cl;
uint32_t size;
uint8_t portid, nb_rx_queue;
struct cmdline *cl;
uint32_t size;
@@
-2927,8
+2927,6
@@
main(int argc, char **argv)
if (check_port_config(nb_ports) < 0)
rte_exit(EXIT_FAILURE, "check_port_config failed\n");
if (check_port_config(nb_ports) < 0)
rte_exit(EXIT_FAILURE, "check_port_config failed\n");
- nb_lcores = rte_lcore_count();
-
/*
*Configuring port_config_t structure for interface manager initialization
*/
/*
*Configuring port_config_t structure for interface manager initialization
*/