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)
commit5546100038eeff96fd0361f9b820405c016f8578
tree852dfc8ec6cc03d1bbb5af7079e12b1b9089b622
parent2eeb6e384102e1124d0a5633803dda0cdbcac471
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