From: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>
To: Joyce Kong <Joyce.Kong@arm.com>,
"jerinj@marvell.com" <jerinj@marvell.com>,
"maxime.coquelin@redhat.com" <maxime.coquelin@redhat.com>,
"zhihong.wang@intel.com" <zhihong.wang@intel.com>,
"xiaolong.ye@intel.com" <xiaolong.ye@intel.com>,
Ruifeng Wang <Ruifeng.Wang@arm.com>,
Phil Yang <Phil.Yang@arm.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, nd <nd@arm.com>,
Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>,
nd <nd@arm.com>
Subject: Re: [dpdk-dev] [PATCH v1] net/virtio: simplify variable name
Date: Wed, 24 Jun 2020 19:45:05 +0000 [thread overview]
Message-ID: <DB6PR0802MB22169E7F4D6F124198F031D998950@DB6PR0802MB2216.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20200624084510.35277-1-joyce.kong@arm.com>
<snip>
> Subject: [PATCH v1] net/virtio: simplify variable name
>
> Virtio_hw *hw has been pointed to vq->hw, it is better to use hw instead of
> vq->hw in later code.
>
> Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
> ---
> drivers/net/virtio/virtio_rxtx_simple_neon.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/virtio/virtio_rxtx_simple_neon.c
> b/drivers/net/virtio/virtio_rxtx_simple_neon.c
> index 363e2b330..8e6fa1fd7 100644
> --- a/drivers/net/virtio/virtio_rxtx_simple_neon.c
> +++ b/drivers/net/virtio/virtio_rxtx_simple_neon.c
> @@ -71,8 +71,8 @@ virtio_recv_pkts_vec(void *rx_queue, struct rte_mbuf
> **rx_pkts,
> */
> uint16x8_t len_adjust = {
> 0, 0,
> - (uint16_t)vq->hw->vtnet_hdr_size, 0,
> - (uint16_t)vq->hw->vtnet_hdr_size,
> + (uint16_t)hw->vtnet_hdr_size, 0,
> + (uint16_t)hw->vtnet_hdr_size,
> 0,
> 0, 0
> };
> --
> 2.27.0
next prev parent reply other threads:[~2020-06-24 19:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-24 8:45 Joyce Kong
2020-06-24 19:45 ` Honnappa Nagarahalli [this message]
2020-06-28 4:57 ` Xia, Chenbo
2020-06-30 7:27 ` Maxime Coquelin
2020-06-30 7:41 ` 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=DB6PR0802MB22169E7F4D6F124198F031D998950@DB6PR0802MB2216.eurprd08.prod.outlook.com \
--to=honnappa.nagarahalli@arm.com \
--cc=Joyce.Kong@arm.com \
--cc=Phil.Yang@arm.com \
--cc=Ruifeng.Wang@arm.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=maxime.coquelin@redhat.com \
--cc=nd@arm.com \
--cc=xiaolong.ye@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).