Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109281/?format=api
http://patches.dpdk.org/api/patches/109281/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220406151106.2915304-15-juraj.linkes@pantheon.tech/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220406151106.2915304-15-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/20220406151106.2915304-15-juraj.linkes@pantheon.tech", "date": "2022-04-06T15:10:56", "name": "[RFC,v1,14/24] dts: merge DTS doc/dts_gsg/usr_guide/igb_uio.rst to DPDK", "commit_ref": null, "pull_url": null, "state": "rfc", "archived": true, "hash": "0c0256d25828a39314bb5e9c00dd6ad52e402b85", "submitter": { "id": 1626, "url": "http://patches.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220406151106.2915304-15-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 22379, "url": "http://patches.dpdk.org/api/series/22379/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22379", "date": "2022-04-06T15:10:42", "name": "merge DTS documentation files to DPDK", "version": 1, "mbox": "http://patches.dpdk.org/series/22379/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/109281/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/109281/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2777AA0508;\n\tWed, 6 Apr 2022 17:13:07 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 102C6428EE;\n\tWed, 6 Apr 2022 17:11:33 +0200 (CEST)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by mails.dpdk.org (Postfix) with ESMTP id D970C428C0\n for <dev@dpdk.org>; Wed, 6 Apr 2022 17:11:28 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 39B22184FE8;\n Wed, 6 Apr 2022 17:11:28 +0200 (CEST)", "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id 0Nt55Q2iC3Mp; Wed, 6 Apr 2022 17:11:27 +0200 (CEST)", "from entguard.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id CE56C16BC0E;\n Wed, 6 Apr 2022 17:11:13 +0200 (CEST)" ], "X-Virus-Scanned": "amavisd-new at siecit.sk", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "thomas@monjalon.net, david.marchand@redhat.com,\n Honnappa.Nagarahalli@arm.com, ohilyard@iol.unh.edu, lijuan.tu@intel.com", "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "Subject": "[RFC PATCH v1 14/24] dts: merge DTS doc/dts_gsg/usr_guide/igb_uio.rst\n to DPDK", "Date": "Wed, 6 Apr 2022 15:10:56 +0000", "Message-Id": "<20220406151106.2915304-15-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220406151106.2915304-1-juraj.linkes@pantheon.tech>", "References": "<20220406151106.2915304-1-juraj.linkes@pantheon.tech>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "---\n dts/doc/dts_gsg/usr_guide/igb_uio.rst | 102 ++++++++++++++++++++++++++\n 1 file changed, 102 insertions(+)\n create mode 100644 dts/doc/dts_gsg/usr_guide/igb_uio.rst", "diff": "diff --git a/dts/doc/dts_gsg/usr_guide/igb_uio.rst b/dts/doc/dts_gsg/usr_guide/igb_uio.rst\nnew file mode 100644\nindex 0000000000..13648cd028\n--- /dev/null\n+++ b/dts/doc/dts_gsg/usr_guide/igb_uio.rst\n@@ -0,0 +1,102 @@\n+Practice for igb_uio\n+====================\n+\n+The kernel module igb_uio is moved to the dpdk-kmods repository in the\n+/linux/igb_uio/ directory snice DPDK 20.11 (commit: 56bb5841fd06).\n+The most easy way to test DPDK in DTS based on igb_uio is to add igb_uio\n+source code back to dpdk.\n+\n+\n+Get Source Code\n+---------------\n+\n+Get DPDK::\n+\n+ git clone git://dpdk.org/dpdk\n+ git clone http://dpdk.org/git/dpdk\n+\n+Get igb_uio::\n+\n+ git clone http://dpdk.org/git/dpdk-kmods\n+ git clone git://dpdk.org/dpdk-kmods\n+\n+Integrate igb_uio into DPDK\n+---------------------------\n+\n+Assume you have cloned the dpdk and dpdk-kmods source code\n+in ./dpdk and ./dpdk-kmods.\n+\n+#. Copy dpdk-kmods/linux/igb_uio/ to dpdk/kernel/linux/::\n+\n+ [root@dts linux]# cp -r ./dpdk-kmods/linux/igb_uio /root/dpdk/kernel/linux/\n+ [root@dts linux]# ls ./dpdk/kernel/linux/\n+ igb_uio kni meson.build\n+\n+#. enable igb_uio build in meson:\n+\n+* add igb_uio in dpdk/kernel/linux/meson.build subdirs as below::\n+\n+ subdirs = ['kni', 'igb_uio']\n+\n+.. note::\n+\n+ igb_uio will be added into compile list when it is added in subdirs.\n+\n+\n+* create a file of meson.build in dpdk/kernel/linux/igb_uio/ as below::\n+\n+ # SPDX-License-Identifier: BSD-3-Clause\n+ # Copyright(c) 2017 Intel Corporation\n+\n+ mkfile = custom_target('igb_uio_makefile',\n+ output: 'Makefile',\n+ command: ['touch', '@OUTPUT@'])\n+\n+ custom_target('igb_uio',\n+ input: ['igb_uio.c', 'Kbuild'],\n+ output: 'igb_uio.ko',\n+ command: ['make', '-C', kernel_dir + '/build',\n+ 'M=' + meson.current_build_dir(),\n+ 'src=' + meson.current_source_dir(),\n+ 'EXTRA_CFLAGS=-I' + meson.current_source_dir() +\n+ '/../../../lib/librte_eal/include',\n+ 'modules'],\n+ depends: mkfile,\n+ install: true,\n+ install_dir: kernel_dir + '/extra/dpdk',\n+ build_by_default: get_option('enable_kmods'))\n+\n+.. note::\n+\n+ DPDK is using meson build, create meson.build so that igb_uio can be built.\n+\n+DTS configuration\n+-----------------\n+\n+#. Pack the dpdk into dpdk.tar.gz and copy into dts/dep::\n+\n+ tar -zcvf dpdk.tar.gz dpdk\n+ cp dpdk.tar.gz ~/dts/dep\n+\n+\n+#. config drivername=igb_uio in execution.cfg::\n+\n+ [Execution1]\n+ crbs=127.0.0.1\n+ drivername=igb_uio\n+ build_type=meson\n+ test_suites=\n+ checksum_offload,\n+ targets=\n+ x86_64-native-linuxapp-gcc\n+ parameters=nic_type=cfg:func=true\n+\n+#. configure dts with other requirements (not mentioned here) and now start dts::\n+\n+ ./dts\n+\n+.. note ..\n+\n+ dts parameter \"-s\" means skip setup, it won't unpack dep/dpdk.tar.gz\n+ to the default directory `/root/dpdk`, but use dpdk already there.\n+ so copy the integrated dpdk to `/root/dpdk` if with `-s`\n", "prefixes": [ "RFC", "v1", "14/24" ] }{ "id": 109281, "url": "