netdev: add queue stat for alloc failures
Rx alloc failures are commonly counted by drivers. Support reporting those via netdev-genl queue stats. Acked-by: Stanislav Fomichev <sdf@google.com> Reviewed-by: Amritha Nambiar <amritha.nambiar@intel.com> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Link: https://lore.kernel.org/r/20240306195509.1502746-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@ -328,6 +328,13 @@ attribute-sets:
|
||||
name: tx-bytes
|
||||
doc: Successfully sent bytes, see `tx-packets`.
|
||||
type: uint
|
||||
-
|
||||
name: rx-alloc-fail
|
||||
doc: |
|
||||
Number of times skb or buffer allocation failed on the Rx datapath.
|
||||
Allocation failure may, or may not result in a packet drop, depending
|
||||
on driver implementation and whether system recovers quickly.
|
||||
type: uint
|
||||
|
||||
operations:
|
||||
list:
|
||||
|
Reference in New Issue
Block a user