| From: |
| Xuan Zhuo <xuanzhuo-AT-linux.alibaba.com> |
| To: |
| netdev-AT-vger.kernel.org |
| Subject: |
| [PATCH net-next v2 00/12] virtnet_net: prepare for af-xdp |
| Date: |
| Thu, 30 May 2024 19:23:54 +0800 |
| Message-ID: |
| <20240530112406.94452-1-xuanzhuo@linux.alibaba.com> |
| Cc: |
| "David S. Miller" <davem-AT-davemloft.net>, Eric Dumazet <edumazet-AT-google.com>, Jakub Kicinski <kuba-AT-kernel.org>, Paolo Abeni <pabeni-AT-redhat.com>, "Michael S. Tsirkin" <mst-AT-redhat.com>, Jason Wang <jasowang-AT-redhat.com>, Xuan Zhuo <xuanzhuo-AT-linux.alibaba.com>, Eugenio Pérez <eperezma-AT-redhat.com>, Alexei Starovoitov <ast-AT-kernel.org>, Daniel Borkmann <daniel-AT-iogearbox.net>, Jesper Dangaard Brouer <hawk-AT-kernel.org>, John Fastabend <john.fastabend-AT-gmail.com>, virtualization-AT-lists.linux.dev, bpf-AT-vger.kernel.org |
| Archive-link: |
| Article |
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