DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yuval Avnery <yuvalav@mellanox.com>
To: Matan Azrad <matan@mellanox.com>,
	Shahaf Shuler <shahafs@mellanox.com>,
	Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Cc: thomas@monjalon.net, dev@dpdk.org, yuvalav@mellanox.com,
	orika@mellanox.com
Subject: [dpdk-dev] [PATCH v1] common/mlx5: fix set regex register layout
Date: Tue, 28 Jul 2020 17:50:44 +0000	[thread overview]
Message-ID: <1595958644-66526-1-git-send-email-yuvalav@mellanox.com> (raw)

Reserved field should be 0x60 instead of 0x40.
Will fail FW check otherwise.

Fixes: be4f4a8b8e3b ("regex/mlx5: add engine status check")
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
---
 drivers/common/mlx5/mlx5_prm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h
index 8fab962..c78b462 100644
--- a/drivers/common/mlx5/mlx5_prm.h
+++ b/drivers/common/mlx5/mlx5_prm.h
@@ -2789,7 +2789,7 @@ struct mlx5_ifc_set_regexp_register_in_bits {
 	u8 engine_id[0x8];
 	u8 register_address[0x20];
 	u8 register_data[0x20];
-	u8 reserved[0x40];
+	u8 reserved[0x60];
 };
 
 struct mlx5_ifc_set_regexp_register_out_bits {
-- 
1.8.3.1


             reply	other threads:[~2020-07-28 17:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 17:50 Yuval Avnery [this message]
2020-07-29 15:01 ` Raslan Darawsheh

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=1595958644-66526-1-git-send-email-yuvalav@mellanox.com \
    --to=yuvalav@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=matan@mellanox.com \
    --cc=orika@mellanox.com \
    --cc=shahafs@mellanox.com \
    --cc=thomas@monjalon.net \
    --cc=viacheslavo@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).