[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230602103214.6uzugiwjrhjcs7wk@skbuf>
Date: Fri, 2 Jun 2023 13:32:14 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: wei.fang@....com
Cc: claudiu.manoil@....com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, ast@...nel.org,
daniel@...earbox.net, hawk@...nel.org, john.fastabend@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 2/2] net: enetc: correct rx_bytes statistics of XDP
On Fri, Jun 02, 2023 at 05:46:59PM +0800, wei.fang@....com wrote:
> From: Wei Fang <wei.fang@....com>
>
> The rx_bytes statistics of XDP are always zero, because rx_byte_cnt
> is not updated after it is initialized to 0. So fix it.
>
> Fixes: d1b15102dd16 ("net: enetc: add support for XDP_DROP and XDP_PASS")
> Signed-off-by: Wei Fang <wei.fang@....com>
> ---
Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>
Thanks!
Powered by blists - more mailing lists