OSDN Git Service

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)
commit3f44899ef2ce0c9da49feb0d6f08098a08cb96ae
tree03c85492a9c0491c2560340ad81972e62eb45ad2
parentcc495188a8ff0d169ad7c0182acd9c08b90e29ea
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