From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 9EB39A046B for ; Mon, 24 Jun 2019 15:19:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A25A1BEEF; Mon, 24 Jun 2019 15:19:01 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 297631B949 for ; Mon, 24 Jun 2019 15:18:59 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5ODI47H001538; Mon, 24 Jun 2019 06:18:58 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=xllcZZp3zPMXhxdvQw4143mAELbHGcz42IWdODvv90A=; b=XjUh3PNDQ+kWkw8nIDCxkn+F2xQhA5fL22Vlea0M35hWEeJIQfCnw+TID5jq8/qxNS1R 4zrbGEhbLysV09wassm4DxWvOZX2NxH8Z4v9JOopB9TU4kcTFVol7NPoCt9m9X7snwwq 586fheAnUO9M059TYgX6JzRmVG6CNJ6ZW5IavWT5U70eUH3hoLlX8wgwX1E3D6vtkw1G Hw7z8nzvsjq7Zmo645cKt5dlj3BubDEKdpQ9yDypQ5FqpDvTbzaLoxl26lwCdTRkDiO0 0iVP/K1SfAYVgegEI9NDieQQ4aMECUE/2wQtZghwsSUeFzr1zFkB2zEc2df0UDzUGfGv 8w== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2t9kujetfw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2019 06:18:58 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 24 Jun 2019 06:18:56 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.51) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 24 Jun 2019 06:18:55 -0700 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=xllcZZp3zPMXhxdvQw4143mAELbHGcz42IWdODvv90A=; b=SqBTGZ+/sud07m0/bDlRjG6DcRhJkI+hAsPYULIztvh9PWEixrezwvu0loMw1+rdEoL5QtBShTP+P54c+Y9K83U/HwZIHuu/0c2QsMh/vB/FqAIxYW799VOTy/xi8zQfjFqv9e8bG0pwJbQMqC6U61TzSWkKo04qtwXrKIrhabM= Received: from MN2PR18MB2432.namprd18.prod.outlook.com (20.179.84.32) by MN2PR18MB2431.namprd18.prod.outlook.com (20.179.81.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Mon, 24 Jun 2019 13:18:54 +0000 Received: from MN2PR18MB2432.namprd18.prod.outlook.com ([fe80::6462:4d67:b3b9:ba51]) by MN2PR18MB2432.namprd18.prod.outlook.com ([fe80::6462:4d67:b3b9:ba51%6]) with mapi id 15.20.2008.014; Mon, 24 Jun 2019 13:18:54 +0000 From: Nithin Kumar Dabilpuram To: Ian Stokes , "Ananyev, Konstantin" , =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , Stephen Hemminger , "Yigit, Ferruh" CC: "dev@dpdk.org" , "Mcnamara, John" , "Kovacevic, Marko" , Thomas Monjalon , Andrew Rybchenko Thread-Topic: [dpdk-dev] [RFC] ethdev: add min/max MTU to device info Thread-Index: AQHUvhylq7USbjAYHEavU5XXppIWhwAKi8MmpdPOXoCAAAxsgIAADf2AgBSx8gCAwq/dwA== Date: Mon, 24 Jun 2019 13:18:53 +0000 Message-ID: References: <20180905164157.844-1-stephen@networkplumber.org> <98CBD80474FA8B44BF855DF32C47DC35B4265B@smartserver.smartshare.dk> <20190206081107.41c57bad@hermes.lan> <98CBD80474FA8B44BF855DF32C47DC357BD6@smartserver.smartshare.dk> <2601191342CEEE43887BDE71AB977258012413341F@irsmsx105.ger.corp.intel.com> <98CBD80474FA8B44BF855DF32C47DC35B42667@smartserver.smartshare.dk> <2601191342CEEE43887BDE71AB9772580124135478@irsmsx105.ger.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.156.3] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 147a9def-5809-4415-e0d3-08d6f8a68193 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR18MB2431; x-ms-traffictypediagnostic: MN2PR18MB2431: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(346002)(136003)(39850400004)(376002)(53754006)(13464003)(199004)(189003)(68736007)(7416002)(33656002)(66476007)(66946007)(73956011)(66556008)(64756008)(66574012)(2906002)(71190400001)(71200400001)(52536014)(76116006)(66066001)(305945005)(7736002)(7696005)(99286004)(74316002)(76176011)(53546011)(6506007)(102836004)(55236004)(186003)(8676002)(81156014)(81166006)(26005)(8936002)(14454004)(54906003)(86362001)(316002)(110136005)(5660300002)(66446008)(966005)(6116002)(25786009)(55016002)(4326008)(6246003)(3846002)(6436002)(53936002)(256004)(14444005)(229853002)(6306002)(478600001)(9686003)(486006)(446003)(11346002)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2431; H:MN2PR18MB2432.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: 4AbUx7TYPazAxhaOOThgFfsSf5MBb1jNqw9YTaePV3i58vYN7Y1Uu1gY0nsvsyl1FpWEaz9i3bfkyxwVbba/a7wXri33hxJrc7iq2FIAuWNzB0+W9y/axisuEZxRWqZ5xxLHNniQjQFundKWnyg9wuIAD3F0K8ctao4flj4hgyXtUiNHEAQ/vzwGyhRQthRIvBl7itpay4clEvV46OLzgQe+HKoQtka2sA9p7DRe8zMJaJTPa5PGXRxeoAU8Ss64LHBnrG9zKW6mV9KdhfQadKzhII20uFvfF/cgt82GIz2tMajo3eYC5aTDydB0CswaCTej/QN08adHbJbHBMh5ZNU96d196edzRsczlGJJReK/boa/Yv5H8u7gaLSMryyOgRXjMSkXAolXxzFZk/Kec9Y1kQqiGy+oboJq67zJmsU= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 147a9def-5809-4415-e0d3-08d6f8a68193 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 13:18:53.9736 (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: ndabilpuram@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2431 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-24_09:, , signatures=0 Subject: Re: [dpdk-dev] [RFC] ethdev: add min/max MTU to device info 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" SGkgQWxsLA0KDQpTaW5jZSBJYW4ncyBjaGFuZ2UgZGlkbid0IGluY2x1ZGUgTVRVIGludGVycHJl dGF0aW9uIGlzc3VlLCB3ZSB3YW50IHRvIHNlZSBpZiB3ZSBjYW4gc2VuZCBvdXQgYSBwYXRjaCBm b3IgdGhpcyBkaXNjdXNzaW9uIHRvIGNvbmNsdWRlIGFzIHdlIGhhdmUgYSBzaW1pbGFyIHByb2Js ZW0uDQoNCkN1cnJlbnRseSB0d28gd2F5cyBhcmUgYXMgYmVsb3cuDQojMSBLb25zdGFudGluJ3Mg c29sdXRpb24gb2YgYWRkaW5nIG5ldyBhcGkgcnRlX2V0aGRldl9tdHVfdG9fZnJhbWVfc2l6ZShk ZXZpZCwgbXR1KSwgdGhhdCB3b3VsZCBkeW5hbWljYWxseSBwcm92aWRlIHRoZSBuZXcgbWF4IG10 dS4NCiMyIENhbiB3ZSBoYXZlIHRoZSB2YWx1ZSBvZiBtYXhfbXR1IGZpZWxkIGluIHJ0ZV9ldGhf ZGV2X2luZm8gIGJlIGR5bmFtaWMgaS5lIGJhc2VkIG9uIGRldmljZSBjb25maWd1cmUgdG8gaW5k aWNhdGUgdGhhdCBuZXcgVHggb2ZmbG9hZHMgd291bGQgbmVlZCBtb3JlIHNwYWNlIGZvciBMMi4N CiAgICAgICBGb3IgdGhpcyB3ZSBjYW4gdXBkYXRlIG1heF9tdHUgZmllbGQgZG9jdW1lbnRhdGlv biB3aXRob3V0IGFiaSBjaGFuZ2UuDQoNCkkgYWxzbyBzZWUgYSBwcm9ibGVtIHdpdGggYWJvdmUg dHdvIHNvbHV0aW9ucyB0aGF0IGlzIG5vdCBwcmVzZW50IHdpdGggTGludXggb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