Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/61937/?format=api
https://patches.dpdk.org/api/patches/61937/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191025045258.66935-1-chenxux.di@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": "<20191025045258.66935-1-chenxux.di@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191025045258.66935-1-chenxux.di@intel.com", "date": "2019-10-25T04:52:58", "name": "net/ixgbe: fix port close in FreeBSD OS", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c3b4ec0c922cadb854f227b8f281ff1e56cc240b", "submitter": { "id": 1409, "url": "https://patches.dpdk.org/api/people/1409/?format=api", "name": "Chenxu Di", "email": "chenxux.di@intel.com" }, "delegate": { "id": 31221, "url": "https://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191025045258.66935-1-chenxux.di@intel.com/mbox/", "series": [ { "id": 7060, "url": "https://patches.dpdk.org/api/series/7060/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7060", "date": "2019-10-25T04:52:58", "name": "net/ixgbe: fix port close in FreeBSD OS", "version": 1, "mbox": "https://patches.dpdk.org/series/7060/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/61937/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/61937/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 043C41E85E;\n\tFri, 25 Oct 2019 07:45:02 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 20A5A1E551\n\tfor <dev@dpdk.org>; Fri, 25 Oct 2019 07:44:59 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t24 Oct 2019 22:44:59 -0700", "from intel.sh.intel.com ([10.239.255.149])\n\tby fmsmga002.fm.intel.com with ESMTP; 24 Oct 2019 22:44:57 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.68,227,1569308400\"; d=\"scan'208\";a=\"228782247\"", "From": "Di ChenxuX <chenxux.di@intel.com>", "To": "dev@dpdk.org", "Cc": "Wenzhuo Lu <wenzhuo.lu@intel.com>, Yang Qiming <qiming.yang@intel.com>, \n\tDi ChenxuX <chenxux.di@intel.com>", "Date": "Fri, 25 Oct 2019 04:52:58 +0000", "Message-Id": "<20191025045258.66935-1-chenxux.di@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] net/ixgbe: fix port close in FreeBSD OS", "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": "FreeBSD OS don't support igb_uio interrupt, so it will fail\n that unregister intr callback when port close.\nFix by passing -ENOENT when check the return value of\nunregister intr callback function.\n\nFixes: f2f4990eff94 (\"net/ixgbe: release port upon close\")\n\nSigned-off-by: Di ChenxuX <chenxux.di@intel.com>\n---\n drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c\nindex dbce7a80e..0a654accb 100644\n--- a/drivers/net/ixgbe/ixgbe_ethdev.c\n+++ b/drivers/net/ixgbe/ixgbe_ethdev.c\n@@ -2978,7 +2978,7 @@ ixgbe_dev_close(struct rte_eth_dev *dev)\n \tdo {\n \t\tret = rte_intr_callback_unregister(intr_handle,\n \t\t\t\tixgbe_dev_interrupt_handler, dev);\n-\t\tif (ret >= 0) {\n+\t\tif (ret >= 0 || ret == -ENOENT) {\n \t\t\tbreak;\n \t\t} else if (ret != -EAGAIN) {\n \t\t\tPMD_INIT_LOG(ERR,\n", "prefixes": [] }{ "id": 61937, "url": "