diff options
author | 2021-03-15 17:34:41 +0100 | |
---|---|---|
committer | 2021-05-03 04:55:53 -0400 | |
commit | b8c06ad4d67db56ed6bdfb685c134da74e92a2c7 (patch) | |
tree | 6dc84edb70b95d4802140bb8ae04d0b234645484 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | vringh: explain more about cleaning riov and wiov (diff) | |
download | wireguard-linux-b8c06ad4d67db56ed6bdfb685c134da74e92a2c7.tar.xz wireguard-linux-b8c06ad4d67db56ed6bdfb685c134da74e92a2c7.zip |
vringh: implement vringh_kiov_advance()
In some cases, it may be useful to provide a way to skip a number
of bytes in a vringh_kiov.
Let's implement vringh_kiov_advance() for this purpose, reusing the
code from vringh_iov_xfer().
We replace that code calling the new vringh_kiov_advance().
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20210315163450.254396-6-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions