Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/70988/?format=api
https://patches.dpdk.org/api/patches/70988/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200609022538.27665-2-maox.jiang@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": "<20200609022538.27665-2-maox.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200609022538.27665-2-maox.jiang@intel.com", "date": "2020-06-09T02:25:38", "name": "[2/2] net/i40e: fix fdir allocating msix resource error", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "62d0967666d56d9bc57db8ca02a1f2fbddefa00c", "submitter": { "id": 1630, "url": "https://patches.dpdk.org/api/people/1630/?format=api", "name": "Jiang Mao", "email": "maox.jiang@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200609022538.27665-2-maox.jiang@intel.com/mbox/", "series": [ { "id": 10352, "url": "https://patches.dpdk.org/api/series/10352/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10352", "date": "2020-06-09T02:25:37", "name": "[1/2] net/i40e: fix binding interrupt without msix vectors", "version": 1, "mbox": "https://patches.dpdk.org/series/10352/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/70988/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/70988/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E1B47A04F2;\n\tTue, 9 Jun 2020 04:43:08 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AB0BB2B93;\n\tTue, 9 Jun 2020 04:43:08 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 302392B91;\n Tue, 9 Jun 2020 04:43:07 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Jun 2020 19:43:06 -0700", "from jm-optiplex-5060.sh.intel.com ([10.240.182.61])\n by orsmga002.jf.intel.com with ESMTP; 08 Jun 2020 19:43:04 -0700" ], "IronPort-SDR": [ "\n m28Z1BItVJYMQQg5T1Xoay90pYtbLA8qLOJLQ9s0coFhA7Qp1wqWSeofjOS+u6pWWMNRYmXL1d\n UOkXTiZH/6hQ==", "\n Qk/ml9sxf+a7Rq1QrkFdw59dgvDRn8qeD8gEQbNInFQLl81efluqt/TXJrUGf66ajZ8/78dCu5\n MzrICdprOGKA==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.73,490,1583222400\"; d=\"scan'208\";a=\"288678704\"", "From": "Jiang Mao <maox.jiang@intel.com>", "To": "xiaolong.ye@intel.com", "Cc": "dev@dpdk.org,\n\tstable@dpdk.org,\n\tJiang Mao <maox.jiang@intel.com>", "Date": "Tue, 9 Jun 2020 10:25:38 +0800", "Message-Id": "<20200609022538.27665-2-maox.jiang@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200609022538.27665-1-maox.jiang@intel.com>", "References": "<20200609022538.27665-1-maox.jiang@intel.com>", "Subject": "[dpdk-dev] [PATCH 2/2] net/i40e: fix fdir allocating msix resource\n\terror", "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 <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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Fdir allocating msix resource is not strictly necessary, if no resource left, print a warning message.\n\nFixes: 4861cde461 (i40e: new poll mode driver)\nCc: stable@dpdk.org\nSigned-off-by: Jiang Mao <maox.jiang@intel.com>\n---\n drivers/net/i40e/i40e_ethdev.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex 33ed556c8..acc43077d 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -5744,6 +5744,17 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\t\tvsi->nb_msix = RTE_MIN(vsi->nb_qps,\n \t\t\t\t\t RTE_MAX_RXTX_INTR_VEC_ID);\n \t\t}\n+\t} else if (type == I40E_VSI_FDIR) {\n+\t\tret = i40e_res_pool_alloc(&pf->msix_pool, 1);\n+\t\tif (ret < 0) {\n+\t\t\tPMD_DRV_LOG(WARNING, \"MSIX vectors used up, FDIR can`t bind interrupt\");\n+\t\t\tvsi->msix_intr = 0;\n+\t\t\tvsi->nb_msix = 0;\n+\t\t} else {\n+\t\t\tvsi->msix_intr = ret;\n+\t\t\tvsi->nb_msix = 1;\n+\t\t}\n+\n \t} else if (type != I40E_VSI_SRIOV) {\n \t\tret = i40e_res_pool_alloc(&pf->msix_pool, 1);\n \t\tif (ret < 0) {\n", "prefixes": [ "2/2" ] }{ "id": 70988, "url": "