From: Laurent Vivier <lvivier@redhat.com>
To: passt-dev@passt.top
Cc: Laurent Vivier <lvivier@redhat.com>
Subject: [PATCH 0/2] udp_flow: move all udp_flow functions to udp_flow.c
Date: Fri, 2 Aug 2024 18:10:34 +0200 [thread overview]
Message-ID: <20240802161036.1404559-1-lvivier@redhat.com> (raw)
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
next reply other threads:[~2024-08-02 16:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-02 16:10 Laurent Vivier [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240802161036.1404559-1-lvivier@redhat.com \
--to=lvivier@redhat.com \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).