Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/3559/?format=api
https://patches.dpdk.org/api/patches/3559/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1424448800-6077-1-git-send-email-maciejx.t.gajdzica@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": "<1424448800-6077-1-git-send-email-maciejx.t.gajdzica@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1424448800-6077-1-git-send-email-maciejx.t.gajdzica@intel.com", "date": "2015-02-20T16:13:20", "name": "[dpdk-dev] enic: changed type of field ig_vlan_strip_en in struct enic to prevent possible data loss", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4d5108b86bbb7e9b940c394275b357fa271af5fa", "submitter": { "id": 18, "url": "https://patches.dpdk.org/api/people/18/?format=api", "name": "Maciej Gajdzica", "email": "maciejx.t.gajdzica@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1424448800-6077-1-git-send-email-maciejx.t.gajdzica@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/3559/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/3559/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 3C5D7B799;\n\tFri, 20 Feb 2015 17:13:42 +0100 (CET)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 649E8B787\n\tfor <dev@dpdk.org>; Fri, 20 Feb 2015 17:13:40 +0100 (CET)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga101.fm.intel.com with ESMTP; 20 Feb 2015 08:13:27 -0800", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga002.jf.intel.com with ESMTP; 20 Feb 2015 08:13:28 -0800", "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt1KGDQBb021202; Fri, 20 Feb 2015 16:13:26 GMT", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id t1KGDQb6006169;\n\tFri, 20 Feb 2015 16:13:26 GMT", "(from mtgajdzx@localhost)\n\tby sivswdev01.ir.intel.com with id t1KGDQDJ006165;\n\tFri, 20 Feb 2015 16:13:26 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.09,615,1418112000\"; d=\"scan'208\";a=\"688430546\"", "From": "Maciej Gajdzica <maciejx.t.gajdzica@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 20 Feb 2015 16:13:20 +0000", "Message-Id": "<1424448800-6077-1-git-send-email-maciejx.t.gajdzica@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "Subject": "[dpdk-dev] [PATCH] enic: changed type of field ig_vlan_strip_en in\n\tstruct enic to prevent possible data loss", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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": "Field ig_vlan_strip_en in struct enic type is int. It is used only by\nfunction enic_set_nic_cfg which expects uint_8 as argument. Changed type\nof the field to prevent possible loss of precision. Issue found with\nstatic code analysis tool.\n\nSigned-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>\n---\n lib/librte_pmd_enic/enic.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_pmd_enic/enic.h b/lib/librte_pmd_enic/enic.h\nindex c43417c..1d16a29 100644\n--- a/lib/librte_pmd_enic/enic.h\n+++ b/lib/librte_pmd_enic/enic.h\n@@ -110,7 +110,7 @@ struct enic {\n \tpthread_t err_intr_thread;\n \tint promisc;\n \tint allmulti;\n-\tint ig_vlan_strip_en;\n+\tuint8_t ig_vlan_strip_en;\n \tint link_status;\n \tu8 hw_ip_checksum;\n \n", "prefixes": [ "dpdk-dev" ] }{ "id": 3559, "url": "