From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Van Haaren, Harry" Subject: Re: [PATCH v4 04/13] telemetry: add initial connection socket Date: Tue, 16 Oct 2018 00:45:37 +0000 Message-ID: References: <20181010105134.48079-1-kevin.laatz@intel.com> <20181011165837.81030-1-kevin.laatz@intel.com> <20181011165837.81030-5-kevin.laatz@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "stephen@networkplumber.org" , "gaetan.rivet@6wind.com" , "shreyansh.jain@nxp.com" , "thomas@monjalon.net" , "mattias.ronnblom@ericsson.com" , "Richardson, Bruce" , Ciara Power , Brian Archbold To: "Laatz, Kevin" , "dev@dpdk.org" Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 7E4B74C95 for ; Tue, 16 Oct 2018 02:45:42 +0200 (CEST) In-Reply-To: <20181011165837.81030-5-kevin.laatz@intel.com> Content-Language: en-US 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: Laatz, Kevin > Sent: Thursday, October 11, 2018 9:58 AM > To: dev@dpdk.org > Cc: Van Haaren, Harry ; > stephen@networkplumber.org; gaetan.rivet@6wind.com; shreyansh.jain@nxp.co= m; > thomas@monjalon.net; mattias.ronnblom@ericsson.com; Richardson, Bruce > ; Ciara Power ; Brian > Archbold ; Laatz, Kevin > Subject: [PATCH v4 04/13] telemetry: add initial connection socket >=20 > From: Ciara Power >=20 > This patch adds the telemetry UNIX socket. It is used to > allow connections from external clients. >=20 > On the initial connection from a client, ethdev stats are > registered in the metrics library, to allow for their retrieval > at a later stage. >=20 > Signed-off-by: Ciara Power > Signed-off-by: Brian Archbold > Signed-off-by: Kevin Laatz > --- > +static int32_t > +rte_telemetry_create_socket(struct telemetry_impl *telemetry) > +{ > + int ret; > + struct sockaddr_un addr =3D {0}; > + char socket_path[BUF_SIZE]; BUF_SIZE is not yet defined - it is in the next patch. Pull the #define back into this patchset; now this patch (without next one applied) won't build. With that fix; Acked-by: Harry van Haaren