[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240411025127.51945-1-xuanzhuo@linux.alibaba.com>
Date: Thu, 11 Apr 2024 10:51:21 +0800
From: Xuan Zhuo <xuanzhuo@...ux.alibaba.com>
To: virtualization@...ts.linux.dev
Cc: "Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org
Subject: [PATCH vhost 0/6] virtio_net: rx enable premapped mode by default
Actually, for the virtio drivers, we can enable premapped mode whatever
the value of use_dma_api. Because we provide the virtio dma apis.
So the driver can enable premapped mode unconditionally.
This patch set makes the big mode of virtio-net to support premapped mode.
And enable premapped mode for rx by default.
Please review.
Thanks.
Xuan Zhuo (6):
virtio_ring: introduce dma map api for page
virtio_ring: enable premapped mode whatever use_dma_api
virtio_net: replace private by pp struct inside page
virtio_net: big mode support premapped
virtio_net: enable premapped by default
virtio_net: rx remove premapped failover code
drivers/net/virtio_net.c | 213 ++++++++++++++++++++++-------------
drivers/virtio/virtio_ring.c | 59 +++++++++-
include/linux/virtio.h | 7 ++
3 files changed, 192 insertions(+), 87 deletions(-)
--
2.32.0.3.g01195cf9f
Powered by blists - more mailing lists