Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix dkms issues on 4.11 (LP: #1691830)
[deb_dpdk.git]
/
examples
/
dpdk_qat
/
main.c
diff --git
a/examples/dpdk_qat/main.c
b/examples/dpdk_qat/main.c
index
dc68989
..
aa9b1d5
100644
(file)
--- a/
examples/dpdk_qat/main.c
+++ b/
examples/dpdk_qat/main.c
@@
-62,7
+62,6
@@
#include <rte_debug.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
#include <rte_debug.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
-#include <rte_ring.h>
#include <rte_mempool.h>
#include <rte_mbuf.h>
#include <rte_ip.h>
#include <rte_mempool.h>
#include <rte_mbuf.h>
#include <rte_ip.h>
@@
-661,8
+660,6
@@
main(int argc, char **argv)
return -1;
nb_ports = rte_eth_dev_count();
return -1;
nb_ports = rte_eth_dev_count();
- if (nb_ports > RTE_MAX_ETHPORTS)
- nb_ports = RTE_MAX_ETHPORTS;
if (check_port_config(nb_ports) < 0)
rte_panic("check_port_config failed\n");
if (check_port_config(nb_ports) < 0)
rte_panic("check_port_config failed\n");