From: David Marchand <david.marchand@redhat.com>
To: Xiaolong Ye <xiaolong.ye@intel.com>
Cc: Qi Zhang <qi.z.zhang@intel.com>,
Karlsson Magnus <magnus.karlsson@intel.com>,
Topel Bjorn <bjorn.topel@intel.com>,
yuan.peng@intel.com, dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature
Date: Mon, 17 Jun 2019 10:03:24 +0200 [thread overview]
Message-ID: <CAJFAV8w_yKsoxMCQfPyhygACAZ50vj+u=em50vDV-qv2gTvKqw@mail.gmail.com> (raw)
In-Reply-To: <20190617142303.85240-1-xiaolong.ye@intel.com>
On Mon, Jun 17, 2019 at 9:42 AM Xiaolong Ye <xiaolong.ye@intel.com> wrote:
> This patch adds a new devarg to support the need_wakeup flag for Tx and
> fill rings, when this flag is set by the driver, it means that the
> userspace application has to explicitly wake up the kernel Rx or kernel Tx
> processing by issuing a syscall. Poll() can wake up both and sendto() or
> its alternatives will wake up Tx processing only.
>
> This feature is to provide efficient support for case that application and
> driver are executing on the same core.
>
> Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
> ---
>
> Original busy poll feature has morphed into need_wakeup flag in
> kernel side, the main purpose is the same, that is to support both
> application and driver executing on the same core efficiently.
>
> kernel side patchset can be found at netdev mailing list.
>
> https://lore.kernel.org/netdev/CAJ8uoz2szX=+JXXAMyuVmvSsMXZuDqp6a8rjDQpTioxbZwxFmQ@mail.gmail.com/T/#t
>
> It is targeted for v5.3
>
- Is this really optional? Adding too many options is just a nightmare
later...
- I suppose this will break compilation with kernels that have af_xdp but
are < 5.3.
--
David Marchand
next prev parent reply other threads:[~2019-06-17 8:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 14:23 [dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature Xiaolong Ye
2019-06-17 8:03 ` David Marchand [this message]
2019-06-17 15:27 ` Ye Xiaolong
2019-06-17 8:51 ` David Marchand
2019-06-17 10:05 ` Bruce Richardson
2019-06-17 15:39 ` Ye Xiaolong
2019-06-18 8:51 ` [dpdk-dev] [PATCH v2] " Xiaolong Ye
2019-06-21 13:19 ` [dpdk-dev] [PATCH v3] " Xiaolong Ye
2019-06-27 18:22 ` Ferruh Yigit
2019-06-28 8:35 ` Ye Xiaolong
2019-06-28 10:07 ` [dpdk-dev] [PATCH v4] " Xiaolong Ye
2019-06-28 17:58 ` Ferruh Yigit
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='CAJFAV8w_yKsoxMCQfPyhygACAZ50vj+u=em50vDV-qv2gTvKqw@mail.gmail.com' \
--to=david.marchand@redhat.com \
--cc=bjorn.topel@intel.com \
--cc=dev@dpdk.org \
--cc=magnus.karlsson@intel.com \
--cc=qi.z.zhang@intel.com \
--cc=xiaolong.ye@intel.com \
--cc=yuan.peng@intel.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).