netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/12] virtnet_net: prepare for af-xdp
@ 2024-05-30 11:23 Xuan Zhuo
  2024-05-30 11:23 ` [PATCH net-next v2 01/12] virtio_net: independent directory Xuan Zhuo
                   ` (12 more replies)
  0 siblings, 13 replies; 21+ messages in thread
From: Xuan Zhuo @ 2024-05-30 11:23 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez,
	Alexei Starovoitov, Daniel Borkmann, Jesper Dangaard Brouer,
	John Fastabend, virtualization, bpf

This patch set prepares for supporting af-xdp zerocopy.
There is no feature change in this patch set.
I just want to reduce the patch num of the final patch set,
so I split the patch set.

Thanks.

v2:
    1. Add five commits. That provides some helper for sq to support premapped
       mode. And the last one refactors distinguishing xmit types.

v1:
    1. resend for the new net-next merge window



Xuan Zhuo (12):
  virtio_net: independent directory
  virtio_net: move core structures to virtio_net.h
  virtio_net: add prefix virtnet to all struct inside virtio_net.h
  virtio_net: separate virtnet_rx_resize()
  virtio_net: separate virtnet_tx_resize()
  virtio_net: separate receive_mergeable
  virtio_net: separate receive_buf
  virtio_ring: introduce vring_need_unmap_buffer
  virtio_ring: introduce dma map api for page
  virtio_ring: introduce virtqueue_dma_map_sg_attrs
  virtio_ring: virtqueue_set_dma_premapped() support to disable
  virtio_net: refactor the xmit type

 MAINTAINERS                                   |   2 +-
 drivers/net/Kconfig                           |   9 +-
 drivers/net/Makefile                          |   2 +-
 drivers/net/virtio/Kconfig                    |  12 +
 drivers/net/virtio/Makefile                   |   8 +
 drivers/net/virtio/virtnet.h                  | 248 ++++++++
 .../{virtio_net.c => virtio/virtnet_main.c}   | 596 +++++++-----------
 drivers/virtio/virtio_ring.c                  | 118 +++-
 include/linux/virtio.h                        |  12 +-
 9 files changed, 606 insertions(+), 401 deletions(-)
 create mode 100644 drivers/net/virtio/Kconfig
 create mode 100644 drivers/net/virtio/Makefile
 create mode 100644 drivers/net/virtio/virtnet.h
 rename drivers/net/{virtio_net.c => virtio/virtnet_main.c} (93%)

--
2.32.0.3.g01195cf9f


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

end of thread, other threads:[~2024-06-02 19:50 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 11:23 [PATCH net-next v2 00/12] virtnet_net: prepare for af-xdp Xuan Zhuo
2024-05-30 11:23 ` [PATCH net-next v2 01/12] virtio_net: independent directory Xuan Zhuo
2024-05-30 11:23 ` [PATCH net-next v2 02/12] virtio_net: move core structures to virtio_net.h Xuan Zhuo
2024-05-30 11:23 ` [PATCH net-next v2 03/12] virtio_net: add prefix virtnet to all struct inside virtio_net.h Xuan Zhuo
2024-05-30 11:23 ` [PATCH net-next v2 04/12] virtio_net: separate virtnet_rx_resize() Xuan Zhuo
2024-05-30 11:23 ` [PATCH net-next v2 05/12] virtio_net: separate virtnet_tx_resize() Xuan Zhuo
2024-05-30 11:24 ` [PATCH net-next v2 06/12] virtio_net: separate receive_mergeable Xuan Zhuo
2024-05-30 11:24 ` [PATCH net-next v2 07/12] virtio_net: separate receive_buf Xuan Zhuo
2024-05-30 11:24 ` [PATCH net-next v2 08/12] virtio_ring: introduce vring_need_unmap_buffer Xuan Zhuo
2024-05-30 11:24 ` [PATCH net-next v2 09/12] virtio_ring: introduce dma map api for page Xuan Zhuo
2024-05-30 11:24 ` [PATCH net-next v2 10/12] virtio_ring: introduce virtqueue_dma_map_sg_attrs Xuan Zhuo
2024-05-30 11:24 ` [PATCH net-next v2 11/12] virtio_ring: virtqueue_set_dma_premapped() support to disable Xuan Zhuo
2024-05-30 11:24 ` [PATCH net-next v2 12/12] virtio_net: refactor the xmit type Xuan Zhuo
2024-06-02 19:50   ` Michael S. Tsirkin
2024-05-30 11:53 ` [PATCH net-next v2 00/12] virtnet_net: prepare for af-xdp Michael S. Tsirkin
2024-05-30 11:54   ` Xuan Zhuo
2024-05-31  1:40     ` Xuan Zhuo
2024-05-31  1:55       ` Jakub Kicinski
2024-05-31  1:57         ` Xuan Zhuo
2024-06-01  1:01   ` Xuan Zhuo
2024-06-02 19:49     ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).