From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BFC05A052B; Wed, 29 Jul 2020 17:01:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 208871023; Wed, 29 Jul 2020 17:01:27 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00089.outbound.protection.outlook.com [40.107.0.89]) by dpdk.org (Postfix) with ESMTP id A37E53B5 for ; Wed, 29 Jul 2020 17:01:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NqGJv+68uVHSneEjCF/xH5Olg1yDqhpjPeV/oFDpzIpqjos4MUM08y3JEAl3Xkv6EvQAI5oh8v5LZuKLqpNdN7pCHpwsNmZk8wKwOC9p3AoCoaqWNPhYwJN58pnHqxI2ZfyWJn1WpKKJWkCmdR7Hou2XDzgNkV+LgK4QFhsoc3vYGOy2QRWhDeBtpQjz2dVgtzBJhif0eLdOSFrQXUqgHTC8smfReBmO0GzXupdy5e52p4ytKJkhEme3B7zKDpihIoPh6oq+GN8pOFvl6WGQgvHg9hXJmLhVQb4yVDjfxJt3dOoo/PDSZiTWd7qkJYvMsxT9GtluhG7ya1JTpauyKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vcTfauHKAAIpAzJJESyVTRGO0/BldB7F+96eTqCuWGI=; b=QlZxaxAbsKNJHV4H218fDQY/Aj6fVaFNFuBFXTeFfpn9uoTotjBjcW8huXhg1BPjfkcxR6Zud1fqtzGZf79VOJjW5roCcvt9iQoXu52JWptNmkiltse7JxoYOeCHYFPsecVtSF7HsR6RcWsVPFv7lvcZXSW+FxtwprznOmKC8nTmfUVAIROYQRLtZ5yr6xiAhXyQ3gZujU83m52UQ3eWi/2DR0rsyAobqjb2oreakXYx3cxMWRSpVfLbMFwOw32uF7MjlKGXWhmfX6QVRfv41ATNg+yzcwUWhxbesNf1zteoYaUDnG/9s0dxT7YRznMF8IOTnTwKUupBY7Ynt6aM8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vcTfauHKAAIpAzJJESyVTRGO0/BldB7F+96eTqCuWGI=; b=RZDR+Y5gwLWHbeym9nJ39Olcpd0+GbT0STvZc91BX6VcpIWaDO/L65P8icqKz0PnD5Zke16JU4+Q8dus4tQdJb88KRLkDRhes/vjO5DAiNflfOsa3xNuDLNjfg1OK4LS5fYbZMtsFXfwymGHM9pT75FX+iUvegk6+X4AKQ4+Fl0= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM0PR05MB6083.eurprd05.prod.outlook.com (2603:10a6:208:127::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.16; Wed, 29 Jul 2020 15:01:24 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::ecd3:6008:3784:4012]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::ecd3:6008:3784:4012%4]) with mapi id 15.20.3239.017; Wed, 29 Jul 2020 15:01:24 +0000 From: Raslan Darawsheh To: Yuval Avnery , Matan Azrad , Shahaf Shuler , Slava Ovsiienko CC: Thomas Monjalon , "dev@dpdk.org" , Yuval Avnery , Ori Kam Thread-Topic: [dpdk-dev] [PATCH v1] common/mlx5: fix set regex register layout Thread-Index: AQHWZQeoYiq3WKy2sE6uXpZE9IXXzqkenjUQ Date: Wed, 29 Jul 2020 15:01:24 +0000 Message-ID: References: <1595958644-66526-1-git-send-email-yuvalav@mellanox.com> In-Reply-To: <1595958644-66526-1-git-send-email-yuvalav@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [84.242.49.134] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: c1c57148-43ae-4255-77c4-08d833d04359 x-ms-traffictypediagnostic: AM0PR05MB6083: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1468; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: x2PIDIiTPycIsVfVkGCbRfc1k1Vyy3sFHysfSoZIJUy0uV1UGC4fZhF2sRZ85hg/YE/L1bHJ11YF2gjWWwq55IB+yn6Mi7dMjyFxgeX3jVZS4Fl9zfc7m+TIWzfXn0keXUGMs4yqXNOG75CoQy0NYd/aMsBoNm9mx3GJk+hw7X63x+oXUMvE63U/qVecrAVTVkA22sp1mz2utwPAZ+sVt3HMQf5MUDHnyhIo9NRHiGhHfSr+B/REk3ebOXw6BpimnmaWU4sAYbi/zZBrM9zTmRTawthT7u55VkhIVewy055tiV/wYM9GXv9WsD3uizdj91jQc+QoUjWGOiuJqUYfyQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(39860400002)(396003)(366004)(136003)(55016002)(86362001)(478600001)(66446008)(5660300002)(6636002)(316002)(107886003)(8936002)(9686003)(7696005)(26005)(4326008)(71200400001)(186003)(76116006)(66946007)(53546011)(83380400001)(33656002)(6506007)(8676002)(2906002)(110136005)(52536014)(64756008)(54906003)(66476007)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: nLpJaaz4kRKct6R8B0rUeyRXkvUcXnchc2i7nJvtSs1V+fDP2eK28Lioderk1wx6EKl/Srw3gz0N4zm4a42pdI/SmcbCJSwlpOff7YxNMhXNuzO9Cq9JUGFVoywpP4CICOl9zy5WwQxWQl6PpkMMtQYTELbJgLnuRYmpVdDjj6PrvqZT/zRgjy1nimhWxSgU+O8Qf2/h18swUX16VlvRRb6h2wUNSNY0FtlrxbmvaRySIEAXNo4fzT0dx8VQQOggsDEDpW8v63YdsblRYl5Sup1toMco041qw+Sk1zCbKShp9+yv96iy+s5h0o42r01uql61oRbrJAyGcS/kXTMBv1jh0VZQnHCF+WA1gFSuG2VGLwh1O4oHMVTTLok/RTzZdWu3OkdFOY0DQOmzpmMMw1qThVVVUHce8MyK1VE4MZV2JNZPNmWxMJwj3scwPOx95McPSxtMqBMdJ8/6OvGtS6V/X8yncQKrYNv17cJ4bbN6/u0XBuqurtXB4DdjrksfM5n1S+VjqZivFKWLJXcOsw4jlGlWsiTsIHrV99a6Zw5kZDrCUgOmOrYeLDG75jAqyPT0PfidkxPys3hqTRcihavPfEoz12meoHyiBZECCJo0hRb/UFNq4CDPP58/hgpHEOjrRs4jkoKCYzNOY9n9Ow== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB6707.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1c57148-43ae-4255-77c4-08d833d04359 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 15:01:24.7901 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dewJ2EcOGK8ouwvjn0NPEnhB/nHavxEYuOexQq379Ulqr9SxJ85fKK3iTY24iMmH9sMtSjvzu6nKnKL5c+ve/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6083 Subject: Re: [dpdk-dev] [PATCH v1] common/mlx5: fix set regex register layout X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, > -----Original Message----- > From: dev On Behalf Of Yuval Avnery > Sent: Tuesday, July 28, 2020 8:51 PM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: Thomas Monjalon ; dev@dpdk.org; Yuval > Avnery ; Ori Kam > Subject: [dpdk-dev] [PATCH v1] common/mlx5: fix set regex register layout >=20 > Reserved field should be 0x60 instead of 0x40. > Will fail FW check otherwise. >=20 > Fixes: be4f4a8b8e3b ("regex/mlx5: add engine status check") > Signed-off-by: Yuval Avnery > Acked-by: Ori Kam > --- > drivers/common/mlx5/mlx5_prm.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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]; > }; >=20 > struct mlx5_ifc_set_regexp_register_out_bits { > -- > 1.8.3.1 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh