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 A576BA00BE; Wed, 8 Jul 2020 09:33:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 44F551D9DC; Wed, 8 Jul 2020 09:32:46 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140074.outbound.protection.outlook.com [40.107.14.74]) by dpdk.org (Postfix) with ESMTP id 348451D9DC for ; Wed, 8 Jul 2020 09:32:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AsicyatPS/4y9VsK1EkhBTv6/drjlcnenWbieqluhNihBsWSDFOlyaL/68pRLeaKaroFReIUQ1J/nTwBc9N9KF7IPgs+5R1AbzdBoIgaNoJObY+KMrm88f0TdvlCjoSMpc2Qvz/rzi0uAkoRMqtoKGCr/l/Jt/Y19g0yOkHMsjkaijpjyHBeqXqZMycV5l0bhBWpbp5pcu1Vjaeue1OlEXo0Hh9vuPp1IPvDLzL1C360iKQHnCICI5/mgIHEddx8F1NT6kALnxx4TwBxb3P2nn/8hDNSswFRgBSAjXN2f6D8AktiFhp7+itTrs8xmaJd5JRBh12vKF/9iQb8WP5jWw== 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=mWCJheBL2aZJKhC7vZASR/84ObzPu3pjFdVO44f38pk=; b=VzyvvT+TZ7Ansv1RrwXGm5bPaYvmZIbFuyzZEGlAmA/EbVBTtknRZvqOYCu1msV2tYMQZb7ZvocOe9PfsLjoKXItXb0ZrLDBVba8SX/oniY3cewDdblxNmoqb/3FjLqj45OscW506Xru5SUI38dqHA2PkCnzyPolHRG8YP+C+TMdyGxijfohOvWBskxqWIJBQFujigVYUpQG/i9/Zxh3p323irnBo2tEAvxXrMxYFs+aTkpzEzOudqITgVVgEaxDYZUnGN2SFdGH2HiIu2JOsDssfXsHsW8Pk8a/ugjZB61Kd5Db5b392tglUH1MUPSZVYp7Y93SILim/lF9JXgpAQ== 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=mWCJheBL2aZJKhC7vZASR/84ObzPu3pjFdVO44f38pk=; b=gNPuwcTJBBfzQeaXwiBYHx3x1AzIgSWV/nZ9IMhrs0SQiWmQQnr9t9ZXEM68OB2/ubIQ6nTahoOX2bKOxqP5IdYQH+jycLQzAWx2u4AKkxPlGfU7aDzArB0rQvfIvTirt663ofWcyCcqvu2TiPqJvr4xgAvTxijH6FUBuRLtG5w= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (2603:10a6:205:8::26) by AM0PR05MB6084.eurprd05.prod.outlook.com (2603:10a6:208:134::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.27; Wed, 8 Jul 2020 07:32:42 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed%2]) with mapi id 15.20.3174.022; Wed, 8 Jul 2020 07:32:42 +0000 From: Slava Ovsiienko To: Ori Kam , "jerinj@marvell.com" , "xiang.w.wang@intel.com" , Matan Azrad , Shahaf Shuler CC: "guyk@marvell.com" , "dev@dpdk.org" , "pbhagavatula@marvell.com" , "hemant.agrawal@nxp.com" , Opher Reviv , Alex Rosenbaum , "dovrat@marvell.com" , "pkapoor@marvell.com" , "nipun.gupta@nxp.com" , "bruce.richardson@intel.com" , "yang.a.hong@intel.com" , "harry.chang@intel.com" , "gu.jian1@zte.com.cn" , "shanjiangh@chinatelecom.cn" , "zhangy.yun@chinatelecom.cn" , "lixingfu@huachentel.com" , "wushuai@inspur.com" , "yuyingxia@yxlink.com" , "fanchenggang@sunyainfo.com" , "davidfgao@tencent.com" , "liuzhong1@chinaunicom.cn" , "zhaoyong11@huawei.com" , "oc@yunify.com" , "jim@netgate.com" , "hongjun.ni@intel.com" , "deri@ntop.org" , "fc@napatech.com" , "arthur.su@lionic.com" , Thomas Monjalon , Ori Kam , Raslan Darawsheh , Yuval Avnery Thread-Topic: [PATCH 16/20] common/mlx5: add match tuple hw layout Thread-Index: AQHWUq412gtV/cf43Uu8v68imIUpb6j9To2g Date: Wed, 8 Jul 2020 07:32:42 +0000 Message-ID: References: <1593941027-86651-1-git-send-email-orika@mellanox.com> <1593941027-86651-17-git-send-email-orika@mellanox.com> In-Reply-To: <1593941027-86651-17-git-send-email-orika@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: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 72f3b171-77b9-42b4-a88d-08d8231119dd x-ms-traffictypediagnostic: AM0PR05MB6084: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:849; x-forefront-prvs: 04583CED1A x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wqduMXGM67UHD0KGmmViOsw5WK0lH6x+/AdtCoEjzxNDixjH4ehUJZfvv8V7xCkwD+wTFczn21EbvxxE03pNOivYJopysLW2pYZxDu4mX1SAVv6wjlQYzlhoHTgqkr2hBFMF/v1CCVXbrqsE2czkL8mQ38VyaAlrmC3bmobgX3izbyAPW8XbLYueOzOC4kpf/2ngUlSu0e+T3WkM+FweNQgsr/7ZdncT5OYNEV6SjZVopcanv1szkNXy2pAXohuYDlMDfL5dCzD4jtzvj4m8/+gAndqUfrmC53VHutJHnYPw6AeP2boSgwzHKqigVzaxYqwbBuQvzyZkkkwHiK6Z1A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR05MB3265.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(366004)(136003)(376002)(346002)(396003)(71200400001)(5660300002)(26005)(33656002)(6636002)(107886003)(8936002)(316002)(54906003)(110136005)(478600001)(186003)(6506007)(7416002)(8676002)(53546011)(7696005)(2906002)(66446008)(83380400001)(52536014)(9686003)(55016002)(76116006)(64756008)(66556008)(4326008)(86362001)(66946007)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: GMwguM23ZkY214DEXVlvynfLubJzlWTI0EPgVE27sA3Tk17UrumgG+NvAH52LifpJUrTSwrbBlJ/+Beig/9lOUQV721iTzeBDmJHu0V9pyUWmKLeW4ppzKJ8LS4YAp/1Ih+uvdcUCPL3ZInEcQAK/OZFEWz01b8sWyjs8vL0Hq5FbN8CZvQgnTZa8lmrq7kyE8STzhs6tZ8Qm/X0qeUbqr2hqV06bFI6H8wWhXa9EqiDG4n47lfNKx7J1lgNEhp5AYvY6UIqUFY2y3KGs/x2mUCl8TFd5YiBMZTWm4hyLQQUsT0yuoUgpO0+6kctjfZjhSMb2r83vQk/kAAPZ4xZMnD9KjkrEvB+Xlzv+LRjrZ4e8iFk3oWko1Qdje8NWYpzgEFmPEY3XJHU0CCAsIXjNdgOw4PRll02OrF6zuIPaxWvb+4P4sflvCIwle0BKfoMTvqD1lwdmvym36GMe80aK0gDgaHzYGYX3xK5kZKN7N4= 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: AM4PR05MB3265.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72f3b171-77b9-42b4-a88d-08d8231119dd X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2020 07:32:42.6489 (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: LsMY0JxtIHCGekgYxti5n/DVJ3B+YB4PsnBIYyYysRTdDfBM67uruZVLmEDvMuJQG+09p/tStcggOaBCCb8p/INfKgNmOXqfAqXKIVEePJU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6084 Subject: Re: [dpdk-dev] [PATCH 16/20] common/mlx5: add match tuple hw 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" Acked-by: Viacheslav Ovsiienko > -----Original Message----- > From: Ori Kam > Sent: Sunday, July 5, 2020 12:24 > To: jerinj@marvell.com; xiang.w.wang@intel.com; Matan Azrad > ; Slava Ovsiienko ; > Shahaf Shuler > Cc: guyk@marvell.com; dev@dpdk.org; pbhagavatula@marvell.com; > hemant.agrawal@nxp.com; Opher Reviv ; Alex > Rosenbaum ; dovrat@marvell.com; > pkapoor@marvell.com; nipun.gupta@nxp.com; > bruce.richardson@intel.com; yang.a.hong@intel.com; > harry.chang@intel.com; gu.jian1@zte.com.cn; > shanjiangh@chinatelecom.cn; zhangy.yun@chinatelecom.cn; > lixingfu@huachentel.com; wushuai@inspur.com; yuyingxia@yxlink.com; > fanchenggang@sunyainfo.com; davidfgao@tencent.com; > liuzhong1@chinaunicom.cn; zhaoyong11@huawei.com; oc@yunify.com; > jim@netgate.com; hongjun.ni@intel.com; deri@ntop.org; > fc@napatech.com; arthur.su@lionic.com; Thomas Monjalon > ; Ori Kam ; Raslan > Darawsheh ; Yuval Avnery > > Subject: [PATCH 16/20] common/mlx5: add match tuple hw layout >=20 > From: Yuval Avnery >=20 > Add the found match tuple. >=20 > Signed-off-by: Yuval Avnery > Acked-by: Ori Kam >=20 > --- > drivers/common/mlx5/mlx5_prm.h | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/drivers/common/mlx5/mlx5_prm.h > b/drivers/common/mlx5/mlx5_prm.h index bfbc58b..874dde6 100644 > --- a/drivers/common/mlx5/mlx5_prm.h > +++ b/drivers/common/mlx5/mlx5_prm.h > @@ -409,6 +409,12 @@ struct mlx5_ifc_regexp_metadata_bits { > uint8_t reserved[0x80]; > }; >=20 > +struct mlx5_ifc_regexp_match_tuple_bits { > + uint8_t length[0x10]; > + uint8_t start_ptr[0x10]; > + uint8_t rule_id[0x20]; > +}; > + > /* Adding direct verbs to data-path. */ >=20 > /* CQ sequence number mask. */ > -- > 1.8.3.1