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
New upstream version 17.11.5
[deb_dpdk.git]
/
drivers
/
net
/
e1000
/
em_rxtx.c
diff --git
a/drivers/net/e1000/em_rxtx.c
b/drivers/net/e1000/em_rxtx.c
index
1d8f079
..
a15ce22
100644
(file)
--- a/
drivers/net/e1000/em_rxtx.c
+++ b/
drivers/net/e1000/em_rxtx.c
@@
-1369,12
+1369,13
@@
eth_em_rx_queue_setup(struct rte_eth_dev *dev,
}
/*
}
/*
- * EM devices don't support drop_en functionality
+ * EM devices don't support drop_en functionality.
+ * It's an optimization that does nothing on single-queue devices,
+ * so just log the issue and carry on.
*/
if (rx_conf->rx_drop_en) {
*/
if (rx_conf->rx_drop_en) {
- PMD_INIT_LOG(
ERR
, "drop_en functionality not supported by "
+ PMD_INIT_LOG(
NOTICE
, "drop_en functionality not supported by "
"device");
"device");
- return -EINVAL;
}
/* Free memory prior to re-allocation if needed. */
}
/* Free memory prior to re-allocation if needed. */