[dpdk-dev] [PATCH] examples/client_server_mp: add sigint handler to server
Bruce Richardson
bruce.richardson at intel.com
Thu Sep 27 13:27:08 CEST 2018
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 at 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?
More information about the dev
mailing list