Fixing the issue of incorrect outer UDP checksum in packets sent by
the wangxun network card (driver is txgbe), we disabled
RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM.
Fixes: 084c8087292c ("userspace: Support VXLAN and GENEVE TSO.")
Reported-by: Jun Wang <[email protected]>
Signed-off-by: Jun Wang <[email protected]>
---
lib/netdev-dpdk.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index a3878d2..e454a4a 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -1355,12 +1355,13 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev)
if (!strcmp(info.driver_name, "net_ice")
|| !strcmp(info.driver_name, "net_i40e")
- || !strcmp(info.driver_name, "net_iavf")) {
+ || !strcmp(info.driver_name, "net_iavf")
+ || !strcmp(info.driver_name, "net_txgbe")) {
/* FIXME: Driver advertises the capability but doesn't seem
* to actually support it correctly. Can remove this once
* the driver is fixed on DPDK side. */
VLOG_INFO("%s: disabled Tx outer udp checksum offloads for a "
- "net/ice, net/i40e or net/iavf port.",
+ "net/ice, net/i40e, net/iavf or net/txgbe port.",
netdev_get_name(&dev->up));
info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM;
}
--
1.8.3.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev