Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/3770/?format=api
https://patches.dpdk.org/api/patches/3770/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/D0158A423229094DA7ABF71CF2FA0DA3118DFBF1@shsmsx102.ccr.corp.intel.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": "<D0158A423229094DA7ABF71CF2FA0DA3118DFBF1@shsmsx102.ccr.corp.intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/D0158A423229094DA7ABF71CF2FA0DA3118DFBF1@shsmsx102.ccr.corp.intel.com", "date": "2015-02-27T11:28:31", "name": "[dpdk-dev,v6,2/8] eal/linux: add rx queue interrupt FDs to intr handle struct", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "fdcbcd1b024ecd334820c4916c9aa89ad2144717", "submitter": { "id": 46, "url": "https://patches.dpdk.org/api/people/46/?format=api", "name": "Cunming Liang", "email": "cunming.liang@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/D0158A423229094DA7ABF71CF2FA0DA3118DFBF1@shsmsx102.ccr.corp.intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/3770/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/3770/checks/", "tags": {}, "related": [], "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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id DA3DC376E;\n\tFri, 27 Feb 2015 12:28:39 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 2CD933005\n\tfor <dev@dpdk.org>; Fri, 27 Feb 2015 12:28:38 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 27 Feb 2015 03:28:37 -0800", "from pgsmsx102.gar.corp.intel.com ([10.221.44.80])\n\tby orsmga001.jf.intel.com with ESMTP; 27 Feb 2015 03:28:35 -0800", "from shsmsx101.ccr.corp.intel.com (10.239.4.153) by\n\tPGSMSX102.gar.corp.intel.com (10.221.44.80) with Microsoft SMTP\n\tServer (TLS) id 14.3.195.1; Fri, 27 Feb 2015 19:28:33 +0800", "from shsmsx102.ccr.corp.intel.com ([169.254.2.62]) by\n\tSHSMSX101.ccr.corp.intel.com ([169.254.1.192]) with mapi id\n\t14.03.0195.001; Fri, 27 Feb 2015 19:28:32 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.09,659,1418112000\"; \n\td=\"scan'208,217\";a=\"658047598\"", "From": "\"Liang, Cunming\" <cunming.liang@intel.com>", "To": "David Marchand <david.marchand@6wind.com>", "Thread-Topic": "[PATCH v6 2/8] eal/linux: add rx queue interrupt FDs to intr\n\thandle struct", "Thread-Index": "AQHQUknM7XNEbaTL6UC2u7dZmgB1uJ0DxuUAgACUNbA=", "Date": "Fri, 27 Feb 2015 11:28:31 +0000", "Message-ID": "<D0158A423229094DA7ABF71CF2FA0DA3118DFBF1@shsmsx102.ccr.corp.intel.com>", "References": "<1424710542-14637-1-git-send-email-danny.zhou@intel.com>\n\t<1425012976-10173-1-git-send-email-cunming.liang@intel.com>\n\t<1425012976-10173-3-git-send-email-cunming.liang@intel.com>\n\t<CALwxeUtr8iUCjroCf0ix0PPU2ers3EgTeTT6XUDAgwmwsOBS6Q@mail.gmail.com>", "In-Reply-To": "<CALwxeUtr8iUCjroCf0ix0PPU2ers3EgTeTT6XUDAgwmwsOBS6Q@mail.gmail.com>", "Accept-Language": "zh-CN, en-US", "Content-Language": "en-US", "X-MS-Has-Attach": "", "X-MS-TNEF-Correlator": "", "x-originating-ip": "[10.239.127.40]", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "X-Content-Filtered-By": "Mailman/MimeDel 2.1.15", "Cc": "\"dev@dpdk.org\" <dev@dpdk.org>", "Subject": "Re: [dpdk-dev] [PATCH v6 2/8] eal/linux: add rx queue interrupt FDs\n\tto intr handle struct", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/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: David Marchand [mailto:david.marchand@6wind.com]\r\nSent: Friday, February 27, 2015 6:33 PM\r\nTo: Liang, Cunming\r\nCc: dev@dpdk.org; Stephen Hemminger; Thomas Monjalon; Zhou, Danny\r\nSubject: Re: [PATCH v6 2/8] eal/linux: add rx queue interrupt FDs to intr handle struct\r\n\r\nHello,\r\n\r\nOn Fri, Feb 27, 2015 at 5:56 AM, Cunming Liang <cunming.liang@intel.com<mailto:cunming.liang@intel.com>> wrote:\r\nPer vector event fd will store in rte_intr_handle during init.\r\nDevice drivers take responsibility to fill queue-vec mapping table(vec_num[]).\r\n\r\nSigned-off-by: Danny Zhou <danny.zhou@intel.com<mailto:danny.zhou@intel.com>>\r\nSigned-off-by: Cunming Liang <cunming.liang@intel.com<mailto:cunming.liang@intel.com>>\r\n---\r\nv6 changes:\r\n - add mapping table between irq vector number and queue id.\r\n\r\n\r\nOk, you will store vfio eventfds here, but vfio is an implementation, not the abstraction.\r\n[Liang, Cunming] If looking at the rte_intr_hanle_type, it includes UIO/VFIO_LEGACY/VFIO_MSI/VFIO_MSIX.\r\nI agree, VFIO is an implementation, but the different type combination is a kind of ‘abstraction’.\r\nSo in rte_intr_handle (like a multiplexing), some specified field for vfio interrupter mapping, I feel it’s reasonable.\r\n\r\n\r\n--\r\nDavid Marchand", "diff": "diff --git a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h\r\nindex 6a159c7..9f45377 100644\r\n--- a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h\r\n+++ b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h\r\n@@ -38,6 +38,9 @@\r\n #ifndef _RTE_LINUXAPP_INTERRUPTS_H_\r\n #define _RTE_LINUXAPP_INTERRUPTS_H_\r\n\r\n+#define VFIO_MAX_RXTX_INTR_ID 32\r\n+#define VFIO_MAX_QUEUE_ID VFIO_MAX_RXTX_INTR_ID\r\n+\r\n\r\nThis is a little weird to talk about vfio here.\r\nThis file is \"generic\".\r\n", "prefixes": [ "dpdk-dev", "v6", "2/8" ] }{ "id": 3770, "url": "