[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200722.170112.664348766467297694.davem@davemloft.net>
Date: Wed, 22 Jul 2020 17:01:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: richard_siegfried@...temli.org
Cc: gerrit@....abdn.ac.uk, dccp@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v5] net: dccp: Add SIOCOUTQ IOCTL support
(send buffer fill)
From: Richard Sailer <richard_siegfried@...temli.org>
Date: Mon, 20 Jul 2020 18:06:14 +0200
> This adds support for the SIOCOUTQ IOCTL to get the send buffer fill
> of a DCCP socket, like UDP and TCP sockets already have.
>
> Regarding the used data field: DCCP uses per packet sequence numbers,
> not per byte, so sequence numbers can't be used like in TCP. sk_wmem_queued
> is not used by DCCP and always 0, even in test on highly congested paths.
> Therefore this uses sk_wmem_alloc like in UDP.
>
> Signed-off-by: Richard Sailer <richard_siegfried@...temli.org>
> ---
> v5: More infos into dccp.rst, +empty line after declarations
Applied, but I wonder if you'll also need something like tcp's SIOCOUTQNSD?
Powered by blists - more mailing lists