All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Cc: netdev@vger.kernel.org, "Björn Töpel" <bjorn@kernel.org>,
	"Magnus Karlsson" <magnus.karlsson@intel.com>,
	"Maciej Fijalkowski" <maciej.fijalkowski@intel.com>,
	"Jonathan Lemon" <jonathan.lemon@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@google.com>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Alexei Starovoitov" <ast@kernel.org>,
	"Daniel Borkmann" <daniel@iogearbox.net>,
	"Jesper Dangaard Brouer" <hawk@kernel.org>,
	"John Fastabend" <john.fastabend@gmail.com>,
	bpf@vger.kernel.org, virtualization@lists.linux-foundation.org,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Guenter Roeck" <linux@roeck-us.net>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Jason Wang" <jasowang@redhat.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Jens Axboe" <axboe@kernel.dk>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Christoph Hellwig" <hch@infradead.org>
Subject: Re: [PATCH net-next] xsk: introduce xsk_dma_ops
Date: Fri, 21 Apr 2023 06:50:59 -0700	[thread overview]
Message-ID: <20230421065059.1bc78133@kernel.org> (raw)
In-Reply-To: <1682062264.418752-2-xuanzhuo@linux.alibaba.com>

On Fri, 21 Apr 2023 15:31:04 +0800 Xuan Zhuo wrote:
> I am not particularly familiar with dma-bufs. I want to know if this mechanism
> can solve the problem of virtio-net.
> 
> I saw this framework, allowing the driver do something inside the ops of
> dma-bufs.
> 
> If so, is it possible to propose a new patch based on dma-bufs?

I haven't looked in detail, maybe Olek has? AFAIU you'd need to rework
uAPI of XSK to allow user to pass in a dma-buf region rather than just
a user VA. So it may be a larger effort but architecturally it may be
the right solution.

  reply	other threads:[~2023-04-21 13:51 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17  3:27 [PATCH net-next] xsk: introduce xsk_dma_ops Xuan Zhuo
2023-04-17  3:27 ` Xuan Zhuo
2023-04-17  4:24 ` Christoph Hellwig
2023-04-17  4:24   ` Christoph Hellwig
2023-04-17  5:58   ` Xuan Zhuo
2023-04-17  5:58     ` Xuan Zhuo
2023-04-17 18:56     ` Jakub Kicinski
2023-04-17 18:57       ` Jakub Kicinski
2023-04-18  1:07         ` Jason Wang
2023-04-18  1:07           ` Jason Wang
2023-04-18  1:19           ` Jakub Kicinski
2023-04-18  2:19             ` Xuan Zhuo
2023-04-18  2:19               ` Xuan Zhuo
2023-04-18  2:54               ` Jakub Kicinski
2023-04-18  5:01                 ` Christoph Hellwig
2023-04-18  5:01                   ` Christoph Hellwig
2023-04-18  6:19                   ` Jakub Kicinski
2023-04-19  5:16                     ` Christoph Hellwig
2023-04-19  5:16                       ` Christoph Hellwig
2023-04-19 13:14                       ` Alexander Lobakin
2023-04-19 13:40                         ` Xuan Zhuo
2023-04-19 13:40                           ` Xuan Zhuo
2023-04-20  6:16                         ` Christoph Hellwig
2023-04-20  6:16                           ` Christoph Hellwig
2023-04-20 13:59                           ` Alexander Lobakin
2023-04-20 16:15                             ` Christoph Hellwig
2023-04-20 16:15                               ` Christoph Hellwig
2023-04-20 16:42                               ` Alexander Lobakin
2023-05-01  4:28                                 ` Christoph Hellwig
2023-05-01  4:28                                   ` Christoph Hellwig
2023-04-19 16:45                       ` Jakub Kicinski
2023-04-20  6:19                         ` Christoph Hellwig
2023-04-20  6:19                           ` Christoph Hellwig
2023-04-20  9:11                           ` Xuan Zhuo
2023-04-20  9:11                             ` Xuan Zhuo
2023-04-20 16:18                             ` Christoph Hellwig
2023-04-20 16:18                               ` Christoph Hellwig
2023-04-25  8:12                               ` Michael S. Tsirkin
2023-04-25  8:12                                 ` Michael S. Tsirkin
2023-05-01  4:16                                 ` Christoph Hellwig
2023-05-01  4:16                                   ` Christoph Hellwig
2023-04-20 14:13                           ` Jakub Kicinski
2023-04-21  7:31                             ` Xuan Zhuo
2023-04-21  7:31                               ` Xuan Zhuo
2023-04-21 13:50                               ` Jakub Kicinski [this message]
2023-04-23  1:54                                 ` Xuan Zhuo
2023-04-23  1:54                                   ` Xuan Zhuo
2023-04-24 15:28                                   ` Jakub Kicinski
2023-04-24 15:28                                 ` Alexander Lobakin
2023-04-25  2:11                                   ` Xuan Zhuo
2023-04-25  2:11                                     ` Xuan Zhuo
2023-04-18  2:15         ` Xuan Zhuo
2023-04-18  2:15           ` Xuan Zhuo
2023-04-17  6:38 ` kernel test robot
2023-04-17  6:38   ` kernel test robot
2023-04-17  6:43 ` Michael S. Tsirkin
2023-04-17  6:43   ` Michael S. Tsirkin
2023-04-17  6:48   ` Xuan Zhuo
2023-04-17  6:48     ` Xuan Zhuo
2023-04-17  6:48 ` kernel test robot
2023-04-17  6:48   ` kernel test robot
2023-04-19 13:22 ` Alexander Lobakin
2023-04-19 13:42   ` Xuan Zhuo
2023-04-19 13:42     ` Xuan Zhuo
2023-04-20  6:12   ` Christoph Hellwig
2023-04-20  6:12     ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230421065059.1bc78133@kernel.org \
    --to=kuba@kernel.org \
    --cc=ast@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hawk@kernel.org \
    --cc=hch@infradead.org \
    --cc=jasowang@redhat.com \
    --cc=john.fastabend@gmail.com \
    --cc=jonathan.lemon@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=linux@roeck-us.net \
    --cc=maciej.fijalkowski@intel.com \
    --cc=magnus.karlsson@intel.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=torvalds@linux-foundation.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.