patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: Michal Krawczyk <mk@semihalf.com>, stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH 19.11] net/ena/base: fix testing for supported hash function
Date: Fri, 29 May 2020 18:11:34 +0100	[thread overview]
Message-ID: <423a7c1ebcb83f3471d87bd778e463b19d0ae3cb.camel@debian.org> (raw)
In-Reply-To: <20200529104604.28836-1-mk@semihalf.com>

On Fri, 2020-05-29 at 12:46 +0200, Michal Krawczyk wrote:
> [ upstream commit 6e585db68903b9ef8e0a547efc8f3e71af424397 ]
> 
> There was a bug in ena_com_fill_hash_function(), which was causing bit to
> be shifted left one bit too much.
> 
> To fix that, the ENA_FFS macro is being used (returning the location of
> the first bit set), hash_function value is being subtracted by 1 if any
> hash function is supported by the device and BIT macro is used for
> shifting for better verbosity.
> 
> Fixes: 99ecfbf845b3 ("ena: import communication layer")
> 
> Signed-off-by: Michal Krawczyk <mk@semihalf.com>
> ---
>  drivers/net/ena/base/ena_com.c       | 22 +++++++++++++++-------
>  drivers/net/ena/base/ena_plat_dpdk.h |  2 ++
>  2 files changed, 17 insertions(+), 7 deletions(-)

Acked-By: Luca Boccassi <bluca@debian.org>

Thanks, applied.

      reply	other threads:[~2020-05-29 17:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29 10:46 Michal Krawczyk
2020-05-29 17:11 ` Luca Boccassi [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=423a7c1ebcb83f3471d87bd778e463b19d0ae3cb.camel@debian.org \
    --to=bluca@debian.org \
    --cc=mk@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).