public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/1] migrate: Eliminate listening_sock field from TCP connection state
@ 2026-01-30  5:58 David Gibson
  2026-01-30  5:58 ` [PATCH 1/1] migrate: Use forward table information to close() listening sockets David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: David Gibson @ 2026-01-30  5:58 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

A bunch of the things I'm working on right now are made more difficult
by the lack of spare space in the TCP connection structure (without
adding an additional cache line).

I realised that even the minimal forwarding table implementation we
have now allows at least one easy win though: the listening_sock field
can be eliminated pretty easily.

David Gibson (1):
  migrate: Use forward table information to close() listening sockets

 flow.c     | 12 ++++++++++++
 fwd.c      | 21 +++++++++++++++++++++
 fwd.h      |  1 +
 tcp.c      |  9 ---------
 tcp_conn.h |  3 ---
 5 files changed, 34 insertions(+), 12 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-30  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-30  5:58 [PATCH 0/1] migrate: Eliminate listening_sock field from TCP connection state David Gibson
2026-01-30  5:58 ` [PATCH 1/1] migrate: Use forward table information to close() listening sockets David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).