[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65aa93ffe0f7b_29ebd4294f0@willemb.c.googlers.com.notmuch>
Date: Fri, 19 Jan 2024 10:23:43 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Yunjian Wang <wangyunjian@...wei.com>,
willemdebruijn.kernel@...il.com,
jasowang@...hat.com,
kuba@...nel.org,
davem@...emloft.net
Cc: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
xudingke@...wei.com,
Yunjian Wang <wangyunjian@...wei.com>
Subject: Re: [PATCH net 2/2] tun: add missing rx stats accounting in
tun_xdp_act
Yunjian Wang wrote:
> The TUN can be used as vhost-net backend, and it is necessary to
> count the packets transmitted from TUN to vhost-net/virtio-net.
> However, there are some places in the receive path that were not
> taken into account when using XDP. It would be beneficial to also
> include new accounting for successfully received bytes using
> dev_sw_netstats_rx_add.
>
> Fixes: 761876c857cb ("tap: XDP support")
> Signed-off-by: Yunjian Wang <wangyunjian@...wei.com>
Reviewed-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists