From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 311ED1B3AC for ; Tue, 8 Jan 2019 07:06:59 +0100 (CET) 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 x0866jiS022774; Mon, 7 Jan 2019 22:06:58 -0800 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 : mime-version; s=pfpt0818; bh=bFJw2FrOGJ6nCjC2tybVA3ozgilKmUxdwiqoIlF9GVo=; b=fiDyKXhEib6i7854U2VJ13Uc+bPcAnHwiG7CmjwdQTlTpq4b8ifstjGOUYnCggpCkZWA OJ9OSvMPv2ixof4XSX3gXKAzI7Ej1aXM4RCgkro/uOU/6z5KgKworSU4P4e1ucNiJevK SL9RtorW2KVn6K9b/EGhBgIFITklj1sgxABpepFrDZjQWP9HCbu2GBIuQ4nuJsPOu0lE pOrlazvJHhzEvqcO7PPQwHwjLmYqCJBbXPDjP6Z7H3i0DLxdKECTs2f1qHYfNqZWy/93 DxMFFOgimnQt4zCSaB3pupSfHtvxfzqsXxd82Iq313jZNb6tVXl/Vsv8kxxVlCxBQBI7 vw== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2pv58sv4hw-7 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 07 Jan 2019 22:06:53 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 7 Jan 2019 22:06:31 -0800 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.50) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 7 Jan 2019 22:06:31 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bFJw2FrOGJ6nCjC2tybVA3ozgilKmUxdwiqoIlF9GVo=; b=mvamd3eeRu/mU6GdQCaPocrcLvteX8KSfxtYi9OqkWIcZcwgXZih3MZfAg/OW6M5xBICb6Tx/IH/W5Jz1NoDj6n94X7wwA+kCUtlium5NGqMrPFKs/+SpKK+fVLQBj86fPsco4Y/x2JgQKpRfrgUOQDKiiHF39/3GZF+4EQAtt8= Received: from DM6PR18MB2427.namprd18.prod.outlook.com (20.179.104.21) by DM6PR18MB2633.namprd18.prod.outlook.com (20.179.106.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.13; Tue, 8 Jan 2019 06:06:30 +0000 Received: from DM6PR18MB2427.namprd18.prod.outlook.com ([fe80::11f0:6cac:aa5d:c1b7]) by DM6PR18MB2427.namprd18.prod.outlook.com ([fe80::11f0:6cac:aa5d:c1b7%3]) with mapi id 15.20.1516.010; Tue, 8 Jan 2019 06:06:29 +0000 From: Nithin Kumar Dabilpuram To: Andrew Rybchenko , Thomas Monjalon , Ferruh Yigit CC: "dev@dpdk.org" , Jerin Jacob Kollanukkaran Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH] ethdev: report error on name truncation Thread-Index: AQHUppbhtFOKYPOsVUWsd7vKUiZ53KWj4owAgAD5e1A= Date: Tue, 8 Jan 2019 06:06:29 +0000 Message-ID: References: <20190107143951.30076-1-ndabilpuram@marvell.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.2] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM6PR18MB2633; 20:A1V+oYSEhrvh3ijMjRkC9Ky0y+926nKI1jEdzg8NK7U/1k7/t91zEbVQZTfuDPwOReJLFNhDbTXxTHY5FdMrHJdaFiJFquxwmK132msFi0BqTR7RZMCGVuvKJ6MvUTJ+4Zk/iGizA+0kcdU3OkdvfsDJiXyjewWmAc/xgdNbkuE= x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(396003)(136003)(39860400002)(199004)(189003)(486006)(107886003)(97736004)(68736007)(53946003)(33656002)(53936002)(6246003)(54896002)(6306002)(106356001)(9686003)(105586002)(236005)(316002)(7696005)(6436002)(76176011)(2906002)(186003)(26005)(55236004)(102836004)(229853002)(53546011)(6506007)(110136005)(54906003)(74316002)(7736002)(8936002)(476003)(11346002)(81166006)(81156014)(8676002)(446003)(99286004)(5660300001)(55016002)(86362001)(71200400001)(71190400001)(478600001)(4326008)(790700001)(6116002)(3846002)(256004)(14454004)(25786009)(66066001)(579004); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR18MB2633; H:DM6PR18MB2427.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-office365-filtering-correlation-id: e600617a-e434-446b-18fc-08d6752f6e61 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR18MB2633; x-ms-traffictypediagnostic: DM6PR18MB2633: x-microsoft-antispam-prvs: x-forefront-prvs: 0911D5CE78 received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 4YIpdL5KzQOa2SSFAqTd2i7bS2u0+dxcMG7CCRrr00alWzAH6xvbMDcmEK83yTRyH+EZ7TsaDyprLgfTjCQyaVr7DpTnlx1t/xskHFm9XFiztWFtpVM7CbnzEYnDfOZYSMFAP6hrICwBruk++ooIeEDfbBkneFoSRhFk5EVS2Q8z9J3p4B9FaF4Qk6LnR7fxyq1NXtPJSEqydQJ1UklP5bCaD4wcOW/MLGEoaVHEW5bZlvy9rKemjL9Cml5+kxC5icWeHxzI0CP7C77VN42CejU3eirLDezXrmsIbpqHTU2vXhMZhzIPommuFnFHUzOy spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e600617a-e434-446b-18fc-08d6752f6e61 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 06:06:29.3842 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB2633 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-08_03:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901080048 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] ethdev: report error on name truncation 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: , X-List-Received-Date: Tue, 08 Jan 2019 06:06:59 -0000 U3VyZS4gRm9ybWF0IGNoYW5nZSB3YXMgdW5pbnRlbnRpb25hbCBhbmQgaGFwcGVuZ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