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
fix ethdev port id validation
[dpdk.git]
/
doc
/
guides
/
sample_app_ug
/
rxtx_callbacks.rst
diff --git
a/doc/guides/sample_app_ug/rxtx_callbacks.rst
b/doc/guides/sample_app_ug/rxtx_callbacks.rst
index
0bb0d3e
..
85d96d8
100644
(file)
--- a/
doc/guides/sample_app_ug/rxtx_callbacks.rst
+++ b/
doc/guides/sample_app_ug/rxtx_callbacks.rst
@@
-83,9
+83,6
@@
comments:
int retval;
uint16_t q;
- if (port >= rte_eth_dev_count())
- return -1;
-
/* Configure the Ethernet device. */
retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf);
if (retval != 0)