net/mlx5e: Refactor data-path lro header function
authorTariq Toukan <tariqt@mellanox.com>
Mon, 5 Jun 2017 08:17:20 +0000 (11:17 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 3 Sep 2017 03:34:09 +0000 (06:34 +0300)
commit604acb193b8383a3774673c324e576e4c6b4ffcd
treec507d2649bea4ebeedb4932e8531d778144be257
parent4b7dfc9925143eb4a55bbb97c033d6da03b29bff
net/mlx5e: Refactor data-path lro header function

Refactor function mlx5e_lro_update_hdr() to reduce number of
branches.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
include/linux/mlx5/device.h