[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ8uoz2DhhSEDO=5kAB1UMp9mnXUtLisq60frqNK9TOZ9gMjeA@mail.gmail.com>
Date: Tue, 4 Apr 2023 09:06:43 +0200
From: Magnus Karlsson <magnus.karlsson@...il.com>
To: nick black <dankamongmen@...il.com>
Cc: netdev@...r.kernel.org,
Magnus Karlsson <magnus.karlsson@...el.com>,
Björn Töpel <bjorn.topel@...el.com>
Subject: Re: [PATCH] [net] update xdp_statistics in docs
On Tue, 4 Apr 2023 at 06:38, nick black <dankamongmen@...il.com> wrote:
>
> Add the three fields from xdp_statistics that were
> missing in the AF_XDP documentation.
Thanks Nick.
Acked-by: Magnus Karlsson <magnus.karlsson@...el.com>
> 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