public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] udp_flow: move all udp_flow functions to udp_flow.c
@ 2024-08-02 16:10 Laurent Vivier
  2024-08-02 16:10 ` [PATCH 1/2] udp_flow: Remove udp_meta_t from the parameters of udp_flow_from_sock() Laurent Vivier
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Laurent Vivier @ 2024-08-02 16:10 UTC (permalink / raw)
  To: passt-dev; +Cc: Laurent Vivier

This helps to export them and use them with vhost-user version
of udp.c

There is only one code change: pass s_in rather than udp_meta_t to
udp_flow_from_sock() as udp_meta_t is specific to the socket version
of udp.c

Otherwise, only code move

Signed-off-by: Laurent Vivier <lvivier@redhat.com>

Laurent Vivier (2):
  udp_flow: Remove udp_meta_t from the parameters of
    udp_flow_from_sock()
  udp_flow: move all udp_flow functions to udp_flow.c

 Makefile   |   2 +-
 udp.c      | 264 +--------------------------------------------------
 udp_flow.c | 274 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 udp_flow.h |   9 ++
 4 files changed, 286 insertions(+), 263 deletions(-)
 create mode 100644 udp_flow.c

-- 
2.45.2



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

end of thread, other threads:[~2024-08-05 19:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-02 16:10 [PATCH 0/2] udp_flow: move all udp_flow functions to udp_flow.c Laurent Vivier
2024-08-02 16:10 ` [PATCH 1/2] udp_flow: Remove udp_meta_t from the parameters of udp_flow_from_sock() Laurent Vivier
2024-08-03  7:47   ` David Gibson
2024-08-02 16:10 ` [PATCH 2/2] udp_flow: move all udp_flow functions to udp_flow.c Laurent Vivier
2024-08-03  7:51   ` David Gibson
2024-08-05  7:11     ` Laurent Vivier
2024-08-05 12:17       ` David Gibson
2024-08-05 19:02 ` [PATCH 0/2] " Stefano Brivio

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).