aboutgitcodebugslistschat
path: root/test/tcp
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2026-01-09 17:54:38 +0100
committerStefano Brivio <sbrivio@redhat.com>2026-01-14 01:07:51 +0100
commitc0be730f2aa2243a132b3ee40c2bf05ebc84fedf (patch)
treeebd85dae7de259707c853c95d9fdd40961c2c219 /test/tcp
parent23da651ab08e564b84c532f6f93b0817d2ae850f (diff)
downloadpasst-c0be730f2aa2243a132b3ee40c2bf05ebc84fedf.tar
passt-c0be730f2aa2243a132b3ee40c2bf05ebc84fedf.tar.gz
passt-c0be730f2aa2243a132b3ee40c2bf05ebc84fedf.tar.bz2
passt-c0be730f2aa2243a132b3ee40c2bf05ebc84fedf.tar.lz
passt-c0be730f2aa2243a132b3ee40c2bf05ebc84fedf.tar.xz
passt-c0be730f2aa2243a132b3ee40c2bf05ebc84fedf.tar.zst
passt-c0be730f2aa2243a132b3ee40c2bf05ebc84fedf.zip
flow: Introduce flow_epoll_set() to centralize epoll operations
Currently, each flow type (TCP, TCP_SPLICE, PING, UDP) has its own code to add or modify file descriptors in epoll. This leads to duplicated boilerplate code across icmp.c, tcp.c, tcp_splice.c, and udp_flow.c, each setting up epoll_ref unions and calling epoll_ctl() with flow-type-specific details. Introduce flow_epoll_set() in flow.c to handle epoll operations for all flow types in a unified way. This will be needed to migrate queue pair from an epollfd to another. 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 'test/tcp')
0 files changed, 0 insertions, 0 deletions