All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Adrien Mazarguil <adrien.mazarguil@6wind.com>,
	Yongseok Koh <yskoh@mellanox.com>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [PATCH] net/mlx5: fix queue wrap-around of multi-packet send
Date: Fri, 20 Jan 2017 18:43:15 +0000	[thread overview]
Message-ID: <b8a6ea53-505f-e082-6565-0c767f05a98a@intel.com> (raw)
In-Reply-To: <20170120165647.GL3779@6wind.com>

On 1/20/2017 4:56 PM, Adrien Mazarguil wrote:
> On Tue, Jan 17, 2017 at 04:51:55PM -0800, Yongseok Koh wrote:
>> When the WQ is wrapped around, it wrongly checks the condition when
>> resetting the pointer. It should be compared against the end of the queue,
>> not the beginning of the queue. And this isn't even needed when the length
>> of the copying data crosses the boundary.
>>
>> Fixes: e5291c280c08 ("net/mlx5: use work queue buffer as a raw buffer")
>>
>> CC: stable@dpdk.org
>> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
>> ---
>>  drivers/net/mlx5/mlx5_rxtx.c | 10 ++++++----
>>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> Thanks for addressing this issue.
> 
> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>

Fixes: fdcb0f53053b ("net/mlx5: use work queue buffer as a raw buffer")
Applied to dpdk-next-net/master, thanks.

      reply	other threads:[~2017-01-20 18:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18  0:51 [PATCH] net/mlx5: fix queue wrap-around of multi-packet send Yongseok Koh
2017-01-20 16:56 ` Adrien Mazarguil
2017-01-20 18:43   ` Ferruh Yigit [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=b8a6ea53-505f-e082-6565-0c767f05a98a@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=yskoh@mellanox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.