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 81D44A0598; Fri, 10 Apr 2020 19:02:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 88F601D609; Fri, 10 Apr 2020 19:02:23 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 33EB91D606 for ; Fri, 10 Apr 2020 19:02:20 +0200 (CEST) IronPort-SDR: 2lEYpvnPmdS5RsYhELG0IhatY2tvz5AN/aITap2FIgAfqCQRmOL4S/JwmP4/NQt+9BAuOzzm7U ew4lOgK9O7WQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2020 10:02:15 -0700 IronPort-SDR: KMeAGv+eQdQyKSKHm8xTj+y/4kSi8B+nmbCVuvYTe7GcF4UgP5TV7WIxLIbX6Dd8gKunbl6SG+ ePhH5lCYnRkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,367,1580803200"; d="scan'208";a="240990376" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga007.jf.intel.com with ESMTP; 10 Apr 2020 10:02:15 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 10 Apr 2020 10:02:15 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 10 Apr 2020 10:02:14 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 10 Apr 2020 10:02:14 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.55) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 10 Apr 2020 10:01:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nthM+dCuRX4HVHzfX3Ev0cy/h14OI0rA6R5+4RjpTCKh8wY4ra0ilhEmIO59N/o71imEMNbMLF5mi9zbQ7dE9g94tgZrxgCfpiphwhxDWPIv6SrmORbV5fN/f1w+sGEoSF4IP0UG2bwRQIHHwO7IQsLISkvNjeIwG2dlmPoGtr7qXkZqLBSeSZ0hJ7hSPMMWxFWoXVv5+tHjBc9gmZ0BBF7SHaDslqiDvMWA53dMtEVLBuBsrtRv91A9MhiLZd/SPvtG/VxPvVvvtjY4moiMhhnXFPqu5nabgynZDOIA1EP3sZydV6gdEJIQ9ApGUKCbJy+ns9sTvzwli3wYbPT3UA== 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=wPTaprxKWiobCU0PuAYiqdAj4h/xfjyYN1mRpt3rpPc=; b=IMyqhzXSkwHmRUfe5ApJzDF1vLqx0FN5uZwHB1+OQ0MJcqvAiv6Fix0Jhn+hjP7b8oCXvzcrhA8fhrJFNTVByFuxTTjwu2CmNZZi9cxcKbPiwJtX66s4C1sdYe0Naw7CBfmuRLYAHPok6tGKhFBqfNrgMzpukkRsCp4dGR/0ZpATzhd6qqLXdTQRIQzlrj04iMHIEdYQhsVmI8BEq2IS2hwi7q5iyY5b0ybwD8AD4Wcb9LdS/ffrraGTqhdxEoocXeQIOiL03mYQxGu3DbLPPiKEdxn3Q9NvUIHAVnUf/0yHQugqq9zajkgujF45DqmTVnR0EtEmo6GGXgkznIOFYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wPTaprxKWiobCU0PuAYiqdAj4h/xfjyYN1mRpt3rpPc=; b=jrkLyrVvjcpD3bSFhM/9bA2DW+6X56bBNhRFI4ksJg0StyJOJNzbgJlfThxDCtfEFW0DG2mUmJd/LX3ppAJ1IlujGjui6nDeqL1Z+3cMg0oaoaHmlDe2u3FC+MilnwqUET0Jpa72UODIzckUZrbgqmK5qgiZfC4VdomhswOirHk= Received: from DM5PR1101MB2105.namprd11.prod.outlook.com (2603:10b6:4:51::23) by DM5PR1101MB2363.namprd11.prod.outlook.com (2603:10b6:3:a7::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15; Fri, 10 Apr 2020 17:00:59 +0000 Received: from DM5PR1101MB2105.namprd11.prod.outlook.com ([fe80::ccc8:9ba4:5cfe:904e]) by DM5PR1101MB2105.namprd11.prod.outlook.com ([fe80::ccc8:9ba4:5cfe:904e%10]) with mapi id 15.20.2900.015; Fri, 10 Apr 2020 17:00:59 +0000 From: "Pattan, Reshma" To: "Power, Ciara" , "dev@dpdk.org" , "Laatz, Kevin" CC: "jerinjacobk@gmail.com" , "david.marchand@redhat.com" , "Wiles, Keith" , "mb@smartsharesystems.com" , "thomas@monjalon.net" Thread-Topic: [PATCH v2 12/16] telemetry: introduce telemetry backward compatibility Thread-Index: AQHWDchzcDrGir2nTUapKk/vEhjoUqhyll5Q Date: Fri, 10 Apr 2020 17:00:58 +0000 Message-ID: References: <20200319171907.60891-1-ciara.power@intel.com> <20200408164956.47864-1-ciara.power@intel.com> <20200408164956.47864-13-ciara.power@intel.com> In-Reply-To: <20200408164956.47864-13-ciara.power@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=reshma.pattan@intel.com; x-originating-ip: [192.198.151.172] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1cd7e569-b19e-405f-3380-08d7dd70be0c x-ms-traffictypediagnostic: DM5PR1101MB2363: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 0369E8196C x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1101MB2105.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(376002)(396003)(136003)(39860400002)(366004)(346002)(66476007)(66946007)(52536014)(54906003)(110136005)(316002)(76116006)(8936002)(86362001)(6636002)(186003)(26005)(7696005)(33656002)(6506007)(66556008)(478600001)(2906002)(71200400001)(81156014)(55016002)(66446008)(8676002)(4326008)(4744005)(9686003)(5660300002)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3+hYgwhevbkBvcySZTKPrKnpJiSTIKVOKJqI741bO9M5Gl1W1tiwS8bJMcYFVqU6wqtET4HCKbc5EtH22Xlwff5/G7uyl7dSOvKOsT/evCDoJRk8p3sQnuo6uwEKAbMl+lL59g9IfjQhh3A6OI4za45yg0x0ytsYNrjdE/2eWFtKmZdeFRv4fK61Rw1okytYdnebc2hmabr7N4YFF0/vlxn/Omd4VHISGx30H6fN3MMzYgvjk7csZpfx/YbenpAAyNBojppeBZr203C7T1o7P0K7NITGoVWcvGZOSJUFBlgMArFcvkTVTHxY3cy7JPSR3BlrLu4Huh7gEEewCaDCqnbcxv5rMKWXi2HqEZ/p/igWbRWbg7PiZOxqHKjKg8znSQ8fAkdRUH7f4thu+J8/ntNy+rt5Pvx8v/XWYGY0ieP/+hKVQVIShg6IE9UIqPhp x-ms-exchange-antispam-messagedata: Gqp7MxgVX6EF93LehSX8xhsctmM5HR463ljhKcAv116MBRy6XIvn7jIKSKKebqhX5JNJq2F7dXnLBcfUlv6pFa2BAEjxR54KYbuElvz9wOJNXmc/06hFF/j9VULgQcGlYjs3R1BiR/E7/AYRUcSt1Q== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 1cd7e569-b19e-405f-3380-08d7dd70be0c X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2020 17:00:58.8641 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6SdNjDcwg4PtrN2PwE3WMb6VlzTWJomhArfBelaqOQgzBOHX1XTcETirde3J3BaJws5GQVcJemmzPeHfSVILLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2363 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 12/16] telemetry: introduce telemetry backward compatibility 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" > -----Original Message----- > From: Power, Ciara >> +static int >>+telemetry_v2_init(const char *runtime_dir, const char **err_str) >>+ if (strlcpy(v2_socket.path, get_socket_path(runtime_dir, 2), >>+ sizeof(v2_socket.path)) >=3D sizeof(v2_socket.path)) { >>+ snprintf(telemetry_log_error, sizeof(telemetry_log_error), >>+ "Error with socket binding, path too long"); Need to update the telemetry_log_error to err_str?