mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
netdev-dpdk: Re-enable VXLAN/Geneve offload for Intel cards.
Previously support for UDP tunneled traffic TCP traffic with UDP checksum offloading did not work well in cases where the sending network card didn't also support these features. Some of the code had been written to assume that if a card supported VXLAN/Geneve offloading, then it also supported outer UDP checksum offloading. However, this was not the case for some Intel network cards. A previous change disabled the VXLAN/Geneve offload flags for these cards as a temporary fix. However, with "Userspace: Software fallback for UDP encapsulated TCP segmentation.", the logic related to software fallback for checksum offloading now anticipates this configuration. The modification to the outer UDP offload flag is still required. This feature does not work as expected in the current DPDK release. Suggested-by: David Marchand <david.marchand@redhat.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Mike Pattrick <mkp@redhat.com> Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
This commit is contained in:
committed by
Eelco Chaudron
parent
82c1028e37
commit
bd48ff8f7d
@@ -1363,8 +1363,6 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev)
|
||||
"net/ice, net/i40e or net/iavf port.",
|
||||
netdev_get_name(&dev->up));
|
||||
info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM;
|
||||
info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO;
|
||||
info.tx_offload_capa &= ~RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO;
|
||||
}
|
||||
|
||||
if (info.tx_offload_capa & RTE_ETH_TX_OFFLOAD_IPV4_CKSUM) {
|
||||
|
Reference in New Issue
Block a user