Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ice: fix outer UDP checksum offload
[ upstream commit 10fbf1af4c5548b85b4791d241cdef62755240b1 ] Currently, when dealing with UDP tunnel pkts checksum offloading, the outer-udp checksum will be offloaded by default. So the 'csum set outer-udp hw/sw' command does not work. This patch fixes judgment of the EIPT flag and enables the 'csum set outer-udp hw/sw' command by adding judgment for the outer-udp checksum offload flag. Fixes: bd70c45 ("net/ice: support Tx checksum offload for tunnel") Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information