patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
To: "harry.van.haaren@intel.com" <harry.van.haaren@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [EXT] [PATCH] event/sw: fix selftest enqueue return value checks
Date: Sat, 30 Mar 2019 15:26:46 +0000	[thread overview]
Message-ID: <229c8d512bf84c631d43cb50a2cc1552e137436d.camel@marvell.com> (raw)
In-Reply-To: <20190327184546.89483-1-harry.van.haaren@intel.com>

On Wed, 2019-03-27 at 18:45 +0000, Harry van Haaren wrote:
> -------------------------------------------------------------------
> ---
> This patch fixes a number of instances of the same return
> value mis-check, where previously we checked for a negative
> return value as error, however the API returns an unsigned
> integer, so these return value checks are invalid.
> 
> The rte_event_enqueue_burst() API returns the number of
> events enqueued, so in order to identify the error case,
> we must check for != the number of intended enqueues.
> 
> Fixes: cd1a9e3eab55 ("test/eventdev: add SW tests for load
> balancing")

Cc: stable@dpdk.org


> Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>

Applied to dpdk-next-eventdev/master. Thanks.

           reply	other threads:[~2019-03-30 15:27 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20190327184546.89483-1-harry.van.haaren@intel.com>]

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=229c8d512bf84c631d43cb50a2cc1552e137436d.camel@marvell.com \
    --to=jerinj@marvell.com \
    --cc=dev@dpdk.org \
    --cc=harry.van.haaren@intel.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).