patches for DPDK stable branches
 help / color / 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
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 index

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 publically 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

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox