summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/myrs.h
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2024-02-29 08:20:42 +0100
committerMichael S. Tsirkin <mst@redhat.com>2024-03-19 08:19:22 +0100
commitb1dc24aba789190dad0047c1f4c16049dd698769 (patch)
tree1aa500db55fa143816ccf8e7c0bdf3e5639f1d5d /drivers/scsi/myrs.h
parentvirtio-net: add cond_resched() to the command waiting loop (diff)
downloadlinux-b1dc24aba789190dad0047c1f4c16049dd698769.tar.xz
linux-b1dc24aba789190dad0047c1f4c16049dd698769.zip
virtio_net: unify the code for recycling the xmit ptr
There are two completely similar and independent implementations. This is inconvenient for the subsequent addition of new types. So extract a function from this piece of code and call this function uniformly to recover old xmit ptr. Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20240229072044.77388-18-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/scsi/myrs.h')
0 files changed, 0 insertions, 0 deletions