]> 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)
commitea61cc13384d24172ecc9fa8a1f5ccd4d8896784
tree852dfc8ec6cc03d1bbb5af7079e12b1b9089b622
parent73c16d609f008b55b82dd927753f47f20575978d
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