Thread (33 messages) 33 messages, 6 authors, 2022-09-21

RE: [Patch v5 09/12] net: mana: Define max values for SGL entries

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2022-09-20 22:08:02
Also in: linux-hyperv, linux-rdma, lkml

-----Original Message-----
From: longli@linuxonhyperv.com <redacted>
Sent: Tuesday, August 30, 2022 8:34 PM
To: KY Srinivasan <kys@microsoft.com>; Haiyang Zhang
[off-list ref]; Stephen Hemminger
[off-list ref]; Wei Liu [off-list ref]; Dexuan Cui
[off-list ref]; David S. Miller [off-list ref]; Jakub
Kicinski [off-list ref]; Paolo Abeni [off-list ref]; Jason
Gunthorpe [off-list ref]; Leon Romanovsky [off-list ref];
edumazet@google.com; shiraz.saleem@intel.com; Ajay Sharma
[off-list ref]
Cc: linux-hyperv@vger.kernel.org; netdev@vger.kernel.org; linux-
kernel@vger.kernel.org; linux-rdma@vger.kernel.org; Long Li
[off-list ref]
Subject: [Patch v5 09/12] net: mana: Define max values for SGL entries

From: Long Li <longli@microsoft.com>

The number of maximum SGl entries should be computed from the maximum
WQE size for the intended queue type and the corresponding OOB data
size. This guarantees the hardware queue can successfully queue requests
up to the queue depth exposed to the upper layer.

Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help