[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200626074725.GA21790@lst.de>
Date: Fri, 26 Jun 2020 09:47:25 +0200
From: Christoph Hellwig <hch@....de>
To: Björn Töpel <bjorn.topel@...el.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: the XSK buffer pool needs be to reverted
Hi Björn,
you addition of the xsk_buff_pool.c APIs in commit 2b43470add8c
("xsk: Introduce AF_XDP buffer allocation API") is unfortunately rather
broken by making lots of assumptions and poking into dma-direct and
swiotlb internals that are of no business to outside users and clearly
marked as such. I'd be glad to work with your doing something proper
for pools, but that needs proper APIs and probably live in the dma
mapping core, but for that you'd actually need to contact the relevant
maintainers before poking into internals.
The commit seems to have a long dove tail of commits depending on it
despite only being a month old, so maybe you can do the revert for now?
Note that this is somewhat urgent, as various of the APIs that the code
is abusing are slated to go away for Linux 5.9, so this addition comes
at a really bad time.
Powered by blists - more mailing lists