]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
virtio_net: replace vq2rxq with vq2txq where appropriate
authorKoichiro Den <koichiro.den@canonical.com>
Fri, 6 Dec 2024 01:10:43 +0000 (10:10 +0900)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Dec 2024 10:22:21 +0000 (11:22 +0100)
commit4571dc7272b22cf35c7a5a1b14d3b036a2fefdc5
treee84eaa7cf3c3143292a942262ff4310d614b676b
parent3ddccbefebdbe0c4c72a248676e4d39ac66a8e26
virtio_net: replace vq2rxq with vq2txq where appropriate

While not harmful, using vq2rxq where it's always sq appears odd.
Replace it with the more appropriate vq2txq for clarity and correctness.

Fixes: 89f86675cb03 ("virtio_net: xsk: tx: support xmit xsk buffer")
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/virtio_net.c