]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5e: Fix traffic being dropped on VF representor
authorRoi Dayan <roid@mellanox.com>
Wed, 28 Feb 2018 10:56:42 +0000 (12:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Apr 2018 10:31:20 +0000 (12:31 +0200)
commit2030a5c0ab139208e33b7137ded115ff705dcfdb
tree027e9e65a1d952cb7abcbb9792f94f65d9c0d776
parent2b9260fb6f35d6865890ba75e90a77dbe9cf1a82
net/mlx5e: Fix traffic being dropped on VF representor

[ Upstream commit 4246f698dd58e3c6246fa919ef0b0a1d29a57e4a ]

Increase representor netdev RQ size to avoid dropped packets.
The current size (two) is just too small to keep up with
conventional slow path traffic patterns.
Also match the SQ size to the RQ size.

Fixes: cb67b832921c ("net/mlx5e: Introduce SRIOV VF representors")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c