[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <95802373-c46a-c998-39af-b2d9ce685626@blackwall.org>
Date: Fri, 11 Aug 2023 13:01:40 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Li Zetao <lizetao1@...wei.com>, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, idosch@...dia.com, jbenc@...hat.com,
gavinl@...dia.com, wsa+renesas@...g-engineering.com, vladimir@...ishkin.pw
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] vxlan: Use helper functions to update stats
On 8/10/23 11:56, Li Zetao wrote:
> Use the helper functions dev_sw_netstats_rx_add() and
> dev_sw_netstats_tx_add() to update stats, which helps to
> provide code readability.
>
> Signed-off-by: Li Zetao <lizetao1@...wei.com>
> ---
> drivers/net/vxlan/vxlan_core.c | 13 ++-----------
> 1 file changed, 2 insertions(+), 11 deletions(-)
>
Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists