aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mlx5/transobj.h
diff options
context:
space:
mode:
authorOr Gerlitz2018-01-04 12:26:21 +0200
committerSaeed Mahameed2018-01-19 22:41:32 +0200
commit4d533e0f86952eb97f66f2c9548313f6e51066c0 (patch)
tree87543b33d79d9a8cf3509c1875edeed7291fd7e6 /include/linux/mlx5/transobj.h
parent3f6d08d196b2d05e36c86d7ccbbaa3431a431bed (diff)
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>
Diffstat (limited to 'include/linux/mlx5/transobj.h')
-rw-r--r--include/linux/mlx5/transobj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/transobj.h b/include/linux/mlx5/transobj.h
index 1bcd8d5562f0..7e8f281f8c00 100644
--- a/include/linux/mlx5/transobj.h
+++ b/include/linux/mlx5/transobj.h
@@ -77,6 +77,7 @@ void mlx5_core_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn);
struct mlx5_hairpin_params {
u8 log_data_size;
+ u8 log_num_packets;
u16 q_counter;
int num_channels;
};