Thread (73 messages) 73 messages, 13 authors, 2021-12-01

Re: [PATCH v2 net-next 00/26] net: introduce and use generic XDP stats

From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2021-12-01 15:21:37
Also in: bpf, linux-rdma, lkml, netdev, virtualization

On 2021-11-30 12:38, David Ahern wrote:
Today, stats are sent as a struct so skipping stats whose value is 0 is
not an option. When using individual attributes for the counters this
becomes an option. Given there is no value in sending '0' why do it?

Is your pushback that there should be a uapi to opt-in to this behavior?
A filter in the netlink request should help pick what is user-preferred.
You can default to not sending zeros.

cheers,
jamal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help