]> www.infradead.org Git - users/dwmw2/linux.git/commit
virtio_net: big mode skip the unmap check
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Tue, 29 Oct 2024 08:46:13 +0000 (16:46 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 5 Nov 2024 10:37:40 +0000 (11:37 +0100)
commita33f3df850750216f432b637a5020ad6a740cac1
tree36d9f2312cc0294f7c223c399aede81b5b16c150
parent6aacd1484468361d1d04badfe75f264fa5314864
virtio_net: big mode skip the unmap check

The virtio-net big mode did not enable premapped mode,
so we did not need to check the unmap. And the subsequent
commit will remove the failover code for failing enable
premapped for merge and small mode. So we need to remove
the checking do_dma code in the big mode path.

Tested-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/virtio_net.c