From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 15604A2EDB for ; Fri, 6 Sep 2019 10:20:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C71A61F220; Fri, 6 Sep 2019 10:20:33 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 766411F220 for ; Fri, 6 Sep 2019 10:20:31 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x868KR8W020338 for ; Fri, 6 Sep 2019 01:20:30 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=SnXj5R6ClqnBa0m+wC5SFhs0KKzTzID0RCuLhJLMPBc=; b=c2efSBrf47GWIpu6R+AxHaXEwZJEe/PMXh8nMfsCc7nV19IkGZs1LLB52iPm31xP8XNx Z/ZZ5crRAC3P/xwnYzh0ctrpDH/WlscVahUO6HB+qnXWZyNDVQKkx89Yasf6ATYM4A4Z LROHVCxlrREAgiOW0hUu/yeyMag7/fomOsJ6wPEiLjrubCepwBjQ1FOY4AWDSRPS7sQS 8QZoUirDohpLmEqCY9cUGqrIXdR2GSiRI/8mybxlAX7t1Y5sanY41fJHt7TqCCU0lsP2 Da0MUH6qZmoy02oYjmTk/Zc2F5228znJyGfuwfGu9Y5pxriIx8En3W/FV8CxCs9A6J/U fw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2uqrdmp8h0-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 06 Sep 2019 01:20:30 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 6 Sep 2019 01:20:28 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 6 Sep 2019 01:20:28 -0700 Received: from dc7-eodlnx05.marvell.com (dc7-eodlnx05.marvell.com [10.28.113.55]) by maili.marvell.com (Postfix) with ESMTP id E575A3F703F; Fri, 6 Sep 2019 01:20:26 -0700 (PDT) From: Sunil Kumar Kori To: CC: , Sunil Kumar Kori Date: Fri, 6 Sep 2019 13:50:20 +0530 Message-ID: <1567758021-8631-1-git-send-email-skori@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.70,1.0.8 definitions=2019-09-06_04:2019-09-04,2019-09-06 signatures=0 Subject: [dpdk-dev] [PATCH] add l2fwd-event application 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Patchset adds a new application to demonstrate usage of poll and eventdev mode. Following is the summary of newly added features: 1. Exposing following new command line parameters. - mode: It dictates the mode of operation i.e. poll or eventdev. - eventq_sync: It dictates eventq synchronization method i.e. atomic or ordered. Currently only atomic and ordered methods are implemented. 2. By default, application will be working into eventdev mode. 3. All the eventdev resources are initialized with default values. no configuration are exposed to the user. Following is the summary of default configuration: - Single instance of eventdev supported. - Number of event ports are equal to number of worker thread. - Number of event queue are equal number of ethernet ports. - Each event port is linked to all existing event queues. - Dedicated Rx adapter for each Ethernet port and all Ethernet port Rx queues are added to respective Rx adapter. - Dedicated Tx adapter for each Ethernet port and all Ethernet port Rx queues are added to respective Rx adapter. Sunil Kumar Kori (1): examples/l2fwd-event: add l2fwd with eventdev mode examples/Makefile | 1 + examples/l2fwd-event/Makefile | 57 +++ examples/l2fwd-event/l2fwd_common.h | 46 ++ examples/l2fwd-event/l2fwd_eventdev.c | 686 ++++++++++++++++++++++++++++++ examples/l2fwd-event/l2fwd_eventdev.h | 82 ++++ examples/l2fwd-event/main.c | 771 ++++++++++++++++++++++++++++++++++ examples/l2fwd-event/meson.build | 12 + 7 files changed, 1655 insertions(+) create mode 100644 examples/l2fwd-event/Makefile create mode 100644 examples/l2fwd-event/l2fwd_common.h create mode 100644 examples/l2fwd-event/l2fwd_eventdev.c create mode 100644 examples/l2fwd-event/l2fwd_eventdev.h create mode 100644 examples/l2fwd-event/main.c create mode 100644 examples/l2fwd-event/meson.build -- 1.8.3.1