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 29DFEA04E6; Tue, 17 Nov 2020 14:26:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E9DA5567C; Tue, 17 Nov 2020 14:26:00 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id 6D93337B1 for ; Tue, 17 Nov 2020 14:25:57 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 17 Nov 2020 05:26:06 -0800 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Nov 2020 13:25:56 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 17 Nov 2020 13:25:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xnbi4skPIZHhe+yDWOhmjA3Mrp+e0nrP5GLSvzQslhXd+ehk3atJNAi4tf2rXnvNJmTo+N2iLUEzdKBFqzFKmUkIio4oLqd9dvoGyLFHnz8JcI5zpLP4rRydxEN288NNlUjxP5fjy9kctMiHCZ9Gcw6gqVtmefXHOtCz3VZJaOEMrqN25+d87oZ0/klknZXkPd74+91ILO3/Xttb/gKNOccZiL0l+qfUIy6N7b4ssG7S63heI1U1Dg31zIPNdiEsP87JdeKxFPnb5iDgeMUcI6GL8OqTg7T65rXO56nldz8sIdZEYlyXpRhAAww+PhZh1IYMiYFijk8PXDFQpQQByw== 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=Pf87dBYhlgiy15z5Fz9bCi251p1v8k5KNMEkoLi3bTg=; b=OtY6kEhzsV/dxc6upc49yo5H25Nr83jNg5zjmZK5QSgD0h7J3LtYnXpDWKb45s9ftmaKbpNDmU1W7WTd2JZHVLcM6XruFyU4LNNRRAYwvltehiWLxZDuXGxQvtdgahmL/tyHCYR9J3/G6YUGa8Fw8ujQKLjW0vXiXcQzbTPcjCkittKxwAk+d47bmUDpiZuUZB2yYM4kZJ5UV4YxQ1/8mwcc59A4nCl41bxh0C13PUIGuo5mbMOtpZ7K+hROJ5yw8xN/ngJ1lfdnoAWXj2DHzUYq2+i9zGW5ktd6PWTbgPRVRRNgtG+G/otjoT1j90Wr9HOcjy1363G8wdkS+gpW9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MW2PR12MB2492.namprd12.prod.outlook.com (2603:10b6:907:8::19) by MWHPR12MB1710.namprd12.prod.outlook.com (2603:10b6:300:114::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.28; Tue, 17 Nov 2020 13:25:55 +0000 Received: from MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::39f3:2b4b:6018:4b88]) by MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::39f3:2b4b:6018:4b88%7]) with mapi id 15.20.3564.028; Tue, 17 Nov 2020 13:25:54 +0000 From: Matan Azrad To: Xiaoyu Min , Shahaf Shuler , Slava Ovsiienko CC: "dev@dpdk.org" , Jack Min Thread-Topic: [PATCH 1/5] net/mlx5: fix protocol size for raw encap judgement Thread-Index: AQHWu+34PzFVIZP87EixS92biOSq7anMUlDw Date: Tue, 17 Nov 2020 13:25:54 +0000 Message-ID: References: <493405ea9f0f86ef8e0cfa08cab0d5ae764ae8be.1605493464.git.jackmin@nvidia.com> In-Reply-To: <493405ea9f0f86ef8e0cfa08cab0d5ae764ae8be.1605493464.git.jackmin@nvidia.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=nvidia.com; x-originating-ip: [77.126.110.58] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3206e4fd-ab08-4ff4-11e9-08d88afc4fe5 x-ms-traffictypediagnostic: MWHPR12MB1710: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2657; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ffy3IWTTAtvUzhVa68xKWIaCbcmpQ5DFge/EKQ3erPC+D5ZKsDiqAEAPy/+4NOcRUk7qv8yRsPw7CNJRGuV5sqRh1He2IW4O5aYq22wjqGfNLF17aoa5K4QGF32i95VAjrcc7SayO28Se3oWO/qqeJ8rNwep0O1zKqiH6gyeN8Nv5YcGgJ+B5z9EWypszMkQUpuncHOwnBHnhutA75W0WZFilLnB/61dVD0Rwke8+43AIXj/PFAnRPmdBdf6UF7E8pL3XwmNdT/cGrpeOoshieyEbUoy3eMtBMEYLk4AIMX8FVdwTXDOuMt6f6x8UiRI x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR12MB2492.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(39860400002)(136003)(366004)(396003)(4326008)(8676002)(6636002)(66556008)(2906002)(7696005)(478600001)(54906003)(110136005)(8936002)(9686003)(6506007)(316002)(186003)(107886003)(55016002)(76116006)(64756008)(26005)(66946007)(66476007)(4744005)(5660300002)(33656002)(86362001)(52536014)(66446008)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Yze5Pw5PWFGZV2XFtgDssLn/oznmu6nslnsG+ZICZHJJPajBBh5ENJozAwf9hbMjXPGM5BLSfqhO+QFwr3WTX6inLt7MNZjnQAXPxbh2dvpM8HUvfk3E8pY86NyfZSQr5e0pbHyVo57EaBxSpXPRUtqUf/rdJQ4/oM5SyWbe5eJNs1lP/qOHaFWdXdsM2Gpqr+Eod/2c7igWIAoMKoqbn/g7N4ppcEbKyYXJDnkKmrUbQ26h2LYsXK5DFZPZvZVYCQ5o6IGdTjuVUh1RVTqJJP9Lj0RJRtDsRJZCz/JeTovtpbI9Zz+GKOELJBzrBpz1wYqHh6GuvD7IH+J+Bj23/w7hCVzRgDGLSqQuQpBcHK4bI/pi7hkkwZZP4ljPnYsu22GGA4zN5fK2I64AeLSVK2dLANpT1H+RgrqJCFTyP/I5BR7Gl6A1y2ikvjqMzUC3ywQhuDguVk/X6nb7Fo1KwNdA5JoaBYsN76JiGIrN2EYo2oQmsVoiEM/fbLrEu1xylLalChP1WOMNdw/mxKa0D4aTKK88GlxI8dyH63K0CbgWbdTu4BfQpxsdZZZwdvRCJDiAH/rcs9kNZpw0HzMGOfrgZcwKXRNSFR4a3q5rCe25efgeyomgm4fjW3jtUms7b04S5OQ8EO+8jEwCQ9APRs9cPUVhPuL474QDPtpeNLzupWh8aZgD2nct4M3nITVd19ul3WfJur/DkLl9KVeBnsl68qH3Zy+9iLKLpYgua3f3a+BjquTjFDROh3uQIgI2LI9q+E8NGGO8PYsg5FOh0uWrHEbBRHIvpCRYEQpLOA51luZc99wpWZ7Dfh8hxINsrMwJ+qsMpA8em2nmNtUFmAUFHu7o3yKxJNet2QagYB7jPxLvodOicwszozfw6NRLBg2EeI0jcxIjRNU6vjoANw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB2492.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3206e4fd-ab08-4ff4-11e9-08d88afc4fe5 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2020 13:25:54.8460 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5B+yOFsY8Qe/YJledMCB1qDBRetcKtgyo+AKOSuTFO5OHvEyZin63GnZHxBZZmRYWS1rhxJXjlDsx9gpaoAPlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1710 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605619566; bh=Pf87dBYhlgiy15z5Fz9bCi251p1v8k5KNMEkoLi3bTg=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ms-exchange-transport-forked: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=SdFHW3cpnclNYt2F+cFvo27yRFj1yxLz/JzT4tyK589L4FRNsDyhlTOM/BC8ckkfk gKN0irTIS/lbYG6TVz5JRf0NvIp0VbXYsIvxxFFL1fI0qZRgZ3JnFcwj+nSrlWr+un 9a3X8yPB/ZoZsQiR0FLtpc2TEdPtFe+gjlt51fC1U4FPEeFzVB2onmh5wFXZAJhXqb ZjsoNAPqTqRJTx6goGTBD4uoQYuckcxuPrqoM9/nQ9q9hYnvLVgkmuXD0nqek/hpyQ Jj2jJHvKSIjcsBUxhk/X5x4TksHKxDSssSA8rey9kcsowxIS6ifXYpl4UsUtJXgDdD 6/wBmTIVLmvwQ== Subject: Re: [dpdk-dev] [PATCH 1/5] net/mlx5: fix protocol size for raw encap judgement 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" From: Xiaoyu Min > The rte_flow_item_eth and rte_flow_item_vlan items are refined. > The structs do not exactly represent the packet bits captured on the wire > anymore. > Should use real header instead of the whole struct. >=20 > Replace the rte_flow_item_* with the existing corresponding rte_*_hdr. >=20 > Fixes: 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN > items") >=20 > Signed-off-by: Xiaoyu Min Acked-by: Matan Azrad