public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/6] Improvements to flow specific logging
@ 2026-06-17  3:11 David Gibson
  2026-06-17  3:11 ` [PATCH v2 1/6] flow: Regularise flow specific logging helpers David Gibson
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: David Gibson @ 2026-06-17  3:11 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

While working on podman bug 23739, I found some deficiences in how and
when we report various socket errors related to specific flows.  Here
are some preliminary patches to improve that.

I think patches 1..3 are pretty straightforward and safe.  4/4 I think
is a good idea in principle - promoting the priority of a number of
messages now that we have ratelimiting.  However, plumbing 'now' all
the places we need it resuls in a *lot* of churn, so we might want to
postpone or split it up.

Still, current drafted posted for consideration.

v2:
 * Added patch 2/6 At Stefano's suggestion
 * Simplified the errno Handling fix at Stefano's suggestion
 * Added patch 6/6 which I noticed while revising 5/6.
 * Made a handful of minor corrections based on feedback.

David Gibson (6):
  flow: Regularise flow specific logging helpers
  flow: Indent flow details messages
  flow: Include flow details with higher priority log messages
  flow, udp: Fix errno handling in udp_flow_sock()
  flow, treewide: Promote priority of selected flow-linked messages
  udp: Improve messages for errors getting errors

 flow.c         | 103 ++++++-------
 flow.h         |  72 ++++-----
 icmp.c         |  27 ++--
 icmp.h         |   3 +-
 migrate.c      |  27 ++--
 migrate.h      |   8 +-
 passt.c        |   8 +-
 tcp.c          | 387 ++++++++++++++++++++++++++++---------------------
 tcp.h          |   5 +-
 tcp_buf.c      |  67 +++++----
 tcp_buf.h      |   7 +-
 tcp_conn.h     |   8 +-
 tcp_internal.h |  27 ++--
 tcp_splice.c   |  59 +++++---
 tcp_splice.h   |   3 +-
 tcp_vu.c       |  31 ++--
 tcp_vu.h       |   5 +-
 udp.c          |  61 +++++---
 udp_flow.c     |  18 ++-
 19 files changed, 528 insertions(+), 398 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-06-17  5:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17  3:11 [PATCH v2 0/6] Improvements to flow specific logging David Gibson
2026-06-17  3:11 ` [PATCH v2 1/6] flow: Regularise flow specific logging helpers David Gibson
2026-06-17  3:11 ` [PATCH v2 2/6] flow: Indent flow details messages David Gibson
2026-06-17  3:11 ` [PATCH v2 3/6] flow: Include flow details with higher priority log messages David Gibson
2026-06-17  3:11 ` [PATCH v2 4/6] flow, udp: Fix errno handling in udp_flow_sock() David Gibson
2026-06-17  3:11 ` [PATCH v2 5/6] flow, treewide: Promote priority of selected flow-linked messages David Gibson
2026-06-17  5:23   ` Stefano Brivio
2026-06-17  3:11 ` [PATCH v2 6/6] udp: Improve messages for errors getting errors 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).