RE: [PATCH 10/13] megaraid_sas: set virt_boundary_mask in the scsi host

From
Kashyap Desai <kashyap.desai@broadcom.com>
Date
2019-06-13 19:58:52
Also in
linux-hyperv, linux-mmc, linux-nvme, linux-rdma, linux-scsi, linux-usb, lkml
Reply to
Christoph Hellwig, 2019-06-08
On Thu, Jun 06, 2019 at 09:07:27PM +0530, Kashyap Desai wrote:
quoted
Hi Christoph, Changes for <megaraid_sas> and <mpt3sas> looks good. We
want to confirm few sanity before ACK. BTW, what benefit we will see
moving virt_boundry setting to SCSI mid layer ? Is it just modular
approach OR any functional fix ?
The big difference is that virt_boundary now also changes the
max_segment_size, and this ensures that this limit is also communicated
to
the DMA mapping layer.
Is there any changes in API  blk_queue_virt_boundary? I could not find
relevant code which account for this. Can you help ?
Which git repo shall I use for testing ? That way I can confirm, I didn't
miss relevant changes.

From your above explanation, it means (after this patch) max segment size
of the MR controller will be set to 4K.
Earlier it is possible to receive single SGE of 64K datalength (Since max
seg size was 64K), but now the same buffer will reach the driver having 16
SGEs (Each SGE will contain 4K length).
Right ?

Kashyap
Thread (31 messages) 31 messages, 6 authors, last reply 2019-06-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help