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 E5073A0352; Sun, 3 Nov 2019 16:16:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 10CF21D426; Sun, 3 Nov 2019 16:16:29 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00041.outbound.protection.outlook.com [40.107.0.41]) by dpdk.org (Postfix) with ESMTP id 247FA1D421 for ; Sun, 3 Nov 2019 16:16:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lu86TXJ3vH8LTw8jND8Ad/cB1J8rdPuuR72QDcldf0ruC/4dmGRLgnG0ldR8LtfqOiui1s6P2cfpsTo0f4R7T2Fz7Xngyg4UMKxOKfU77TBLFf/O4aheQJESlg93+YuB6Zq8G+qqopZZxVLnwKpPs4oP964aw8LWjyIntCrRsZSoqgUkbaNCrfbT764Jzy+oHLNs/OHPBTk/XfFIzhA25PA6GP+NJwelqMtgX10uAyF7rcjuC1N9Jszd4fJzM3+m7O6GU+//byY4/z5yoWka8FyC4E83FT5OEhTACicEDzn6SBjnj0ipQqLjFdohGCzoNQOwrH86+W5WvMV5sR9qLg== 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=zYDRPrAv6IDRYPWBaEjQqALok8ZkRsYQA6ss2ftlOzk=; b=Q2753+Y2tM3uBnyuyius1bFT4s2k7yzRQGhpFBpVtH6Wbo7c4mcANBOd3+acML+42AOw3VnmqAVWVGy9etT9b1IEWv4Up3+51UznmIy0ND2iFVoEWRr0oXXZG1PhHh0nNdRSV3BCJ80WVqoEy7vCGL8UWxZTmFMT/iT2nXTahQhYh5gg8rAEm41kLGeZxt4UlodHDTHCuRlUiY+42DD6dAcofoWDehZdG9s6xBji4d8g+hZxCyDvzVzj4NYA67GmpltFYy5mWHAYT/DkrRIou9do8E1ump1PSUQcs0x3i5Rd8B0l4w2kJb6AbzweNNl/IdnHzi7fPAtHICLpo7RuMg== 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=zYDRPrAv6IDRYPWBaEjQqALok8ZkRsYQA6ss2ftlOzk=; b=f/2EyNrkzKvWU1jZcNMxmDVPBnEV1zJc+3d3fLSDT5y1XUXxWeX1JLSlgUGJjJz+Z6b5I+KeOBqYJm3JgyR1qtfKXrlcGUIn8tsY5f/iQtOLE2BP1KNMi9iOMLkPvK0nt82iJcz04ZXUnCW8FzZRvkMsXRoLQnP9A0XFptxZbv4= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3810.eurprd05.prod.outlook.com (52.133.47.32) 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 15:16:27 +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 15:16:27 +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: AQHVkKQy9cRH0wytkUuPwqxEr75O2Kd5AfEwgABcroCAAAJbkA== Date: Sun, 3 Nov 2019 15:16:26 +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: 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: d43931c7-d2c7-43fd-985f-08d76070cbfa x-ms-traffictypediagnostic: AM0PR0502MB3810: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0210479ED8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(39860400002)(366004)(136003)(189003)(199004)(52314003)(8936002)(110136005)(8676002)(4326008)(486006)(478600001)(2501003)(102836004)(76176011)(14454004)(33656002)(52536014)(25786009)(53546011)(7696005)(476003)(446003)(11346002)(6506007)(14444005)(6246003)(256004)(5660300002)(86362001)(229853002)(99286004)(316002)(66476007)(186003)(81156014)(26005)(81166006)(71200400001)(71190400001)(6436002)(3846002)(2906002)(7736002)(6116002)(66946007)(66066001)(76116006)(55016002)(9686003)(74316002)(305945005)(66446008)(64756008)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3810; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: IzGo7jYsEww9Z/n01lMLm5f9PDj8VLd33FeQa2YGqgvYqPGIQkk7FRUaEMzdeGgLsiNHfa3ZYbovzHY/rAapX29rPnH8IVKjDGgF6sxmGdG5HzQ+7DFrXPOKjbniGYJQURFyv0RmM+1knd+0ooNkFhoRTTpTLCemaUmnCWDI7Z/CGTVnEmsn0zb2+mHB+wTTAzCdh0WyCuAUIrMPRXTJRs6yuTApJ0DVYJrGrcS1R8RQbsJPmmagHrfT/N3LSnPrkMijxPfROF5FdLlHzOeBtzSzJtBncRLyjUHJ9wfqv1biW0Cigf4yvXa/HTzqyJ55PgK9SCnrX1e2J7Ja0xsm5Qlsjxyj9TVDB84Y4jiSniT0bZzovCG5EewxwMIoONij4vuNg7B43YbhVPEk+ltngg1/uf/cnkddtLTpMJYGsPVqDjbBp+nGG1VQTUrFBLkN 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: d43931c7-d2c7-43fd-985f-08d76070cbfa X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2019 15:16:27.0256 (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: wkX0JcdC5eHuCNN5D2e8HngU46kmECzPckoVqoWbzv3DfCMc71sJf6ulhLlcI4w569QFw6QE1GESWyi6fUx1UA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3810 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCkZ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