From af292d273f2c1e3ebaf32f9965665299a94db7aa Mon Sep 17 00:00:00 2001 From: David Marchand Date: Wed, 27 Nov 2024 16:31:30 +0100 Subject: [PATCH] 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: 0256ee64ed39 ("dpdk: Use DPDK 23.11.2 release.") Signed-off-by: David Marchand Acked-by: Mike Pattrick Signed-off-by: Kevin Traynor --- lib/netdev-dpdk.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index dc52a2b569b..449c660a77d 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -1366,15 +1366,12 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev) info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_TCP_CKSUM; } - if (!strcmp(info.driver_name, "net_ice") - || !strcmp(info.driver_name, "net_i40e") - || !strcmp(info.driver_name, "net_iavf") - || !strcmp(info.driver_name, "net_txgbe")) { + if (!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, net/iavf or net/txgbe port.", + "net/txgbe port.", netdev_get_name(&dev->up)); info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM; }