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 A4565A2EDB for ; Tue, 1 Oct 2019 09:36:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 49F2F5B32; Tue, 1 Oct 2019 09:36:11 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id ADDFB4CA7 for ; Tue, 1 Oct 2019 09:36:09 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x917ZtG3026009; Tue, 1 Oct 2019 00:36:08 -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=0x194zREcScWKzoj1lcQbCx65yMDMIZW6zunyI/m6hk=; b=NFK1zqkJEjrtTAe80nabL6KQkxaq4958zuCcxsRMipYM9Uve/somoxbLx2oTJpF6Qh71 xr06JfoqkouJcm93WDn0IvtS65dbHQivW1bpMeBZw7mauaZvvflo6hvIzpOyJ4dno16U zgzQyzyi4torgX5ftEznO46aQ5uMqMM4v7xCHO0nvMghKw+ERFzs/RJAHMX+E6XSPU6O U2a+O8a9r3cbp6eVVEeWYtw3y9F9dOuuElN9bWe13MbYLLkhiSn9JFazHBspbBdf6/uw +XiXZEKy3ec/z+FC9GDSb+r/eSbOCJJY4TuNL5trszAxr7rC820XXcgb+bU7msTzQ3JL 1A== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2vbur196ht-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 01 Oct 2019 00:36:08 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 1 Oct 2019 00:36:07 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.59) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 1 Oct 2019 00:36:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FyMmVgTSKW+eJxEiZmaGBbBFUSil1/GoNSh7en9ddH1Awn/VKkWUKEBW8W1Jlx4kUHWjUc27uLMqy6yEyt+8WVazpyIAIrLRMbspHM679n/geVDgm378iSk6mSCpXOFO1yxlxVLxWsRFSHS1S3ze2BxyswMv8XiXFdo/1m3xt/A8pYs9D56CEn3EqldzJrx8ZGiALYsElwLAwagN+tD7ZHban2On1/e5o+YjzaXTSkon3va8h9wAvRudlD0rBpF7X0omi6JRSxlqIfkBiB8SVpWOwkk3yI+QEO7+1Qu0ANghrz3xFHwEdIiHb+dviZqH3wyK+/urIZKGjQGBTZTpDA== 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=0x194zREcScWKzoj1lcQbCx65yMDMIZW6zunyI/m6hk=; b=GvQyzVMGmz2iD6uxMcMVhsvZC7OEW4enB3zjYz0UqZR/I+Z5Z9sQ93CvU/90FFbyT76959SNvnfXq2SAVtMwcs52OR9CMr0AxGjnbMNNwY3DslawY9EN1dpQ57sxsx0tcWKH4xpq7f2hEFNVmMFNCGZ4Wgmta0pwdyySQPZfOPl+HU7iA6zJjThvV6t8CeWbX2PtUIyjKxntsJvENutUWZCnUY5Y7omUfXDbpL4XGaw/PPht/14S94Erm/T1GEbR1NtyxfJpmsXDF7umupNz8Hg4Lp0WvAutaXEjv2aMFBbp7LWtXZ6bKLLf1+i00wsze16ty+pnx1iJimBVjPsk5g== 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=0x194zREcScWKzoj1lcQbCx65yMDMIZW6zunyI/m6hk=; b=owNimUHOX8SPOvrGGqgGZ587Tz7vI8TJ1fp0obMi77jGicmkeHbu/UWhnof9PDxNyCVc5lTqD5sfThOloZWSq+QJqYWXDLWI/lMTDNiVfXYbMwll3GwWz2UXUdtuidxxKZZJGRTDaJST8iD0O4YNolxad/lNKO70wSkpCcCZMV0= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.160) by CY4PR1801MB1816.namprd18.prod.outlook.com (10.165.89.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.23; Tue, 1 Oct 2019 07:36:05 +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.2305.017; Tue, 1 Oct 2019 07:36:05 +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 v4 1/7] ethdev: add set ptype function Thread-Index: AdV4KfTDYmK39Us6T9arbvqCJHB9cQ== Date: Tue, 1 Oct 2019 07:36:05 +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: dd52f4f8-2cc8-4bc7-accc-08d7464204b3 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:CY4PR1801MB1816; x-ms-traffictypediagnostic: CY4PR1801MB1816: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2000; x-forefront-prvs: 0177904E6B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(136003)(396003)(366004)(13464003)(199004)(189003)(76116006)(3846002)(7736002)(256004)(52536014)(81156014)(110136005)(66946007)(71190400001)(102836004)(81166006)(478600001)(6116002)(5660300002)(316002)(99286004)(71200400001)(2906002)(14454004)(66476007)(66446008)(305945005)(64756008)(66066001)(33656002)(486006)(6436002)(229853002)(6246003)(476003)(9686003)(55236004)(7696005)(55016002)(25786009)(66556008)(8676002)(4326008)(14444005)(86362001)(8936002)(74316002)(186003)(6506007)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1816; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yQkrgAaqYlbGgh0EYOGCMX1lw1ir+JW6UHlpQEwQl0KzoTi7s1M1uK0ZO6JuPThebO5jNaFVxWxwBbm5jM4FKwHax5W3wozJx7kela0Ya7Jy1APkuATEascR23LcB7dECb+gDw42GI/v3qSKizFGARFcBaL5/0SgwFaNow2VySZHb1dET9p1t2Z+rXeMr/JVuQwOLwXyTYkuv25oNewmEoojMUszeL/mUlz48il+CvYkeVCumieWf003fGbZ8ri0rsQKw+Ak+tFTKtb0QGJ4PjwAy61P6xxQj4DxJo4ePfoQEmbU60H6pnBKhCnyfTngMuv+VrOzC/P7/qdRH34JdUVfrH45kYD9IWiF2W/rAvBjyNXxZot+P7nQSeyaNktS0o+lwpVh5Kp3eSYx8U0lOVfAOjrT0d0AN1T2edf2VBc= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: dd52f4f8-2cc8-4bc7-accc-08d7464204b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2019 07:36:05.4845 (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: o2/Eh5lN7g8H3r1ieLVgBwk+LxdgxkfA8LMxZSs3lD87MtKQqOmYrO5VIGYT5k0p3UcSeyjN93Qfvt4muxt7qa4V4+YfZnL6by7J7I8iqGg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1816 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-01_04:2019-09-30,2019-10-01 signatures=0 Subject: Re: [dpdk-dev] [PATCH v4 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" DQoNCj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IEFuZHJldyBSeWJjaGVua28g PGFyeWJjaGVua29Ac29sYXJmbGFyZS5jb20+DQo+U2VudDogVHVlc2RheSwgT2N0b2JlciAxLCAy MDE5IDEyOjM0IFBNDQo+VG86IFBhdmFuIE5pa2hpbGVzaCBCaGFnYXZhdHVsYSA8cGJ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