> -----Original Message----- > From: Laatz, Kevin > Sent: Thursday, October 11, 2018 9:58 AM > To: dev@dpdk.org > Cc: Van Haaren, Harry <harry.van.haa...@intel.com>; > step...@networkplumber.org; gaetan.ri...@6wind.com; shreyansh.j...@nxp.com; > tho...@monjalon.net; mattias.ronnb...@ericsson.com; Richardson, Bruce > <bruce.richard...@intel.com>; Ciara Power <ciara.po...@intel.com>; Brian > Archbold <brian.archb...@intel.com>; Laatz, Kevin <kevin.la...@intel.com> > Subject: [PATCH v4 04/13] telemetry: add initial connection socket > > From: Ciara Power <ciara.po...@intel.com> > > This patch adds the telemetry UNIX socket. It is used to > allow connections from external clients. > > On the initial connection from a client, ethdev stats are > registered in the metrics library, to allow for their retrieval > at a later stage. > > Signed-off-by: Ciara Power <ciara.po...@intel.com> > Signed-off-by: Brian Archbold <brian.archb...@intel.com> > Signed-off-by: Kevin Laatz <kevin.la...@intel.com> > ---
<big snip> > +static int32_t > +rte_telemetry_create_socket(struct telemetry_impl *telemetry) > +{ > + int ret; > + struct sockaddr_un addr = {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 <harry.van.haa...@intel.com>