aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2024-02-29 15:20:42 +0800
committerMichael S. Tsirkin <mst@redhat.com>2024-03-19 03:19:22 -0400
commitb1dc24aba789190dad0047c1f4c16049dd698769 (patch)
tree1aa500db55fa143816ccf8e7c0bdf3e5639f1d5d /scripts/generate_rust_analyzer.py
parentvirtio-net: add cond_resched() to the command waiting loop (diff)
downloadlinux-rng-b1dc24aba789190dad0047c1f4c16049dd698769.tar.xz
linux-rng-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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions