You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.9 KiB
55 lines
1.9 KiB
4 years ago
|
From b3ef775e164cb586b2967356b0a9c03582920495 Mon Sep 17 00:00:00 2001
|
||
|
From: Alaa Hleihel <ahleihel@redhat.com>
|
||
|
Date: Sun, 10 May 2020 15:03:29 -0400
|
||
|
Subject: [PATCH 070/312] [include] net/mlx5: Expose optimal performance
|
||
|
scatter entries capability
|
||
|
|
||
|
Message-id: <20200510150452.10307-5-ahleihel@redhat.com>
|
||
|
Patchwork-id: 306628
|
||
|
Patchwork-instance: patchwork
|
||
|
O-Subject: [RHEL8.3 BZ 1789380 v2 04/87] net/mlx5: Expose optimal performance scatter entries capability
|
||
|
Bugzilla: 1789380
|
||
|
RH-Acked-by: Kamal Heib <kheib@redhat.com>
|
||
|
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
||
|
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
|
||
|
RH-Acked-by: Jonathan Toppins <jtoppins@redhat.com>
|
||
|
|
||
|
Bugzilla: http://bugzilla.redhat.com/1789380
|
||
|
Upstream: v5.5-rc1
|
||
|
|
||
|
commit 7d47433cf74f942a414171867d89c08640cfef45
|
||
|
Author: Yamin Friedman <yaminf@mellanox.com>
|
||
|
Date: Mon Oct 7 16:59:31 2019 +0300
|
||
|
|
||
|
net/mlx5: Expose optimal performance scatter entries capability
|
||
|
|
||
|
Expose maximum scatter entries per RDMA READ for optimal performance.
|
||
|
|
||
|
Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
|
||
|
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
|
||
|
Reviewed-by: Christoph Hellwig <hch@lst.de>
|
||
|
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
|
||
|
|
||
|
Signed-off-by: Alaa Hleihel <ahleihel@redhat.com>
|
||
|
Signed-off-by: Frantisek Hrbata <fhrbata@redhat.com>
|
||
|
---
|
||
|
include/linux/mlx5/mlx5_ifc.h | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
|
||
|
index caa0bcd9dd0f..a77ca587c3cc 100644
|
||
|
--- a/include/linux/mlx5/mlx5_ifc.h
|
||
|
+++ b/include/linux/mlx5/mlx5_ifc.h
|
||
|
@@ -1156,7 +1156,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
|
||
|
u8 log_max_srq[0x5];
|
||
|
u8 reserved_at_b0[0x10];
|
||
|
|
||
|
- u8 reserved_at_c0[0x8];
|
||
|
+ u8 max_sgl_for_optimized_performance[0x8];
|
||
|
u8 log_max_cq_sz[0x8];
|
||
|
u8 reserved_at_d0[0xb];
|
||
|
u8 log_max_cq[0x5];
|
||
|
--
|
||
|
2.13.6
|
||
|
|