All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/1] s390/ism: Fix splice for SMC-D
@ 2024-03-28 15:41 Gerd Bayer
  2024-03-28 15:41 ` [PATCH net 1/1] s390/ism: fix receive message buffer allocation Gerd Bayer
  0 siblings, 1 reply; 10+ messages in thread
From: Gerd Bayer @ 2024-03-28 15:41 UTC (permalink / raw)
  To: Wenjia Zhang, Wen Gu, Heiko Carstens, pasic, schnelle
  Cc: linux-s390, netdev, Alexandra Winter, Thorsten Winkler,
	Vasily Gorbik, Alexander Gordeev, Christian Borntraeger,
	Sven Schnelle, Gerd Bayer

Hi all,

due to a change in the DMA API - to no longer provide compound
pages with dma_alloc_coherent - splice broke for the SMC-D protocol.
Here, I'm proposing a fix for that.

I'm aware that this is a rather coarse fix attempt and a proper
solution would be to rework the	SMC-D protocol to drop the requirement
for compound pages. That work might take some more time.

Meanwhile, I'd like to probe if this change in how DMA buffers for ISM
devices get allocated is acceptable as an interim solution.

With this change applied on top of current master, our test-cases for
SMC-D splice complete successfully again.

Gerd Bayer (1):
  s390/ism: fix receive message buffer allocation

 drivers/s390/net/ism_drv.c | 35 ++++++++++++++++++++++++++---------
 1 file changed, 26 insertions(+), 9 deletions(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-15 13:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 15:41 [PATCH net 0/1] s390/ism: Fix splice for SMC-D Gerd Bayer
2024-03-28 15:41 ` [PATCH net 1/1] s390/ism: fix receive message buffer allocation Gerd Bayer
2024-03-28 15:59   ` Gerd Bayer
2024-04-04  8:13   ` Paolo Abeni
2024-04-04 11:10     ` Gerd Bayer
2024-04-05  6:49       ` Christoph Hellwig
2024-04-05 10:42         ` Gerd Bayer
2024-04-05 11:29           ` Niklas Schnelle
2024-04-05 14:36             ` Christoph Hellwig
2024-04-15 13:28               ` Gerd Bayer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.