patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Shahaf Shuler <shahafs@mellanox.com>
To: Yongseok Koh <yskoh@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix assert for Tx completion queue count
Date: Tue, 24 Jul 2018 13:48:47 +0000	[thread overview]
Message-ID: <DB7PR05MB44262B56F6A1BECE20F917C4C3550@DB7PR05MB4426.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20180723180010.3575-1-yskoh@mellanox.com>

Monday, July 23, 2018 9:00 PM, Yongseok Koh:
> Subject: [PATCH] net/mlx5: fix assert for Tx completion queue count
> 
> There should be at least one Tx CQE remained if Tx WQ and txq->elts[] have
> available slots to send a packet because the size of Tx CQ is exactly calculated
> from the size of other resources. As it is guaranteed, it is checked by an
> assertion.
> 
> max_elts is checked after the assertion for Tx CQ. If no slot is available in txq-
> >elts[], the assertion would be wrong.
> 
> Fixes: 2eefbec531c7 ("net/mlx5: add missing sanity checks for Tx completion
> queue")
> Fixes: 6ce84bd88919 ("net/mlx5: add enhanced multi-packet send for
> ConnectX-5")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
> Acked-by: Xueming Li <xuemingl@mellanox.com>

Applied to next-net-mlx, thanks. 

      reply	other threads:[~2018-07-24 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-23 18:00 Yongseok Koh
2018-07-24 13:48 ` Shahaf Shuler [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=DB7PR05MB44262B56F6A1BECE20F917C4C3550@DB7PR05MB4426.eurprd05.prod.outlook.com \
    --to=shahafs@mellanox.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 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).