Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/52840/?format=api
http://patches.dpdk.org/api/patches/52840/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1555465672-288172-2-git-send-email-ying.a.wang@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": "<1555465672-288172-2-git-send-email-ying.a.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1555465672-288172-2-git-send-email-ying.a.wang@intel.com", "date": "2019-04-17T01:47:51", "name": "[v2,1/2] net/ice: fix wrong type", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "16372f0b532ee0730a057a6d98dd14dab75414ec", "submitter": { "id": 1280, "url": "http://patches.dpdk.org/api/people/1280/?format=api", "name": "Ying Wang", "email": "ying.a.wang@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1555465672-288172-2-git-send-email-ying.a.wang@intel.com/mbox/", "series": [ { "id": 4338, "url": "http://patches.dpdk.org/api/series/4338/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4338", "date": "2019-04-17T01:47:50", "name": "ice: fix wrong type and promisc mode", "version": 2, "mbox": "http://patches.dpdk.org/series/4338/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/52840/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/52840/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 657C11B58E;\n\tWed, 17 Apr 2019 03:59:59 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 73C721B58E;\n\tWed, 17 Apr 2019 03:59:57 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t16 Apr 2019 18:59:56 -0700", "from unknown (HELO npg-dpdk-cvl-yingwang-117d94.sh.intel.com)\n\t([10.67.117.94])\n\tby orsmga007.jf.intel.com with ESMTP; 16 Apr 2019 18:59:55 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.60,360,1549958400\"; d=\"scan'208\";a=\"132028410\"", "From": "Wang Ying A <ying.a.wang@intel.com>", "To": "wenzhuo.lu@intel.com,\n\tqiming.yang@intel.com,\n\tqi.z.zhang@intel.com", "Cc": "dev@dpdk.org, ramirose@gmail.com, Wang Ying A <ying.a.wang@intel.com>,\n\tstable@dpdk.org", "Date": "Wed, 17 Apr 2019 09:47:51 +0800", "Message-Id": "<1555465672-288172-2-git-send-email-ying.a.wang@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1555465672-288172-1-git-send-email-ying.a.wang@intel.com>", "References": "<1555077139-244831-2-git-send-email-ying.a.wang@intel.com>\n\t<1555465672-288172-1-git-send-email-ying.a.wang@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 1/2] net/ice: fix wrong type", "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": "Variable \"status\" should be defined as \"enum ice_status\"\ninstead of \"uint16_t\". This patch fixes the issue.\n\nFixes: c945e4bf9063 (\"net/ice: support promiscuous mode\")\nCc: stable@dpdk.org\n\nSigned-off-by: Wang Ying A <ying.a.wang@intel.com>\n---\n drivers/net/ice/ice_ethdev.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex 0946b19..3263337 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -2757,7 +2757,7 @@ static int ice_macaddr_set(struct rte_eth_dev *dev,\n \tstruct ice_hw *hw = ICE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \tstruct ice_vsi *vsi = pf->main_vsi;\n \tuint8_t pmask;\n-\tuint16_t status;\n+\tenum ice_status status;\n \n \tpmask = ICE_PROMISC_UCAST_RX | ICE_PROMISC_UCAST_TX |\n \t\tICE_PROMISC_MCAST_RX | ICE_PROMISC_MCAST_TX;\n@@ -2773,7 +2773,7 @@ static int ice_macaddr_set(struct rte_eth_dev *dev,\n \tstruct ice_pf *pf = ICE_DEV_PRIVATE_TO_PF(dev->data->dev_private);\n \tstruct ice_hw *hw = ICE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \tstruct ice_vsi *vsi = pf->main_vsi;\n-\tuint16_t status;\n+\tenum ice_status status;\n \tuint8_t pmask;\n \n \tpmask = ICE_PROMISC_UCAST_RX | ICE_PROMISC_UCAST_TX |\n@@ -2791,7 +2791,7 @@ static int ice_macaddr_set(struct rte_eth_dev *dev,\n \tstruct ice_hw *hw = ICE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \tstruct ice_vsi *vsi = pf->main_vsi;\n \tuint8_t pmask;\n-\tuint16_t status;\n+\tenum ice_status status;\n \n \tpmask = ICE_PROMISC_MCAST_RX | ICE_PROMISC_MCAST_TX;\n \n@@ -2806,7 +2806,7 @@ static int ice_macaddr_set(struct rte_eth_dev *dev,\n \tstruct ice_pf *pf = ICE_DEV_PRIVATE_TO_PF(dev->data->dev_private);\n \tstruct ice_hw *hw = ICE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \tstruct ice_vsi *vsi = pf->main_vsi;\n-\tuint16_t status;\n+\tenum ice_status status;\n \tuint8_t pmask;\n \n \tif (dev->data->promiscuous == 1)\n", "prefixes": [ "v2", "1/2" ] }{ "id": 52840, "url": "