patches for DPDK stable branches
 help / color / mirror / 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	[thread overview]
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	other threads:[~2020-06-01 10:08 UTC|newest]

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 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=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
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).