]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use PARTIAL_GSO for UDP segmentation
authorBoris Pismenny <borisp@mellanox.com>
Sat, 30 Jun 2018 19:14:27 +0000 (22:14 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 23 Jul 2018 22:01:11 +0000 (15:01 -0700)
commite38f1a485958cab4ffebcb2678d25e75e210f2e5
tree03c85492a9c0491c2560340ad81972e62eb45ad2
parentb851b6629a7f4c71f8c07663198f8afad411bdfb
net/mlx5e: Use PARTIAL_GSO for UDP segmentation

This patch removes the splitting of UDP_GSO_L4 packets in the driver,
and exposes UDP_GSO_L4 as a PARTIAL_GSO feature. Thus, the network stack
is not responsible for splitting the packet into two.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/rxtx.c [deleted file]
drivers/net/ethernet/mellanox/mlx5/core/en_accel/rxtx.h [deleted file]
drivers/net/ethernet/mellanox/mlx5/core/en_main.c