Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/27043/?format=api
http://patches.dpdk.org/api/patches/27043/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1500434303-12975-1-git-send-email-jiayu.hu@intel.com/", "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": "<1500434303-12975-1-git-send-email-jiayu.hu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1500434303-12975-1-git-send-email-jiayu.hu@intel.com", "date": "2017-07-19T03:18:23", "name": "[dpdk-dev] net/virtio: fix fail to configure rxq interrupt", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "da5be4895c5646baaf12917b602e3d331e28e66f", "submitter": { "id": 539, "url": "http://patches.dpdk.org/api/people/539/?format=api", "name": "Hu, Jiayu", "email": "jiayu.hu@intel.com" }, "delegate": { "id": 355, "url": "http://patches.dpdk.org/api/users/355/?format=api", "username": "yliu", "first_name": "Yuanhan", "last_name": "Liu", "email": "yuanhan.liu@linux.intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1500434303-12975-1-git-send-email-jiayu.hu@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/27043/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/27043/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 937093977;\n\tWed, 19 Jul 2017 05:16:44 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 9BA113253;\n\tWed, 19 Jul 2017 05:16:42 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t18 Jul 2017 20:16:41 -0700", "from dpdk15.sh.intel.com ([10.67.111.77])\n\tby orsmga005.jf.intel.com with ESMTP; 18 Jul 2017 20:16:40 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.40,379,1496127600\"; d=\"scan'208\";a=\"126746626\"", "From": "Jiayu Hu <jiayu.hu@intel.com>", "To": "dev@dpdk.org", "Cc": "jianfeng.tan@intel.com, yliu@fridaylinux.org, lei.a.yao@intel.com,\n\tJiayu Hu <jiayu.hu@intel.com>, stable@dpdk.org", "Date": "Wed, 19 Jul 2017 11:18:23 +0800", "Message-Id": "<1500434303-12975-1-git-send-email-jiayu.hu@intel.com>", "X-Mailer": "git-send-email 2.7.4", "Subject": "[dpdk-dev] [PATCH] net/virtio: fix fail to configure rxq interrupt", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <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": "When use rte_eth_dev_configure() to enable rx queue interrupt for virtio\ndevices, virtio_configure_intr() isn't called to set up the interrupt\nenvironment, which causes rx queue interrupt setup failed. This patch is\nto fix this issue.\n\nFixes: 26b683b4f7d0 (\"net/virtio: setup Rx queue interrupts\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jiayu Hu <jiayu.hu@intel.com>\n---\n drivers/net/virtio/virtio_ethdev.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c\nindex 00a3122..66656ed 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -1688,6 +1688,13 @@ virtio_dev_configure(struct rte_eth_dev *dev)\n \t\treturn -ENOTSUP;\n \t}\n \n+\tif (dev->data->dev_conf.intr_conf.rxq) {\n+\t\tif (virtio_configure_intr(dev) < 0) {\n+\t\t\tPMD_DRV_LOG(ERR, \"failed to configure interrupt\");\n+\t\t\treturn -ENOTSUP;\n+\t\t}\n+\t}\n+\n \tif (dev->data->dev_flags & RTE_ETH_DEV_INTR_LSC)\n \t\t/* Enable vector (0) for Link State Intrerrupt */\n \t\tif (VTPCI_OPS(hw)->set_config_irq(hw, 0) ==\n", "prefixes": [ "dpdk-dev" ] }{ "id": 27043, "url": "