From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0051.outbound.protection.outlook.com [104.47.36.51]) by dpdk.org (Postfix) with ESMTP id A194329C8 for ; Sun, 10 Dec 2017 09:28:37 +0100 (CET) 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; bh=qBUEI04zsQqEoeAG+JNXLqxAhNJlOW7koZ/U6D06m0U=; b=HD1cLx8nBmCNS+3bQAxBNEKk+0jg1xu+pZl+pO0EPfDHn9ycTUWiSqkQENrWpkEaVTkbQPiza6VYnc3wnGs3X/pudDwaF/hx1EE4Kc4mS3QSSSWxnc6C/jDnG0yASvlrnQKiNnDdZ4BorthPS7dlnwcvHqhXyjksw9av8sbZWNo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.76.104.209) by CY1PR07MB2521.namprd07.prod.outlook.com (10.167.16.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Sun, 10 Dec 2017 08:28:29 +0000 Date: Sun, 10 Dec 2017 13:58:08 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com, santosh.shukla@caviumnetworks.com, dev@dpdk.org Message-ID: <20171210082806.GA11770@jerin> References: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [171.76.104.209] X-ClientProxiedBy: MA1PR01CA0088.INDPRD01.PROD.OUTLOOK.COM (10.174.56.28) To CY1PR07MB2521.namprd07.prod.outlook.com (10.167.16.12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 55fabc88-4b7a-4621-a1a6-08d53fa801be X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307); SRVR:CY1PR07MB2521; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2521; 3:NQNWXO5duZuY+TFgMotZ0bFlpeZguNvRFMFX7fKKQtwCL69Y5qY1YkMDDwB0AcZLEkkYnBrHJ68/OIRHlZfmQxYBa6n79WtT1V3F1ncxMKhRTff+8NBpcK4BvAVwr3z/kGjT3/ByQfXrQaCfGAg4OX17KdeSUKVsQ5owg2HX58IL4t+LHZiSlecGV+PRZKUQaQ2jV1ZLHFjCgoJK2HfkaQ/zUfY81vuiYEcu6eYiRfl0hL3n2INxx1eefAUFr9s2; 25:xrnuVEr3468tLH99P9nZDYfrGfLAGQEWxe7diudEJ4XRb6X8gn1eVFXTZBCYBHG6Nyybk1dwrIv/frJajXI+VuXCbzfPBQmWUQMd45pjioKE8YDCXCM/SdqVCOvBDlq97lBzYEJvTZWQjOWsk0FquMZo0/6ltJoSm/xCpf+lwpx/eVUUcgdPtSyBjop75c/ManRxEbLtVW6wAOU4z3TXiATDf+Y0QK5Uh8H3syDwxcUJZ1arLTgrKGk9WzcntM7GlWOe/7JcS4GChKEeAS83ZtibmS2ikUrawY8F9rTeje/8RNyjqYDVs0KdT0wD51wIrP2zbGoxSNXLf8j0Dun1Hg==; 31:kPRd94b9HbAcEfESORJA9pX68E9NualNUuXQ2qAWL6xegHGhjM+ry8TzXD/4ek1RvAmyFvU65nJKHDmPxc+yMlVTU0lqQb+msBJSx9PaUTRGZzM3El95evUebqFU5XODyhLGaZmNTdav/lOjX1mD0tpg6RQOvp8IPwhqDfMXPEmBCTnHq21IC3lv7txAg6ZGoDfJd9mmTadrrGkmfxyiAwM17uDJhujrAiuhq0Y1BcU= X-MS-TrafficTypeDiagnostic: CY1PR07MB2521: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2521; 20:9cWJ1a0HGbTwjFRK3fsCxz2x7kJInHgDvrtUMCLLttkWR9TRozZaGhj+BcoDxW0bYwh2hoKdkRnhNldON5m0nhNZ9AGicVyESnnFVe6D9ik40UAzqjz7hDaVlNiCMm6xZXm0+98o375feyDGRO9Yupd2oLjkuI52JJVxbXxiXJ+u1TTSaJ/QEDet7xRAiEPxLUluV9JXL47H156uOltgaRmm3hTaaUT6bm18PuUE+80xN21/yCAVzAIGce97c4BZeewdT/NnQFFDw7U72197hHNQxc3G/CDsj9XQsPnTJEsazIWfKDlAvKxOYJ2QM/dcOK6bfaZV+Faw5er0ucWgKQ7sCQ1DE935g/cH/3vTOROPMVLuDar6/MA63tlXJEUaC9jbShtGwiZKoBHJANBifPZWRT5lZrnAoGrS8aWFe3qzPueZjgApqwYo5zAKJbGBO2SzXpFnPTFKov5TKo0woK5DJnA/VtcaNw1Gz29Rj/Cwmtd6hvecAAYN7oN3K6VtYL9YKBokSWlZhAgmQeEXA7bY6nDOIGvv6cJo11vxSYJWlMrllmRUBEpvgXcisb5NVt7cl5geDEBVO4imAzzufs/iugfJvKNOFeo8AtanPFU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3231022)(10201501046)(3002001)(93006095)(6041248)(20161123560025)(20161123558100)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(201708071742011); SRVR:CY1PR07MB2521; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY1PR07MB2521; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2521; 4:cMBoRQrIlFYRR0yEezd34VUJwh/KGwGM/q1xppFNtuJfXJ7q0bLxceE8NEs13/Th3lzbuHeW75/pJtKWse/8GjahSX8+9krSJU34mTiFD/igMihnEr6vo7x+wpytatAsQIkEfESycOpN3RF4oCsf8kB4M+Pcb4nAd3dr0OBQQVOHDztqL5FdMdGyg/Uhrw68LxyhJtijwcNEocLxZwT/mKP07SwJNZcloU+LPwyO7bO+so+SiKHe/s2weMxOaQO+HBD8pMEhJTz0O0lgUhrUCTSbNSS+INKOn4KZ/OCh+wFyTt36qUIN8d3ZpHVrLC2hyQYsZeWy3mEfGRdcjNwFgDmqVK3TMUPBa83hMA7LgpE= X-Forefront-PRVS: 05177D47DC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(13464003)(199004)(189003)(3846002)(23726003)(76176011)(8656006)(52116002)(81156014)(8676002)(33656002)(6496006)(81166006)(6666003)(2906002)(5660300001)(33896004)(42882006)(50466002)(47776003)(66066001)(6636002)(83506002)(2950100002)(7736002)(25786009)(105586002)(55016002)(9686003)(229853002)(106356001)(316002)(68736007)(6862004)(16586007)(97736004)(58126008)(1076002)(53936002)(16526018)(6116002)(4326008)(6246003)(8936002)(305945005)(72206003)(59450400001)(33716001)(5890100001)(478600001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2521; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2521; 23:xTXU3J5esUB1qV+sK/SgWh5Vu43VxmU2TuN4QBTW8?= =?us-ascii?Q?Co7cOJuanFpI0E8ovTABQ6JP0KxTBEEEn1w+G7YQJiPUVQx8Nm4mBzKHnIbd?= =?us-ascii?Q?RnzAIzth/ht+N3rfT6/ZkEh4wQCkiYE1ntVrpVBmY43EtTxQCJvWxH4ojY2k?= =?us-ascii?Q?qYXawSNgOSkef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knS0NNj5ycwfV5oIV1VT4sRedKZYxgNUhuVbT76c1WsUgCxjUrniKIZEjJmrCUtV7fwXWjYsCUacFxu5hYgvtAp7KgphAhiCEOc2KSe+DO239Umg9YrXQ3Y0xpRW3ZBLa5HlYI SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2017 08:28:29.3962 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 55fabc88-4b7a-4621-a1a6-08d53fa801be X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2521 Subject: Re: [dpdk-dev] [PATCH 0/8] app/eventdev: add event eth Rx adapter support 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: Sun, 10 Dec 2017 08:28:38 -0000 -----Original Message----- > Date: Wed, 18 Oct 2017 18:09:00 +0530 > From: Pavan Nikhilesh > To: bruce.richardson@intel.com, harry.van.haaren@intel.com, > gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, > nikhil.rao@intel.com, santosh.shukla@caviumnetworks.com, > jerin.jacob@caviumnetworks.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [PATCH 0/8] app/eventdev: add event eth Rx adapter support > X-Mailer: git-send-email 2.7.4 > > The eventdev application uses producer lcores to inject packets as events > into the event device. This approach is suitable for doing synthetic > performance benchmarks. In most real-world scenarios the packets are > received by an Ethernet device. > > The Event Ethernet Rx Adapter library enables packet transfer between > ethernet dev and event dev transparently. This patch series adds an option > '--prod_type_ethdev' to configure the attached Ethernet devices as Rx adapters > and use them as producers instead of using synthetic producer cores. Also, this > is an RX only case. > > The application has been verified on both sw and hw event devices using the > command: > > ./build/app/dpdk-test-eventdev -c 0xfffff1 -s 0xf0000 --vdev="event_*" > -- --wlcores 12 --test perf_queue --verbose 20 --stlist=a > --prod_type_ethdev Please rebase to latest next-eventdev tree and fix following check patch warning. ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent #154: FILE: app/test-eventdev/evt_options.h:284: + switch (opt->prod_type) { + default: + case EVT_PROD_TYPE_SYNT: [...] + case EVT_PROD_TYPE_ETH_RX_ADPTR: > > Pavan Nikhilesh (8): > app/eventdev: add ethernet device producer option > app/eventdev: modify app setup to support ethdev > app/eventdev: add pktmbuf pool for ethdev > app/eventdev: add ethernet device setup helpers > app/eventdev: add ethernet device tear down > app/eventdev: add event Rx adapter setup > app/eventdev: add service core configuration > doc: update app eventdev options > > app/test-eventdev/evt_common.h | 41 +++--- > app/test-eventdev/evt_options.c | 11 ++ > app/test-eventdev/evt_options.h | 29 ++++ > app/test-eventdev/test_perf_atq.c | 32 +++-- > app/test-eventdev/test_perf_common.c | 269 ++++++++++++++++++++++++++++++----- > app/test-eventdev/test_perf_common.h | 4 + > app/test-eventdev/test_perf_queue.c | 35 +++-- > doc/guides/tools/testeventdev.rst | 15 ++ > 8 files changed, 361 insertions(+), 75 deletions(-) > > -- > 2.7.4 >