]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit4d533e0f86952eb97f66f2c9548313f6e51066c0
tree87543b33d79d9a8cf3509c1875edeed7291fd7e6
parent3f6d08d196b2d05e36c86d7ccbbaa3431a431bed
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