lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun,  2 Apr 2023 04:41:21 -0400
From:   nick black <dankamongmen@...il.com>
To:     netdev@...r.kernel.org
Cc:     Magnus Karlsson <magnus.karlsson@...el.com>,
        Björn Töpel <bjorn.topel@...el.com>,
        nick black <dankamongmen@...il.com>
Subject: [PATCH] [net] update xdp_statistics in docs

Add the three fields from xdp_statistics that were
missing in the AF_XDP documentation.

Signed-off-by: nick black <dankamongmen@...il.com>
---
 Documentation/networking/af_xdp.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git Documentation/networking/af_xdp.rst Documentation/networking/af_xdp.rst
index 247c6c4127e9..a968de7e902c 100644
--- Documentation/networking/af_xdp.rst
+++ Documentation/networking/af_xdp.rst
@@ -445,6 +445,9 @@ purposes. The supported statistics are shown below:
        __u64 rx_dropped; /* Dropped for reasons other than invalid desc */
        __u64 rx_invalid_descs; /* Dropped due to invalid descriptor */
        __u64 tx_invalid_descs; /* Dropped due to invalid descriptor */
+       __u64 rx_ring_full; /* Dropped due to rx ring being full */
+       __u64 rx_fill_ring_empty_descs; /* Failed to retrieve item from fill ring */
+       __u64 tx_ring_empty_descs; /* Failed to retrieve item from tx ring */
    };
 
 XDP_OPTIONS getsockopt
-- 
2.40.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ