DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Tiwei Bie <tiwei.bie@intel.com>, zhihong.wang@intel.com, dev@dpdk.org
Cc: jfreimann@redhat.com
Subject: Re: [dpdk-dev] [PATCH] net/virtio: define avail and used flags as constants
Date: Wed, 27 Mar 2019 12:14:32 +0100	[thread overview]
Message-ID: <13d7d402-c5ae-2263-761b-8a0707bbb4f5@redhat.com> (raw)
In-Reply-To: <20190325052716.7730-1-tiwei.bie@intel.com>



On 3/25/19 6:27 AM, Tiwei Bie wrote:
> We are consistently passing 1 as the argument in the data path,
> so there is no need to define avail/used flags as function-like
> macros anymore. This patch changes the avail and used flags to
> constants. And a frequently used combination is also introduced.
> 
> Signed-off-by: Tiwei Bie<tiwei.bie@intel.com>
> ---
>   drivers/net/virtio/virtio_ethdev.c              | 10 ++++------
>   drivers/net/virtio/virtio_ring.h                |  9 +++++++--
>   drivers/net/virtio/virtio_rxtx.c                |  9 ++++-----
>   .../net/virtio/virtio_user/virtio_user_dev.c    | 17 ++++++++++-------
>   drivers/net/virtio/virtqueue.h                  |  4 ++--
>   5 files changed, 27 insertions(+), 22 deletions(-)

Applied to dpdk-next-virtio/master.

Thanks,
Maxime

  parent reply	other threads:[~2019-03-27 11:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-25  5:27 Tiwei Bie
2019-03-25  5:27 ` Tiwei Bie
2019-03-25  7:47 ` Jens Freimann
2019-03-25  7:47   ` Jens Freimann
2019-03-27 10:30 ` Maxime Coquelin
2019-03-27 10:30   ` Maxime Coquelin
2019-03-27 11:14 ` Maxime Coquelin [this message]
2019-03-27 11:14   ` 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=13d7d402-c5ae-2263-761b-8a0707bbb4f5@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=dev@dpdk.org \
    --cc=jfreimann@redhat.com \
    --cc=tiwei.bie@intel.com \
    --cc=zhihong.wang@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).