net/mlx5e: Do not reduce LRO WQE size when not using build_skb
authorTariq Toukan <tariqt@mellanox.com>
Wed, 22 Feb 2017 15:20:13 +0000 (17:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2017 15:43:09 +0000 (10:43 -0500)
commit4078e637c12f1e0a74293f1ec9563f42bff14a03
tree599452d76624f14e4632c6e7522924b1db38a890
parent6f08a22c5fb2b9aefb8ecd8496758e7a677c1fde
net/mlx5e: Do not reduce LRO WQE size when not using build_skb

When rq_type is Striding RQ, no room of SKB_RESERVE is needed
as SKB allocation is not done via build_skb.

Fixes: e4b85508072b ("net/mlx5e: Slightly reduce hardware LRO size")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c