From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 82C551B293 for ; Thu, 27 Sep 2018 13:27:27 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2018 04:27:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,310,1534834800"; d="scan'208";a="236423918" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.107]) by orsmga004.jf.intel.com with SMTP; 27 Sep 2018 04:27:09 -0700 Received: by (sSMTP sendmail emulation); Thu, 27 Sep 2018 12:27:08 +0100 Date: Thu, 27 Sep 2018 12:27:08 +0100 From: Bruce Richardson To: Raslan Darawsheh Cc: thomas@monjalon.net, dev@dpdk.org, shahafs@mellanox.com, orik@mellanox.com Message-ID: <20180927112708.GG19604@bricha3-MOBL.ger.corp.intel.com> References: <1538047312-27063-1-git-send-email-rasland@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1538047312-27063-1-git-send-email-rasland@mellanox.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH] examples/client_server_mp: add sigint handler to server 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: Thu, 27 Sep 2018 11:27:27 -0000 On Thu, Sep 27, 2018 at 02:21:52PM +0300, Raslan Darawsheh wrote: > add sigint handler in the server application to stop and close ports > > Signed-off-by: Raslan Darawsheh > --- > .../multi_process/client_server_mp/mp_server/main.c | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > > diff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c > index 93a9a08..2ba73c4 100644 > --- a/examples/multi_process/client_server_mp/mp_server/main.c > +++ b/examples/multi_process/client_server_mp/mp_server/main.c > @@ -29,14 +29,15 @@ > #include > #include > #include > -#include > + > #include > #include > #include > - > +#include > #include "common.h" > #include "args.h" Why the moving of the ethdev header include?