On Thu, Aug 4, 2022 at 11:09 AM Jakub Kicinski [off-list ref] wrote:
On Thu, 4 Aug 2022 10:00:37 -0700 Eric Dumazet wrote:
quoted
On Thu, Aug 4, 2022 at 9:58 AM Adel Abouchaev [off-list ref] wrote:
quoted
Looking at
https://github.com/shemminger/iproute2/blob/main/misc/ss.c#L589 the ss.c
still uses proc/.
Only for legacy reasons.
That but in all honesty also the fact that a proc file is pretty easy
and self-describing while the historic netlink families are undocumented
code salads.
quoted
ss -t for sure will use netlink first, then fallback to /proc
New counters should use netlink, please.
Just to be sure I'm not missing anything - we're talking about some
new netlink, right? Is there an existing place for "overall prot family
stats" over netlink today?
I thought we were speaking of dumping ULP info on a per UDP socket basis.
If this is about new SNMP counters, then sure, /proc is fine I guess.