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
net/ixgbe: fix Rx LRO capability offload for x550
[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
1103a18
..
a9cd765
100644
(file)
--- a/
drivers/net/e1000/em_rxtx.c
+++ b/
drivers/net/e1000/em_rxtx.c
@@
-1160,6
+1160,7
@@
em_get_tx_port_offloads_capa(struct rte_eth_dev *dev)
RTE_SET_USED(dev);
tx_offload_capa =
RTE_SET_USED(dev);
tx_offload_capa =
+ DEV_TX_OFFLOAD_MULTI_SEGS |
DEV_TX_OFFLOAD_VLAN_INSERT |
DEV_TX_OFFLOAD_IPV4_CKSUM |
DEV_TX_OFFLOAD_UDP_CKSUM |
DEV_TX_OFFLOAD_VLAN_INSERT |
DEV_TX_OFFLOAD_IPV4_CKSUM |
DEV_TX_OFFLOAD_UDP_CKSUM |
@@
-1416,12
+1417,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. */