[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241202194834.67982f7f@kernel.org>
Date: Mon, 2 Dec 2024 19:48:34 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: David Howells <dhowells@...hat.com>
Cc: netdev@...r.kernel.org, Marc Dionne <marc.dionne@...istor.com>, Yunsheng
Lin <linyunsheng@...wei.com>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 37/37] rxrpc: Implement RACK/TLP to deal with
transmission stalls [RFC8985]
On Mon, 2 Dec 2024 14:30:55 +0000 David Howells wrote:
> +static inline ktime_t us_to_ktime(u64 us)
> +{
> + return us * NSEC_PER_USEC;
> +}
Is there a reason this doesn't exist in include/linux/ktime.h ?
Given ns_to_ktime and ms_to_ktime already exist there adding a local
but very similarly named helper in a local file appears questionable.
Powered by blists - more mailing lists