Cover Detail
Show a cover letter.
GET /api/covers/61558/?format=api
https://patches.dpdk.org/api/covers/61558/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20191021080324.10659-1-vattunuru@marvell.com/", "project": { "id": 1, "url": "https://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": "<20191021080324.10659-1-vattunuru@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191021080324.10659-1-vattunuru@marvell.com", "date": "2019-10-21T08:03:20", "name": "[v11,0/4] kni: add IOVA=VA mode support", "submitter": { "id": 1277, "url": "https://patches.dpdk.org/api/people/1277/?format=api", "name": "Vamsi Krishna Attunuru", "email": "vattunuru@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20191021080324.10659-1-vattunuru@marvell.com/mbox/", "series": [ { "id": 6959, "url": "https://patches.dpdk.org/api/series/6959/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6959", "date": "2019-10-21T08:03:20", "name": "kni: add IOVA=VA mode support", "version": 11, "mbox": "https://patches.dpdk.org/series/6959/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/61558/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 308564C8D;\n\tMon, 21 Oct 2019 10:03:52 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n\t[67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 68CD64C74\n\tfor <dev@dpdk.org>; Mon, 21 Oct 2019 10:03:51 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n\tby mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n\tx9L7tAlX029761; Mon, 21 Oct 2019 01:03:50 -0700", "from sc-exch01.marvell.com ([199.233.58.181])\n\tby mx0b-0016f401.pphosted.com with ESMTP id 2vr20mn69f-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); \n\tMon, 21 Oct 2019 01:03:50 -0700", "from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com\n\t(10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tMon, 21 Oct 2019 01:03:48 -0700", "from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com\n\t(10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Mon, 21 Oct 2019 01:03:48 -0700", "from hyd1vattunuru-dt.caveonetworks.com (unknown [10.29.52.72])\n\tby maili.marvell.com (Postfix) with ESMTP id 2B9F33F7040;\n\tMon, 21 Oct 2019 01:03:44 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references : mime-version\n\t: content-type; s=pfpt0818;\n\tbh=e/u35zADZvb56Y53Wq3/yHCayzbZeGlk97H2jqlVHe8=; \n\tb=Q1Iqf63wlXCFzQkRZXqNMLfPruwEX2rB1Cn7tBohbXquvKoeI7Lrs/4j/rMR+2YAnEr6\n\tcpaKNtVFPchpB8CT/47UHrtnK5f2x9ZhJB4QE+pt9fhOYSFk0qbUwreo09CHLdm3hruK\n\tIzpqbnra42lMGoS6lq9lz6itoW/C4Hwz0tMDcfqCmnGl4DaAUxCn2hUR0S9O6LADai1S\n\tur0Pn/orf2hs8R7uySCwu26DQcSWbYeTJwHJBBmZCu4gDHYuE8y6dM3ry1yt1dslBKSd\n\tp0FlhXci6x5nYo5cjubBNO9l7LQ+ik+kiYusb0swFMeKZ9c8UqBV7xX/0fJ9rvRCr9nF\n\teQ== ", "From": "<vattunuru@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<thomas@monjalon.net>, <jerinj@marvell.com>, <kirankumark@marvell.com>, \n\t<olivier.matz@6wind.com>, <ferruh.yigit@intel.com>,\n\t<anatoly.burakov@intel.com>, <arybchenko@solarflare.com>,\n\t<stephen@networkplumber.org>, Vamsi Attunuru <vattunuru@marvell.com>", "Date": "Mon, 21 Oct 2019 13:33:20 +0530", "Message-ID": "<20191021080324.10659-1-vattunuru@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20190816061252.17214-1-vattunuru@marvell.com>", "References": "<20190816061252.17214-1-vattunuru@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.95,1.0.8\n\tdefinitions=2019-10-21_02:2019-10-18,2019-10-21 signatures=0", "Subject": "[dpdk-dev] [PATCH v11 0/4] kni: add IOVA=VA mode support", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Vamsi Attunuru <vattunuru@marvell.com>\n\n---\nV11 Changes:\n* Added iova to kva address translation routines in kernel module to\nmake it work in iova=va mode which enables DPDK to create kni devices\non any kind of backed device/memory.\n* Added ``--legacy-kni`` eal option to make existing KNI applications\nwork with DPDK 19.11 and later versions.\n* Removed previously added pci device info from kni device info struct.\n \nV10 Changes:\n* Fixed function return code on failure when min_chunk_size > pg_sz.\n* Marked new mempool populate routine as EXPERIMENTAL.\n \nV9 Changes:\n* Used rte_mempool_ops_calc_mem_size() instead of default handler in the\nnew mempool populate routine.\n* Check min_chunk_size and return values.\n* Removed ethdev_info memset to '0' and moved pci dev_info populate into\nkni_dev_pci_addr_get() routine.\n* Addressed misc. review comments.\n \nV8 Changes:\n* Remove default mempool populate() routine changes.\n* Add kni app specific mempool create & free routines.\n* Add new mempool populate routine to allocate page-aligned memzones\nwith page size to make sure all mempool objects reside on a page.\n* Update release notes and map files.\n \nV7 Changes:\n* Removed previously proposed mempool flag and made those page\nboundary checks default in mempool populate() except for the objects size\nbigger than the size of page.\n* Removed KNI example application related changes since pool related\nrequirement is taken care in mempool lib.\n* All PCI dev related info is moved under rte_eal_iova_mode() == VA check.\n* Added wrapper functions in KNI module to hide IOVA checks and make\naddress translation routines more readable.\n* Updated IOVA mode checks that enforcing IOVA=PA mode when IOVA=VA\nmode is enabled.\n \nV6 Changes:\n* Added new mempool flag to ensure mbuf memory is not scattered across\npage boundaries.\n* Added KNI kernel module required PCI device information.\n* Modified KNI example application to create mempool with new mempool\nflag.\n \nV5 changes:\n* Fixed build issue with 32b build\n \nV4 changes:\n* Fixed build issues with older kernel versions\n* This approach will only work with kernel above 4.4.0\n \nV3 Changes:\n* Add new approach to work kni with IOVA=VA mode using\niommu_iova_to_phys API.\n\nVamsi Attunuru (4):\n mempool: populate mempool with the page sized chunks\n eal: add legacy kni option\n kni: add IOVA=VA support\n kni: add IOVA=VA support in kernel module\n\n doc/guides/prog_guide/kernel_nic_interface.rst | 26 +++++++++\n doc/guides/rel_notes/release_19_11.rst | 17 ++++++\n examples/kni/main.c | 6 +-\n kernel/linux/kni/compat.h | 4 ++\n kernel/linux/kni/kni_dev.h | 31 ++++++++++\n kernel/linux/kni/kni_misc.c | 39 ++++++++++---\n kernel/linux/kni/kni_net.c | 58 ++++++++++++++-----\n lib/librte_eal/common/eal_common_options.c | 5 ++\n lib/librte_eal/common/eal_internal_cfg.h | 2 +\n lib/librte_eal/common/eal_options.h | 2 +\n lib/librte_eal/linux/eal/eal.c | 40 +++++++++----\n lib/librte_eal/linux/eal/include/rte_kni_common.h | 1 +\n lib/librte_kni/Makefile | 1 +\n lib/librte_kni/meson.build | 1 +\n lib/librte_kni/rte_kni.c | 67 ++++++++++++++++++++--\n lib/librte_kni/rte_kni.h | 48 ++++++++++++++++\n lib/librte_kni/rte_kni_version.map | 3 +\n lib/librte_mempool/rte_mempool.c | 69 +++++++++++++++++++++++\n lib/librte_mempool/rte_mempool.h | 20 +++++++\n lib/librte_mempool/rte_mempool_version.map | 2 +\n 20 files changed, 402 insertions(+), 40 deletions(-)" }{ "id": 61558, "url": "