patches for DPDK stable branches
 help / color / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: Dekel Peled <dekelp@mellanox.com>, stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH 19.11] net/mlx5: fix RSS key copy to TIR context
Date: Mon, 01 Jun 2020 11:08:34 +0100
Message-ID: <e76ef391df8eacabb825ed0172ae26dbef9ebe86.camel@debian.org> (raw)
In-Reply-To: <a55dcf3fd623a349c469c760c7398fa1479d666b.1590934814.git.dekelp@mellanox.com>

On Sun, 2020-05-31 at 17:23 +0300, Dekel Peled wrote:
> [ upstream commit a4e6ea97a5212f5b59cc65a1293ad23e67ade8fc ]
> 
> In function mlx5_devx_cmd_create_tir(), the 40 bytes of RSS key are
> copied in 10 iterations, 4 bytes each time using the MLX5_SET macro.
> As result the RSS key is copied into TIR context in swapped byte order.
> This patch fixes the issue, using memcpy() to copy the RSS key as is.
> The struct member mlx5_devx_tir_attr.rx_hash_toeplitz_key is updated
> to byte array type.
> 
> Fixes: c3aea272eed8 ("net/mlx5: create advanced Rx object via DevX")
> 
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> Acked-by: Matan Azrad <matan@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5.h           | 2 +-
>  drivers/net/mlx5/mlx5_devx_cmds.c | 9 +++------
>  drivers/net/mlx5/mlx5_rxq.c       | 3 ++-
>  3 files changed, 6 insertions(+), 8 deletions(-)

Thanks, applied.

-- 
Kind regards,
Luca Boccassi

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31 14:23 Dekel Peled
2020-06-01 10:08 ` 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=e76ef391df8eacabb825ed0172ae26dbef9ebe86.camel@debian.org \
    --to=bluca@debian.org \
    --cc=dekelp@mellanox.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