DPDK patches and discussions
 help / color / mirror / Atom feed
From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
To: Xiaoyun Li <xiaoyun.li@intel.com>,
	ciara.loftus@intel.com, qi.z.zhang@intel.com, dev@dpdk.org
Subject: Re: [PATCH v2] net/af_xdp: allow using copy mode in XSK
Date: Thu, 23 Jun 2022 13:52:30 +0300	[thread overview]
Message-ID: <51743412-f3d2-7cfe-b2a7-8c3460fd0a45@oktetlabs.ru> (raw)
In-Reply-To: <20220614091013.1407008-1-xiaoyun.li@intel.com>

On 6/14/22 12:10, Xiaoyun Li wrote:
> DPDK assumes that users only want AF_XDP socket (XSK) into zero copy
> mode when the kernel supports it. However, sometimes kernel driver
> doesn't support it well and copy mode is more stable and preferred.
> 
> This patch allows using devarg "-a xx:xx.x,force_copy=1" to force the
> AF_XDP socket into copy mode.
> 
> Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
> ---
> v2:
> * Change name from no_zerocopy to force_copy.
> ---

Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>

Applied to dpdk-next-net/main, thanks.

      reply	other threads:[~2022-06-23 10:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-13 15:12 [PATCH] " Xiaoyun Li
2022-06-13 23:38 ` Zhang, Qi Z
2022-06-14  8:23   ` Li, Xiaoyun
2022-06-14  9:10 ` [PATCH v2] " Xiaoyun Li
2022-06-23 10:52   ` Andrew Rybchenko [this message]

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=51743412-f3d2-7cfe-b2a7-8c3460fd0a45@oktetlabs.ru \
    --to=andrew.rybchenko@oktetlabs.ru \
    --cc=ciara.loftus@intel.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@intel.com \
    --cc=xiaoyun.li@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).