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 3E333A3160 for ; Thu, 10 Oct 2019 11:17:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B31191E566; Thu, 10 Oct 2019 11:17:50 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 7D65A1C0BE for ; Thu, 10 Oct 2019 11:17:49 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9A9CPtl000923; Thu, 10 Oct 2019 02:17:48 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=yk8w0YolFc/VB8v91cgFSLJob+MzlfORyQ24Q4pXB5Q=; b=gOvOqrYQsui/zncBAbAK/zAPf2Hcsdsgp6QdsN90+7Zen1ZoNHDeIM6xhcSokn3ctR6H XUN3/64DSZ887dyiN6rNqoxJeyKpJ1m5JuClt8G24plpyjoRyZqzYl4bvLyQS0ndWbRF q1bjLyHQMY/Pldt3wzbzVdeu8McDxP9Je3NgQsn73vkpvRjAbtyWIU1dl5WUyhOLRdw1 gknjdVJgi5D8Q9YS6J/BG66W4oRo/MnXcVRjqLfN2qnERWhfjiRKhfAXQRV04KhnbnUk 5hPRNv8uH6C3WRfJp7+8rYKqrvNft2rBK065I3rrPFCKxHNN+T9DGhbb7bvV3LCwdQ0T eg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2vhdxbv9ah-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 10 Oct 2019 02:17:48 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 10 Oct 2019 02:17:46 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.53) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 10 Oct 2019 02:17:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jua+Td+AXbJ1NdlTy+sFjVYBoiw1cfxGHcGEZJf2GIcZf7T/akERRHkVzlsMmMJOL9sTzVpfYfOsjJbSBPDypespMCF8l7XpjuzI1xjusEx7WpbRO7KtFOPKwNd5iPHbqXD8wod+v3JL8U20IQy+JROEHcWjOWPmwU7OdAobG000MBEi89PSoy+EBrOjE6SaWlCqCMlJNCO6aW3pblI34ivbyivhqBcw4nlzOLIWFR8PgCWN3p582NoS3U7VGW3zYWPywCBkcnWP3fyt5++F2BIbIpvhT55ZEhTTVnDSrIa05v/4wNTmjto201a7zWHRy3p90ETPLGuOa5ugLx1zng== 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=yk8w0YolFc/VB8v91cgFSLJob+MzlfORyQ24Q4pXB5Q=; b=OC4V2fwKjN88662j27lUj2SDJai/X1k+v5UZkalK4ksZjFtUHj8UwYUnuFIGcdTfSUV1yDGq2iO8Jsp+UuhQxsAkkq/XG0UaH9IRoQXiv6vHg2PwcM5lA9j4cHtTeA3Lge6Cd9PrlDxP8ILdg6UUeVJ3x3tjtCTbQijF3Re1d6ASPOcBe0DeQYbN4z+P/Rp58dp4SnwDE307TkikTOK2yBshBUv39qkZkmf1cRzR+CvfEVWZ7dqQ3LY4K5eL8FdaiZgfmzFiLsH3SjCvPgNESaPpzHHRwWBj8zAFHNehCYUIv0uomolVFO9P1bZ55svqbBxxkv1p5hXa0r/EIemZiw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yk8w0YolFc/VB8v91cgFSLJob+MzlfORyQ24Q4pXB5Q=; b=m4/WpO9BUVrTVewpu+U1oU13rdFoYDtUDEAQaNSqly0DFGh1cFY+nbfa2S3vIDZbcgZBaZR4UdcdZb7srIU4pwcS4mS2gDVdAA6XNYIVaas9kCmhartWvm2NjSmhtx+Ib4aN4sLGi+asa3v4s9lyaeDGdUMrYwX61zoOmWZieg4= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.160) by CY4PR1801MB1879.namprd18.prod.outlook.com (10.165.90.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Thu, 10 Oct 2019 09:17:45 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::15d1:f4cf:f510:8fa]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::15d1:f4cf:f510:8fa%4]) with mapi id 15.20.2347.016; Thu, 10 Oct 2019 09:17:45 +0000 From: Pavan Nikhilesh Bhagavatula To: Andrew Rybchenko , Jerin Jacob Kollanukkaran , John McNamara , "Marko Kovacevic" , Thomas Monjalon , Ferruh Yigit CC: "dev@dpdk.org" Thread-Topic: Re: [dpdk-dev] [PATCH v10 1/7] ethdev: add set ptype function Thread-Index: AdV/SzaqLj9ZAzlgTJ2txcXZ/MS5Ig== Date: Thu, 10 Oct 2019 09:17:45 +0000 Message-ID: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5add778b-13c2-43d9-3b21-08d74d62b63e x-ms-traffictypediagnostic: CY4PR1801MB1879: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 018632C080 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(396003)(346002)(366004)(39860400002)(189003)(199004)(229853002)(74316002)(4326008)(66066001)(7696005)(110136005)(25786009)(99286004)(186003)(9686003)(81166006)(81156014)(8936002)(316002)(55016002)(14454004)(8676002)(6436002)(52536014)(7736002)(476003)(71200400001)(86362001)(5660300002)(64756008)(76116006)(6506007)(66556008)(256004)(55236004)(102836004)(478600001)(66446008)(26005)(33656002)(6116002)(71190400001)(6246003)(305945005)(3846002)(486006)(2906002)(66946007)(66476007)(14444005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1879; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VB1iHAbneIUfBXURsAMDfLNrS6nbZRYRu422bPrzxzLPzyTR9NfjcTxoWVZD69g8tfvOyhlMg4oeopp+DOnnocbWXSX/qDyPakqOlJyv4pCt+36/Luf+DStg2gO+ksJZI7SdmXdmnlbZ5ktK69w8f78Pn7GlG3WE3KD7EKnTLmTSE4kBdqkEFHWTQOg4hfy3NTh/In7ECHONQkItf7nTZYz9JmyBXpG6L12DPufIEY+w5v6sqHVVf/mrOIki5rBEApdfq4bDVObzB0pxn4yatjPgNmmY3tojUkkkLklde83hjUpxaF3+Tze0ibGAndReIiGxbPIERylFPwYGeVc5KUIPILS3pf6m2ZCC4lJWs/ay5ZKfZ8Ubw20jpJu+3uEE4I9Sru4ZSixUiZUZ8HQN4POVL5dcTpd6xkgqZsze2lM= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5add778b-13c2-43d9-3b21-08d74d62b63e X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2019 09:17:45.4980 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eqZLVLqaAs9u07RnmyV84BbEBmg+P4bcZWW0LG8DvCwXspdxt1Ijc+d1egIX+wttRW5YePLWR0agLINsPE6AGjJRlpOrQm2VFAtvcYxV6kk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1879 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-10_04:2019-10-08,2019-10-10 signatures=0 Subject: Re: [dpdk-dev] [PATCH v10 1/7] ethdev: add set ptype function 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" Pk9uIDEwLzkvMTkgNjozMyBQTSwgcGJoYWdhdmF0dWxhQG1hcnZlbGwuY29tIHdyb3RlOg0KPj4g RnJvbTogUGF2YW4gTmlraGlsZXNoIDxwYmhhZ2F2YXR1bGFAbWFydmVsbC5jb20+DQo+Pg0KPj4g QWRkIGBydGVfZXRoX2Rldl9zZXRfc3VwcG9ydGVkX3B0eXBlc2AgZnVuY3Rpb24gdGhhdCB3aWxs IGFsbG93IHRoZQ0KPj4gYXBwbGljYXRpb24gdG8gaW5mb3JtIHRoZSBQTUQgdGhlIHBhY2tldCB0 eXB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