patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Michal Krawczyk <mk@semihalf.com>
Cc: stable@dpdk.org, mw@semihalf.com, gtzalik@amazon.com, evgenys@amazon.com
Subject: Re: [dpdk-stable] [PATCH 1/2] net/ena: fix Rx descriptors allocation
Date: Sun, 21 May 2017 18:35:38 +0800	[thread overview]
Message-ID: <20170521103538.GG2276@yliu-dev> (raw)
In-Reply-To: <1495122111-10373-1-git-send-email-mk@semihalf.com>

On Thu, May 18, 2017 at 05:41:50PM +0200, Michal Krawczyk wrote:
> [ backported from upstream commit a467e8f37a3eec98210c0c3ec04bf6e9506ddd81 ]

Thanks for the backport, both applied to dpdk-stable/16.11.

	--yliu

> 
> When application tried to allocate 1024 descriptors, device was not
> initializing properly.
> 
> This patch solves it by avoiding allocation of all descriptors in the
> ring in one attempt. At least one descriptor must remain unused in the
> HW ring.
> 
> Fixes: 1173fca25af9 ("ena: add polling-mode driver")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Michal Krawczyk <mk@semihalf.com>
> Reviewed-by: Jakub Palider <jpalider@gmail.com>
> Acked-by: Jan Medala <jan.medala@outlook.com>

      parent reply	other threads:[~2017-05-21 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18 15:41 Michal Krawczyk
2017-05-18 15:41 ` [dpdk-stable] [PATCH 2/2] net/ena: fix delayed cleanup of Rx descriptors Michal Krawczyk
2017-05-21 10:35 ` Yuanhan Liu [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=20170521103538.GG2276@yliu-dev \
    --to=yuanhan.liu@linux.intel.com \
    --cc=evgenys@amazon.com \
    --cc=gtzalik@amazon.com \
    --cc=mk@semihalf.com \
    --cc=mw@semihalf.com \
    --cc=stable@dpdk.org \
    /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).