From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH v3 4/5] eventdev: add auto test for eth Tx adapter Date: Mon, 17 Sep 2018 19:30:38 +0530 Message-ID: <20180917140037.GB9150@jerin> References: <1534479652-80182-1-git-send-email-nikhil.rao@intel.com> <1535694069-88757-1-git-send-email-nikhil.rao@intel.com> <1535694069-88757-4-git-send-email-nikhil.rao@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: olivier.matz@6wind.com, dev@dpdk.org To: Nikhil Rao Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0067.outbound.protection.outlook.com [104.47.36.67]) by dpdk.org (Postfix) with ESMTP id 321931B06F for ; Mon, 17 Sep 2018 16:00:56 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1535694069-88757-4-git-send-email-nikhil.rao@intel.com> 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----- > Date: Fri, 31 Aug 2018 11:11:08 +0530 > From: Nikhil Rao > To: jerin.jacob@caviumnetworks.com, olivier.matz@6wind.com > CC: dev@dpdk.org, Nikhil Rao > Subject: [PATCH v3 4/5] eventdev: add auto test for eth Tx adapter > X-Mailer: git-send-email 1.8.3.1 > > This patch adds tests for the eth Tx adapter APIs. It also > tests the data path for the rte_service function based > implementation of the APIs. > > Signed-off-by: Nikhil Rao > --- > test/test/test_event_eth_tx_adapter.c | 694 ++++++++++++++++++++++++++++++++++ > MAINTAINERS | 1 + > test/test/Makefile | 1 + > test/test/meson.build | 2 + > 4 files changed, 698 insertions(+) > create mode 100644 test/test/test_event_eth_tx_adapter.c > > diff --git a/test/test/test_event_eth_tx_adapter.c b/test/test/test_event_eth_tx_adapter.c > new file mode 100644 > index 0000000..e97f59f > --- /dev/null > +++ b/test/test/test_event_eth_tx_adapter.c > @@ -0,0 +1,694 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2018 Intel Corporation > + */ > +#include Space here > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Sort it in alphabetical order. > + > +#include "test.h" > + > + > +static inline int > +port_init(uint8_t port, struct rte_mempool *mp) > +{ > + struct rte_eth_conf conf = { 0 }; Some old compiler had issue with above declaration, Can you use memset instead here another instance of this file. > + return port_init_common(port, &conf, mp); > +} > + > +#define RING_NAME_LEN 20 > +#define DEV_NAME_LEN 20 > + With above changes: Acked-by: Jerin Jacob