OSDN Git Service

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)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Mar 2018 20:58:15 +0000 (13:58 -0700)
commit4246f698dd58e3c6246fa919ef0b0a1d29a57e4a
treedaeaa5e6027bdf110dc27177239398ee7b005957
parentb392a2078b5e0094ff38aa0c9d2a31b3f607d4ef
net/mlx5e: Fix traffic being dropped on VF representor

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>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c