Skip to content

Commit 910e083

Browse files
david-marchandkevintraynor
authored andcommitted
netdev-dpdk: Restore outer UDP checksum for Intel nics.
Fixes for Intel drivers are included in DPDK v23.11.2. Link: https://git.dpdk.org/dpdk-stable/commit/?id=e8c2cccfbdef Link: https://git.dpdk.org/dpdk-stable/commit/?id=1970a0ca45f1 Link: https://git.dpdk.org/dpdk-stable/commit/?id=80c5c9789b73 Fixes: 084c808 ("userspace: Support VXLAN and GENEVE TSO.") Signed-off-by: David Marchand <[email protected]> Acked-by: Mike Pattrick <[email protected]> Acked-by: Kevin Traynor <[email protected]>
1 parent acee757 commit 910e083

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: lib/netdev-dpdk.c

+2-5
Original file line numberDiff line numberDiff line change
@@ -1353,15 +1353,12 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev)
13531353
info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_TCP_CKSUM;
13541354
}
13551355

1356-
if (!strcmp(info.driver_name, "net_ice")
1357-
|| !strcmp(info.driver_name, "net_i40e")
1358-
|| !strcmp(info.driver_name, "net_iavf")
1359-
|| !strcmp(info.driver_name, "net_txgbe")) {
1356+
if (!strcmp(info.driver_name, "net_txgbe")) {
13601357
/* FIXME: Driver advertises the capability but doesn't seem
13611358
* to actually support it correctly. Can remove this once
13621359
* the driver is fixed on DPDK side. */
13631360
VLOG_INFO("%s: disabled Tx outer udp checksum offloads for a "
1364-
"net/ice, net/i40e, net/iavf or net/txgbe port.",
1361+
"net/txgbe port.",
13651362
netdev_get_name(&dev->up));
13661363
info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM;
13671364
info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO;

0 commit comments

Comments
 (0)