]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Update UDP fields of the SKB for GSO first
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Mon, 9 Dec 2019 10:30:42 +0000 (12:30 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 9 May 2020 08:05:40 +0000 (01:05 -0700)
commitd0aaa85560be66c777e6e0b64f44009406631fbb
tree852dfc8ec6cc03d1bbb5af7079e12b1b9089b622
parent7372717377f15e871015a18fc2f41cef2a0d7665
net/mlx5e: Update UDP fields of the SKB for GSO first

mlx5e_udp_gso_handle_tx_skb updates the length field in the UDP header
in case of GSO. It doesn't interfere with other offloads, so do it first
to simplify further restructuring of the code. This way we'll make all
independent modifications to the SKB before starting to work with WQEs.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Raed Salem <raeds@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h