diff options
author | Laurent Vivier <lvivier@redhat.com> | 2024-06-13 14:36:52 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-06-13 15:45:34 +0200 |
commit | 377b666dc960d4e7faff3f2d17f7e83f2d8f7f10 (patch) | |
tree | 1ac59a78c71e5d9c8a3a0e7989c2084b37164174 /udp.c | |
parent | e7ac995217cd214a79ecf81e8a07094092173c65 (diff) | |
download | passt-377b666dc960d4e7faff3f2d17f7e83f2d8f7f10.tar passt-377b666dc960d4e7faff3f2d17f7e83f2d8f7f10.tar.gz passt-377b666dc960d4e7faff3f2d17f7e83f2d8f7f10.tar.bz2 passt-377b666dc960d4e7faff3f2d17f7e83f2d8f7f10.tar.lz passt-377b666dc960d4e7faff3f2d17f7e83f2d8f7f10.tar.xz passt-377b666dc960d4e7faff3f2d17f7e83f2d8f7f10.tar.zst passt-377b666dc960d4e7faff3f2d17f7e83f2d8f7f10.zip |
udp: rename udp_sock_handler() to udp_buf_sock_handler()
We are going to introduce a variant of the function to use
vhost-user buffers rather than passt internal buffers.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
-rw-r--r-- | udp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -728,7 +728,7 @@ static void udp_tap_send(const struct ctx *c, } /** - * udp_sock_handler() - Handle new data from socket + * udp_buf_sock_handler() - Handle new data from socket * @c: Execution context * @ref: epoll reference * @events: epoll events bitmap @@ -736,8 +736,8 @@ static void udp_tap_send(const struct ctx *c, * * #syscalls recvmmsg */ -void udp_sock_handler(const struct ctx *c, union epoll_ref ref, uint32_t events, - const struct timespec *now) +void udp_buf_sock_handler(const struct ctx *c, union epoll_ref ref, uint32_t events, + const struct timespec *now) { /* For not entirely clear reasons (data locality?) pasta gets * better throughput if we receive tap datagrams one at a |