DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Raslan Darawsheh <rasland@mellanox.com>
Cc: thomas@monjalon.net, dev@dpdk.org, shahafs@mellanox.com,
	orik@mellanox.com
Subject: Re: [dpdk-dev] [PATCH] examples/client_server_mp: add sigint handler to server
Date: Thu, 27 Sep 2018 12:27:08 +0100	[thread overview]
Message-ID: <20180927112708.GG19604@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <1538047312-27063-1-git-send-email-rasland@mellanox.com>

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 <rasland@mellanox.com>
> ---
>  .../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 <rte_mbuf.h>
>  #include <rte_ether.h>
>  #include <rte_interrupts.h>
> -#include <rte_ethdev.h>
> +
>  #include <rte_byteorder.h>
>  #include <rte_malloc.h>
>  #include <rte_string_fns.h>
> -
> +#include <rte_ethdev.h>
>  #include "common.h"
>  #include "args.h"

Why the moving of the ethdev header include?

      reply	other threads:[~2018-09-27 11:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-27 11:21 Raslan Darawsheh
2018-09-27 11:27 ` Bruce Richardson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180927112708.GG19604@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=orik@mellanox.com \
    --cc=rasland@mellanox.com \
    --cc=shahafs@mellanox.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).