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 CAEBDA0352; Sun, 3 Nov 2019 07:57:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C09B31DFE7; Sun, 3 Nov 2019 07:57:13 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40067.outbound.protection.outlook.com [40.107.4.67]) by dpdk.org (Postfix) with ESMTP id 4D5AA1DFE5 for ; Sun, 3 Nov 2019 07:57:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mtBUTLRWO3fKibzzXPeVwPwvmScRouT2zZbA4tLQjlg6apDxkHSL524316RHGQzxioKMWuOqEfKqWYcMSesNTamiay1V5IDdB3rdo6PC9qTYudes8bihtclrV2WAdb+82vUdR9iMZFlFQpOxxg8QI84fmrXXJ30AO+2ECy9Gu3I/s9dTznq3ZvGAyhXErroXIBVq32myTudfyt3EM3IFIAVlDv4ZQjP9aPi2N8tu5X4Ar0III+Ml2NCd5DJlnF1ci0EOEOEr8uFntg6uyM3MRt6xpM1a0Ivt6oKK07oJCVtbdJ0wEJf2Hyx6FctHf49YR1QePTSw3OdkfeouHTnGyQ== 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=u+4+tw3KHl3k+O3XHvk+5dOgaGvbhGsClEfpYxw2Fec=; b=Dq2DYHoed4cfgnezI2OzIMjrXCBfJWKJ0wJgZHPAk5okxzVqq25q7pFFUbeJmyyE8tQFxzYXxunRFLhxnsMYQ3doqGOs89GheFma0jJpoGrQaVVeF0jHvgafjbwJh/JToCydPVLE6jfzb+/rcjHrIr3XQLAbKspBjDO31iSw7tpqlRVTENsLOkRyH/hkKfOXh5zyssJMUAac7+RbjcZUWoMU3MWC1WmTXUGo+2ITU4Zhy95jKpOwOrrsu0SzLcmIN//ycg81uXiRVYcDXeDizHM4u72kuLGoyHzDc9Z0Qho+2x6THKfqVGDijNRpp6P3E7nYMhFkk4xTt4n5DX+jnA== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u+4+tw3KHl3k+O3XHvk+5dOgaGvbhGsClEfpYxw2Fec=; b=fNDOt8HJyPd5vDAvqXw9SJ8XfZauHNfUdYTeCYZOdWm32bwWBiIwI3WSYqOzb0bKmd4KxAfzNuJtMSl0FKAR+TgEdZK/J5MJi4lLn0gXB+mYDaix/uep+QYjknluiHXwFBEcsH6txOv1vcieabdXsDPE1hC0YqZxu9kZC4nLjo4= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3635.eurprd05.prod.outlook.com (52.133.46.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Sun, 3 Nov 2019 06:57:10 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::fd7a:e5a8:deec:c1b0]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::fd7a:e5a8:deec:c1b0%7]) with mapi id 15.20.2408.024; Sun, 3 Nov 2019 06:57:10 +0000 From: Matan Azrad To: Andrew Rybchenko , Pavan Nikhilesh Bhagavatula , "ferruh.yigit@intel.com" , Jerin Jacob Kollanukkaran , Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v15 3/7] ethdev: add validation to offloads set by PMD Thread-Index: AQHVkKQy9cRH0wytkUuPwqxEr75O2Kd5AfEw Date: Sun, 3 Nov 2019 06:57:09 +0000 Message-ID: References: <20191029050312.2715-1-pbhagavatula@marvell.com> <20191029153722.4547-1-pbhagavatula@marvell.com> <20191029153722.4547-4-pbhagavatula@marvell.com> <0547e0a0-1ccd-84ee-46f1-5b35e1d25680@solarflare.com> In-Reply-To: <0547e0a0-1ccd-84ee-46f1-5b35e1d25680@solarflare.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: c9d8bc29-e54a-4eb7-2474-08d7602b0c4f x-ms-traffictypediagnostic: AM0PR0502MB3635: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0210479ED8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(39850400004)(396003)(346002)(366004)(199004)(189003)(52314003)(110136005)(4326008)(6116002)(3846002)(6246003)(76176011)(6436002)(2906002)(14454004)(33656002)(316002)(81156014)(8676002)(26005)(186003)(86362001)(81166006)(76116006)(8936002)(66476007)(66556008)(446003)(64756008)(66946007)(66446008)(66066001)(25786009)(74316002)(256004)(486006)(71190400001)(5660300002)(7696005)(478600001)(476003)(11346002)(53546011)(52536014)(6506007)(9686003)(99286004)(229853002)(102836004)(305945005)(55016002)(2501003)(7736002)(71200400001)(14444005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3635; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vrZ06R14jCXx8veFLRfrKmeDZ1+XnljjUs29yKHf+wDJv0WenMmV3NjrDlwLXESb0yxieQu7BkTQPHtY/ZiU7ZqrN2d0DJPcS5dTJS8dSlsUFx9OKIloyh4HHeRYIejtTCePUr9Lp3l2WfYSL3ZHBryVfC/03lV7n7FM9tsRHr2MakTgFgDAASLt/Jd6/ZpfROi7JHff6GxdL3TYskzWtTBDrCIFcUFaDsnzC6hz9/zxEp+3AHSXvg+suIvN6SabAh7HIG9SBSzuBh/kEVII0TXbLYNJ/6HqPzkcmWceAQxBmDeZ2aHoR6Jt1y36o7VtF0Hry6U3uHt3tb7PSyKSuISlAwb8cRbqlLakQIZBmek7BbvvQsynypv6dePvP8/Ygay+Dj6Xs5Lyv9CdlE3IySdU7/D1+98qFBGzKiQvmPAiYLfq0/C8AAAVKfwickxu x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9d8bc29-e54a-4eb7-2474-08d7602b0c4f X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2019 06:57:10.0359 (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: plHRoQoijuaa9Gtf3CPdhpjWGWJ4gbzKCr0jrybLtsEaC5i+k5NFv+FHrZuJ3XT4w2XQRgbfHoi8s8s7kgaHGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3635 Subject: Re: [dpdk-dev] [PATCH v15 3/7] ethdev: add validation to offloads set by PMD 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: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