Skip to content

Commit

Permalink
netdev-dpdk: Restore outer UDP checksum for Intel nics.
Browse files Browse the repository at this point in the history
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: 0256ee6 ("dpdk: Use DPDK 23.11.2 release.")
Signed-off-by: David Marchand <[email protected]>
Acked-by: Mike Pattrick <[email protected]>
Signed-off-by: Kevin Traynor <[email protected]>
  • Loading branch information
david-marchand authored and kevintraynor committed Dec 12, 2024
1 parent 6f075ae commit af292d2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/netdev-dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit af292d2

Please sign in to comment.