net/mlx5e: Use u8 instead of int for LRO number of segments
authorTariq Toukan <tariqt@mellanox.com>
Thu, 23 Nov 2017 12:29:25 +0000 (14:29 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 14 May 2018 22:10:21 +0000 (15:10 -0700)
commitbd206fd52e039870027d23d6de9f432272fc61d5
tree8fb49ebbe6fbe44dcf6c28a603e53fd2c277c640
parente36d4810f2e98110e2b0de11ffc60f71a0a26805
net/mlx5e: Use u8 instead of int for LRO number of segments

Range of LRO number of segments fits in u8.
Also, bring initialization and declaration together to
save code.

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