aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_divert.c
diff options
context:
space:
mode:
authorKa Ho Ng <khng@FreeBSD.org>2021-03-30 08:43:24 +0000
committerKa Ho Ng <khng@FreeBSD.org>2021-03-30 08:44:07 +0000
commitb013912772ec9e135b52aaec5f70bc92a191ebdb (patch)
tree5f2bb06e956d27dcaca50252ae42afe50ce171fc /sys/netinet/ip_divert.c
parent51cc31088bf4d23a6ad0bfe8851adaa049d750fc (diff)
downloadsrc-b013912772ec9e135b52aaec5f70bc92a191ebdb.tar.gz
src-b013912772ec9e135b52aaec5f70bc92a191ebdb.zip
bhyve: change vq_getchain to return iovecs in both directions
The old prototype requires callers to inspect flags of each descriptors to get the starting position of host-writable iovecs. vq_getchain() is changed to return a virtio request with the number of host-readable iovecs and host-writable iovecs instead. Callers can avoid boilerplate code of getting the start offset of host-writable iovecs. Sponsored by: The FreeBSD Foundation MFC after: 3 weeks Reviewed by: afedorov Approved by: philip (mentor) Differential Revision: https://reviews.freebsd.org/D29433
Diffstat (limited to 'sys/netinet/ip_divert.c')
0 files changed, 0 insertions, 0 deletions