DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Ouyang, Changchun" <changchun.ouyang@intel.com>
To: Wei li <liw@dtdream.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] lib_vhost:reset secure_len when rte_atomic16_cmpset failed
Date: Mon, 1 Jun 2015 04:49:13 +0000	[thread overview]
Message-ID: <F52918179C57134FAEC9EA62FA2F962511B74BDA@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <4ebbd24d-333e-4cc8-8c16-a4c6cc9dd85c@liw0310-PC.local>



> -----Original Message-----
> From: Wei li [mailto:liw@dtdream.com]
> Sent: Monday, June 1, 2015 11:00 AM
> To: dev@dpdk.org
> Cc: Ouyang, Changchun
> Subject: [PATCH] lib_vhost:reset secure_len when rte_atomic16_cmpset
> failed
> 

The one line change is ok, but need more description.

> ---
>  lib/librte_vhost/vhost_rxtx.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
> index 4809d32..fb3e72a 100644
> --- a/lib/librte_vhost/vhost_rxtx.c
> +++ b/lib/librte_vhost/vhost_rxtx.c
> @@ -431,6 +431,7 @@ virtio_dev_merge_rx(struct virtio_net *dev, uint16_t
> queue_id,
>  			 */
>  			res_base_idx = vq->last_used_idx_res;
>  			res_cur_idx = res_base_idx;
> +			secure_len = 0;
> 
>  			do {
>  				avail_idx = *((volatile uint16_t *)&vq->avail-
> >idx);
> --
> 1.9.5.msysgit.1
> 

      reply	other threads:[~2015-06-01  4:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01  3:00 Wei li
2015-06-01  4:49 ` Ouyang, Changchun [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=F52918179C57134FAEC9EA62FA2F962511B74BDA@shsmsx102.ccr.corp.intel.com \
    --to=changchun.ouyang@intel.com \
    --cc=dev@dpdk.org \
    --cc=liw@dtdream.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).