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
app/testpmd: set and clear keep CRC offload flag
[dpdk.git]
/
doc
/
guides
/
sample_app_ug
/
flow_classify.rst
diff --git
a/doc/guides/sample_app_ug/flow_classify.rst
b/doc/guides/sample_app_ug/flow_classify.rst
index
a009596
..
003ed03
100644
(file)
--- a/
doc/guides/sample_app_ug/flow_classify.rst
+++ b/
doc/guides/sample_app_ug/flow_classify.rst
@@
-279,9
+279,6
@@
Forwarding application is shown below:
int retval;
uint16_t q;
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)
/* Configure the Ethernet device. */
retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf);
if (retval != 0)