virtio_net: big mode skip the unmap check
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Sat, 11 May 2024 03:14:02 +0000 (11:14 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 May 2024 00:07:41 +0000 (17:07 -0700)
commita377ae542d8d0a20a3173da3bbba72e045bea7a9
treed38591ebb72a4c5ab24d82c2a7453458578a58d4
parentf9dac92ba9081062a6477ee015bd3b8c5914efc4
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.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20240511031404.30903-3-xuanzhuo@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/virtio_net.c