]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2017 11:56:54 +0000 (12:56 +0100)
commit850a1bfbf35d59763d2581b9ea389a0565882bd8
treea14796fa1292c2adedef20bcfdb3904e9ad94e65
parent96b457b80526017111ad6dace294729aa3270cab
net/mlx5e: Do not reduce LRO WQE size when not using build_skb

[ Upstream commit 4078e637c12f1e0a74293f1ec9563f42bff14a03 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c