From: Stephen Hemminger <stephen@networkplumber.org>
To: Andrey Ignatov <rdna@apple.com>
Cc: dev@dpdk.org, Maxime Coquelin <maxime.coquelin@redhat.com>,
Chenbo Xia <chenbox@nvidia.com>, Wei Shen <wshen0123@apple.com>
Subject: Re: [PATCH] vhost: optimize mbuf allocation in virtio Tx packed path
Date: Thu, 28 Mar 2024 16:44:26 -0700 [thread overview]
Message-ID: <20240328164426.5b600cd1@hermes.local> (raw)
In-Reply-To: <20240328233338.56544-1-rdna@apple.com>
On Thu, 28 Mar 2024 16:33:38 -0700
Andrey Ignatov <rdna@apple.com> wrote:
>
> +static __rte_always_inline uint16_t
> +get_nb_avail_entries_packed(const struct vhost_virtqueue *__rte_restrict vq,
> + uint16_t max_nb_avail_entries)
> +{
You don't need always inline, the compiler will do it anyway.
next prev parent reply other threads:[~2024-03-28 23:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 23:33 Andrey Ignatov
2024-03-28 23:44 ` Stephen Hemminger [this message]
2024-03-29 0:10 ` Andrey Ignatov
2024-03-29 2:53 ` Stephen Hemminger
2024-03-29 13:04 ` Maxime Coquelin
2024-03-29 13:42 ` The effect of inlining Morten Brørup
2024-03-29 20:26 ` Tyler Retzlaff
2024-04-01 15:20 ` Mattias Rönnblom
2024-04-03 16:01 ` Morten Brørup
2024-04-03 10:19 ` [PATCH] vhost: optimize mbuf allocation in virtio Tx packed path Maxime Coquelin
2024-06-12 8:32 ` Maxime Coquelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240328164426.5b600cd1@hermes.local \
--to=stephen@networkplumber.org \
--cc=chenbox@nvidia.com \
--cc=dev@dpdk.org \
--cc=maxime.coquelin@redhat.com \
--cc=rdna@apple.com \
--cc=wshen0123@apple.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).