public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top, Faidon Liambotis <paravoid@debian.org>
Subject: Re: [PATCH] tcp, udp: Allow timerfd_gettime64() and recvmmsg_time64() on arm (armhf)
Date: Tue, 20 Aug 2024 10:48:36 +1000	[thread overview]
Message-ID: <ZsPn5CAXc2gK1fBp@zatzit.fritz.box> (raw)
In-Reply-To: <20240819231529.1482175-1-sbrivio@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]

On Tue, Aug 20, 2024 at 01:15:29AM +0200, Stefano Brivio wrote:
> These system calls are needed after the conversion of time_t to 64-bit
> types on 32-bit architectures.
> 
> Tested by running some transfer tests with passt and pasta on Debian
> Bookworm (glibc 2.36) and Trixie (glibc 2.39), running on armv6l.
> 
> Suggested-by: Faidon Liambotis <paravoid@debian.org>
> Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078981
> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

> ---
>  tcp.c | 2 +-
>  udp.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tcp.c b/tcp.c
> index c542a78..501c56c 100644
> --- a/tcp.c
> +++ b/tcp.c
> @@ -2143,7 +2143,7 @@ cancel:
>   * @c:		Execution context
>   * @ref:	epoll reference of timer (not connection)
>   *
> - * #syscalls timerfd_gettime i686:timerfd_gettime64
> + * #syscalls timerfd_gettime arm:timerfd_gettime64 i686:timerfd_gettime64
>   */
>  void tcp_timer_handler(struct ctx *c, union epoll_ref ref)
>  {
> diff --git a/udp.c b/udp.c
> index 851881e..f8fd597 100644
> --- a/udp.c
> +++ b/udp.c
> @@ -460,7 +460,7 @@ static bool udp_sock_recverr(int s)
>   * @events:	epoll events bitmap
>   * @mmh		mmsghdr array to receive into
>   *
> - * #syscalls recvmmsg i686:recvmmsg_time64
> + * #syscalls recvmmsg arm:recvmmsg_time64 i686:recvmmsg_time64
>   */
>  static int udp_sock_recv(const struct ctx *c, int s, uint32_t events,
>  			 struct mmsghdr *mmh)

-- 
David Gibson (he or they)	| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you, not the other way
				| around.
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2024-08-20  0:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-19 23:15 [PATCH] tcp, udp: Allow timerfd_gettime64() and recvmmsg_time64() on arm (armhf) Stefano Brivio
2024-08-20  0:48 ` David Gibson [this message]

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=ZsPn5CAXc2gK1fBp@zatzit.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=paravoid@debian.org \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /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).