vhost: replace % with & on data path
We know vring num is a power of 2, so use &
to mask the high bits.
Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We know vring num is a power of 2, so use &
to mask the high bits.
Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>