From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HJdUlcSZPfT9WPtM1mSjuAE/Cj5hNg3iH+ujrJXkyUo=; b=ZLwpYixMc+yCwjO1tp2nKjkEDljyXyaU/lqCDet+ArJpunUOh/Y4UgSCl4H2oZKOdxGNW2LecDACa0TdSVXJ8ROuSq4idQb35mKF7ADG+z6tHGbc6GUmY8HeT8CtzQss50wbJ12lYr2XPSHfNtZAhuATGANK5/JxzMe0n3JlWEY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by SN6PR07MB5005.namprd07.prod.outlook.com (2603:10b6:805:ac::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.17; Mon, 17 Sep 2018 14:00:52 +0000 Date: Mon, 17 Sep 2018 19:30:38 +0530 From: Jerin Jacob To: Nikhil Rao Cc: olivier.matz@6wind.com, dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1535694069-88757-4-git-send-email-nikhil.rao@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BM1PR0101CA0007.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::17) To SN6PR07MB5005.namprd07.prod.outlook.com (2603:10b6:805:ac::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 861da358-8502-46e7-afb8-08d61ca5fc0d X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB5005; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5005; 3:sr9lrVYKqwTRp92p5U+HtwHslSONWxJJ3l7q/Wq8JC7PkOj8WXf9dB2pgqNkTF/5RBp++fsBHoOq1dmtEeLnHESxRzKarcThBtIHmvgsakaAM/WFltT+9DAsQf2PqFUuiYI0wr24+Qr4FruvYDck7uV/JYQXMJkH1iBzLeaZjd9bdoF22kFQVjbwwwQ/3NoBOqWVRnFm7siU0rG8U2T1qLrUSiy0ir4vzFrbuU7/zT7gjZDeKo3Dwbpy8YOhynam; 25:QzPqW6BZPQOb/VCMVAaKH9EcEsH6aoFAnZtwUswz8Ol6nm0yoRebPu7+89U+8iJaExuDMirpAJxh30mKHJLilyrhhZrEc/QBuwoRelWFK/cBjMaIfQ3+w+po/0Eh3voSrhmBoNQZ5saYfqrGCpTDiXw+vFwyLTwETPD/P4MqmwmkAGm1P7X/aAKT8eKeGQ9/OSKTXa59uVKDxqIuRvPBloMg5J47nRaBat1u2YqPazo3e93E8Q8AIcs9VF8uxC86U9s1tmPxB067jw1Cqj0o5wbo0gG1qGUkN4Xwx5rLO0v68l0mJktkUu7SCjPEt6oNwdoaUQX0xy0WOHJxll7yKA==; 31:lgqzBzupnPG+bnnsqqDCGz9bPWEpN1BM/JZyzUEqO6TBgOs3feUwZ0ZYhnHEl3SNU0u1NHyME3GPKB4qOIccMmnnixpbNYWOCxngPuyZ3Tsy20LLj9j7C4fENjSdvB1lAzlI52dlAHstuZT1ASCeR5caauHNj7nf8y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UJ9VBg/NiR6 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699050); SRVR:SN6PR07MB5005; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB5005; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(396003)(136003)(376002)(346002)(189003)(199004)(13464003)(81166006)(316002)(7736002)(6496006)(8676002)(33896004)(33716001)(478600001)(76176011)(5660300001)(68736007)(81156014)(16586007)(52116002)(33656002)(2906002)(66066001)(47776003)(14444005)(72206003)(23726003)(6246003)(97736004)(42882007)(53936002)(105586002)(6116002)(44832011)(26005)(4326008)(8936002)(6666003)(55016002)(106356001)(9686003)(386003)(25786009)(1076002)(3846002)(6916009)(186003)(446003)(16526019)(58126008)(305945005)(229853002)(476003)(50466002)(11346002)(486006)(956004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB5005; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN6PR07MB5005; 23:pXjBKiO8dZg5Mrng51V+8VhPiGlj5W+fzKhLj93ol?= =?us-ascii?Q?0tfCDPJ+LaVyXoThQw0NBBaFcKP6LACEQDaFXWYXrharnj+jN3hPHFqJzJPA?= =?us-ascii?Q?lQRpjO1iy7cDac62UtSXZPkOuJsdINirXAuVvkDDbZKm3mP/u/7N3MfZ7bsn?= =?us-ascii?Q?SQk5P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mPcwmJF1hvqZg/x9zZjhxl67D7tAc/zNZaJYJ/zKplUedItlw57qndltYAzs2PLyA8vk1uFoxMFAsRk1M6rXt/dtR2dvPGUawJpcparoc+HyTMbSb6qXGw7PvaSMznlLQ8dT2HpS6E4BVI+CCjZEqNYTp/DtsutnFVuUvVnhJw4+cNfNk0jSCSgw==; 5:VYKs/1di1+ZWosoVIbRoH+8OEpqOvlUn96Oi9HNdvvu/IFU5SvTbVkJ3TjFl4XkNQoQYmkBHWuJ5NpCOXPWS5bdmT6V7Og8mEQHbOcVARQs3urbihzXE7Vffy9MxYLk5BpFQzgU3pgH/u9aqBBidTqn4jkh9lLrti0b+NGntKew=; 7:MXatokxm753fAOybRE0C8kc3ioMzP2Mp9SsO2xUJH1Fjvo5iYakl8zOAm2+6DQnsxTWY1CGUnsPqhvgl9I9m/gGQNh/EYJ1oc+p0H+UA20IYmBywlyY6jQ3+BPxmQrrGOVI6zJSPokp89JLheaTORsFlkDkGT+uyEyOKMF7ycsBW9Lxtqo7jKdNrpw2jUm3txoDRhKJv5c4tZS9ik5BUtpRL2SvR1aVjEJwI/TET3OvtBNjfTnJQmIXvcEwkJxi2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 14:00:52.8139 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 861da358-8502-46e7-afb8-08d61ca5fc0d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB5005 Subject: Re: [dpdk-dev] [PATCH v3 4/5] eventdev: add auto test for eth Tx adapter 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: Mon, 17 Sep 2018 14:00:56 -0000 -----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