From: David Miller <davem@davemloft.net>
To: johunt@akamai.com
Cc: edumazet@google.com, arnd@arndb.de, soheil@google.com,
willemb@google.com, pabeni@redhat.com,
linux-arch@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [RFC PATCH] sock: add SO_RCVQUEUE_SIZE getsockopt
Date: Mon, 13 Mar 2017 17:10:08 -0700 (PDT) [thread overview]
Message-ID: <20170313.171008.1845413549443399902.davem@davemloft.net> (raw)
In-Reply-To: <9f775c33-01f4-fbd8-4d4d-4ca67f0f6d3b@akamai.com>
From: Josh Hunt <johunt@akamai.com>
Date: Mon, 13 Mar 2017 18:34:41 -0500
> In this particular case they really do want to know total # of bytes
> in the receive queue, not the data bytes they can consume from an
> application pov. The kernel currently only exposes this value through
> netlink or /proc/net/udp from what I saw.
Can you explain in what way this is useful?
The difference between skb->len and skb->truesize is really kernel
internal implementation detail, and I'm trying to figure out why
this would be useful to an application.
next prev parent reply other threads:[~2017-03-14 0:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 15:59 [RFC PATCH] sock: add SO_RCVQUEUE_SIZE getsockopt Josh Hunt
2017-03-13 15:59 ` Josh Hunt
2017-03-13 16:12 ` Eric Dumazet
2017-03-13 16:12 ` Eric Dumazet
2017-03-13 17:38 ` Josh Hunt
2017-03-13 17:38 ` Josh Hunt
2017-03-13 19:39 ` David Miller
2017-03-13 23:34 ` Josh Hunt
2017-03-13 23:34 ` Josh Hunt
2017-03-14 0:10 ` David Miller [this message]
2017-03-14 22:11 ` Josh Hunt
2017-03-14 1:31 ` Eric Dumazet
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=20170313.171008.1845413549443399902.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=arnd@arndb.de \
--cc=edumazet@google.com \
--cc=johunt@akamai.com \
--cc=linux-arch@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=soheil@google.com \
--cc=willemb@google.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.
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 NNTP newsgroup(s).