From patchwork Fri Sep 10 17:27:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 98663 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 099D8A0547; Fri, 10 Sep 2021 19:27:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89E90406B4; Fri, 10 Sep 2021 19:27:44 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id BC6C24067E for ; Fri, 10 Sep 2021 19:27:42 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10103"; a="208363243" X-IronPort-AV: E=Sophos;i="5.85,283,1624345200"; d="scan'208";a="208363243" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2021 10:27:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,283,1624345200"; d="scan'208";a="694959511" Received: from silpixa00401122.ir.intel.com ([10.55.128.10]) by fmsmga006.fm.intel.com with ESMTP; 10 Sep 2021 10:27:40 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, fengchengwen@huawei.com, conor.walsh@intel.com, Kevin Laatz Date: Fri, 10 Sep 2021 17:27:31 +0000 Message-Id: <20210910172737.2561156-1-kevin.laatz@intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/6] port ioatfwd app to dmadev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" This patchset first adds some additional command line options to the existing ioatfwd application to enhance usability. The last 3 patches of this set then port the ioatfwd application to use the dmadev library APIs instead of the IOAT rawdev APIs. Following the port, all variables etc are renamed to be more appropriate for using with the DMAdev library. Lastly, the application itself is renamed to "dmafwd". Depends-on: series-18738 ("support dmadev") Kevin Laatz (3): examples/ioat: port application to dmadev APIs examples/ioat: update naming to match change to dmadev examples/ioat: rename application to dmafwd Konstantin Ananyev (3): examples/ioat: always use same lcore for both DMA requests enqueue and dequeue examples/ioat: add cmd-line option to control DMA batch size examples/ioat: add cmd line option to control max frame size .../sample_app_ug/{ioat.rst => dma.rst} | 114 ++-- doc/guides/sample_app_ug/index.rst | 2 +- doc/guides/sample_app_ug/intro.rst | 4 +- examples/{ioat => dma}/Makefile | 4 +- examples/{ioat/ioatfwd.c => dma/dmafwd.c} | 597 +++++++++--------- examples/{ioat => dma}/meson.build | 10 +- examples/meson.build | 2 +- 7 files changed, 381 insertions(+), 352 deletions(-) rename doc/guides/sample_app_ug/{ioat.rst => dma.rst} (73%) rename examples/{ioat => dma}/Makefile (97%) rename examples/{ioat/ioatfwd.c => dma/dmafwd.c} (62%) rename examples/{ioat => dma}/meson.build (63%)