Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/88916/?format=api
https://patches.dpdk.org/api/patches/88916/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210311015848.4976-4-pallavi.kadam@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": "<20210311015848.4976-4-pallavi.kadam@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210311015848.4976-4-pallavi.kadam@intel.com", "date": "2021-03-11T01:58:48", "name": "[v2,3/3] net/ice: disable ice DDP package on Windows", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "c4b7076260005cf5a5ccc9207cd7c12165a97d72", "submitter": { "id": 1177, "url": "https://patches.dpdk.org/api/people/1177/?format=api", "name": "Kadam, Pallavi", "email": "pallavi.kadam@intel.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210311015848.4976-4-pallavi.kadam@intel.com/mbox/", "series": [ { "id": 15596, "url": "https://patches.dpdk.org/api/series/15596/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15596", "date": "2021-03-11T01:58:48", "name": "Support ice PMD on Windows", "version": 2, "mbox": "https://patches.dpdk.org/series/15596/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/88916/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/88916/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3FE7AA056A;\n\tThu, 11 Mar 2021 02:26:55 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B224C22A334;\n\tThu, 11 Mar 2021 02:26:54 +0100 (CET)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 0F66C22A2B7\n for <dev@dpdk.org>; Thu, 11 Mar 2021 02:26:52 +0100 (CET)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Mar 2021 17:26:50 -0800", "from win-dpdk-pallavi.jf.intel.com (HELO localhost.localdomain)\n ([10.166.188.111])\n by orsmga007.jf.intel.com with ESMTP; 10 Mar 2021 17:26:50 -0800" ], "IronPort-SDR": [ "\n ZrsHLhlQZjLNjxoSp2IVqGhHVa6CElCtBA+5W8GFInGmdl2raW92B+JD5aNwGD+BiHxrq9I2+B\n dH32XwvioH5g==", "\n mShNSFg4mqQ5qcLH7OoLo0pLRYXcNn9StHAn4aiwh0OhzlPpqhO9r6zUjD9LvYpHy1rAT6d2/W\n 3v/QKbDF8lBw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9919\"; a=\"188692923\"", "E=Sophos;i=\"5.81,238,1610438400\"; d=\"scan'208\";a=\"188692923\"", "E=Sophos;i=\"5.81,238,1610438400\"; d=\"scan'208\";a=\"409316962\"" ], "X-ExtLoop1": "1", "From": "Pallavi Kadam <pallavi.kadam@intel.com>", "To": "dev@dpdk.org,\n\tthomas@monjalon.net", "Cc": "dmitry.kozliuk@gmail.com, ranjit.menon@intel.com, qiming.yang@intel.com,\n qi.z.zhang@intel.com, ferruh.yigit@intel.com, pallavi.kadam@intel.com", "Date": "Wed, 10 Mar 2021 17:58:48 -0800", "Message-Id": "<20210311015848.4976-4-pallavi.kadam@intel.com>", "X-Mailer": "git-send-email 2.18.0.windows.1", "In-Reply-To": "<20210311015848.4976-1-pallavi.kadam@intel.com>", "References": "<20210303215929.5616-1-pallavi.kadam@intel.com>\n <20210311015848.4976-1-pallavi.kadam@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 3/3] net/ice: disable ice DDP package on\n Windows", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "Disable loading of external DDP package as it is not\nsupported on Windows.\n\nSigned-off-by: Pallavi Kadam <pallavi.kadam@intel.com>\nReviewed-by: Ranjit Menon <ranjit.menon@intel.com>\n---\n drivers/net/ice/ice_ethdev.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex d22bc92ff..1f5f16d42 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -1652,6 +1652,7 @@ ice_pf_setup(struct ice_pf *pf)\n * Extract device serial number from PCIe Configuration Space and\n * determine the pkg file path according to the DSN.\n */\n+#ifndef RTE_EXEC_ENV_WINDOWS\n static int\n ice_pkg_file_search_path(struct rte_pci_device *pci_dev, char *pkg_file)\n {\n@@ -1689,6 +1690,7 @@ ice_pkg_file_search_path(struct rte_pci_device *pci_dev, char *pkg_file)\n \tstrncpy(pkg_file, ICE_PKG_FILE_DEFAULT, ICE_MAX_PKG_FILENAME_SIZE);\n \treturn 0;\n }\n+#endif\n \n enum ice_pkg_type\n ice_load_pkg_type(struct ice_hw *hw)\n@@ -1714,6 +1716,7 @@ ice_load_pkg_type(struct ice_hw *hw)\n \treturn package_type;\n }\n \n+#ifndef RTE_EXEC_ENV_WINDOWS\n static int ice_load_pkg(struct rte_eth_dev *dev)\n {\n \tstruct ice_hw *hw = ICE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n@@ -1785,6 +1788,7 @@ static int ice_load_pkg(struct rte_eth_dev *dev)\n \trte_free(buf);\n \treturn err;\n }\n+#endif\n \n static void\n ice_base_queue_get(struct ice_pf *pf)\n@@ -2065,6 +2069,7 @@ ice_dev_init(struct rte_eth_dev *dev)\n \t\treturn -EINVAL;\n \t}\n \n+#ifndef RTE_EXEC_ENV_WINDOWS\n \tret = ice_load_pkg(dev);\n \tif (ret) {\n \t\tif (ad->devargs.safe_mode_support == 0) {\n@@ -2077,6 +2082,7 @@ ice_dev_init(struct rte_eth_dev *dev)\n \t\t\t\t\t\"Entering Safe Mode\");\n \t\tad->is_safe_mode = 1;\n \t}\n+#endif\n \n \tPMD_INIT_LOG(INFO, \"FW %d.%d.%05d API %d.%d\",\n \t\t hw->fw_maj_ver, hw->fw_min_ver, hw->fw_build,\n", "prefixes": [ "v2", "3/3" ] }{ "id": 88916, "url": "