[PATCH] vhost: optimize mbuf allocation in virtio Tx packed path
Stephen Hemminger
stephen at networkplumber.org
Fri Mar 29 03:53:53 CET 2024
On Thu, 28 Mar 2024 17:10:42 -0700
Andrey Ignatov <rdna at apple.com> wrote:
> >
> > You don't need always inline, the compiler will do it anyway.
>
> I can remove it in v2, but it's not completely obvious to me how is it
> decided when to specify it explicitly and when not?
>
> I see plenty of __rte_always_inline in this file:
>
> % git grep -c '^static __rte_always_inline' lib/vhost/virtio_net.c
> lib/vhost/virtio_net.c:66
Cargo cult really.
More information about the dev
mailing list