[PATCH v15 09/11] net/tap: simplify internals
Stephen Hemminger
stephen at networkplumber.org
Wed May 22 18:15:28 CEST 2024
On Tue, 21 May 2024 13:12:54 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:
> The names of Linux network devices are IFNAMSIZ(16) not the
> same as DPDK which has up to 64 characters. Don't need to
> hold onto the whole ifreq to save the remote interface flags.
>
> Make sure packet and byte counters are read once, so that global
> and per-queue values add up. No need for separate rx_nombuf counter
> since there is an alloc_failed value in ethdev.
>
> Keep only the statistics that are used. I.e no ipackets on
> tx queues etc.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Drop this patch when merging, will split and pick up in later updates
More information about the dev
mailing list