]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Enable setting hairpin queue size
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 4 Jan 2018 10:26:21 +0000 (12:26 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 19 Jan 2018 20:41:32 +0000 (22:41 +0200)
commit5be693706e1a05a257b467e4347e6c2f42d26b1e
tree87543b33d79d9a8cf3509c1875edeed7291fd7e6
parent4b248b72b165b3ad558b3ba8ecced63aa69fc59d
net/mlx5: Enable setting hairpin queue size

Allow to specify the size of the hairpin queues along with the
packet buffer data size from the core setup code.

If the driver doesn't provide this, the FW applies proper value that
matches the provided data size and a FW chosen RQ stride size.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/transobj.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/transobj.h