Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/56435/?format=api
http://patches.dpdk.org/api/patches/56435/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1563181362-29513-1-git-send-email-wei.zhao1@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": "<1563181362-29513-1-git-send-email-wei.zhao1@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1563181362-29513-1-git-send-email-wei.zhao1@intel.com", "date": "2019-07-15T09:02:42", "name": "net/ice: fix item number when pattern has ETH", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "50e4528d1d56b8fd973bd0c4d3b328736288a411", "submitter": { "id": 495, "url": "http://patches.dpdk.org/api/people/495/?format=api", "name": "Zhao1, Wei", "email": "wei.zhao1@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/1563181362-29513-1-git-send-email-wei.zhao1@intel.com/mbox/", "series": [ { "id": 5490, "url": "http://patches.dpdk.org/api/series/5490/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5490", "date": "2019-07-15T09:02:42", "name": "net/ice: fix item number when pattern has ETH", "version": 1, "mbox": "http://patches.dpdk.org/series/5490/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/56435/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/56435/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 9660E2C6A;\n\tMon, 15 Jul 2019 11:33:41 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 1E6722BF5\n\tfor <dev@dpdk.org>; Mon, 15 Jul 2019 11:33:38 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 Jul 2019 02:33:37 -0700", "from dpdk6.bj.intel.com ([172.16.182.192])\n\tby fmsmga001.fm.intel.com with ESMTP; 15 Jul 2019 02:33:36 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.63,493,1557212400\"; d=\"scan'208\";a=\"187083500\"", "From": "Wei Zhao <wei.zhao1@intel.com>", "To": "dev@dpdk.org", "Cc": "qi.z.zhang@intel.com,\n\twei zhao <wei.zhao1@intel.com>", "Date": "Mon, 15 Jul 2019 17:02:42 +0800", "Message-Id": "<1563181362-29513-1-git-send-email-wei.zhao1@intel.com>", "X-Mailer": "git-send-email 2.7.5", "Subject": "[dpdk-dev] [PATCH] net/ice: fix item number when pattern has ETH", "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": "When pattern has ETH, maybe it will contain\nMAC and ethertype two kinds of lookup parameters,\nso add more item number for memory malloc.\n\nSigned-off-by: wei zhao <wei.zhao1@intel.com>\n---\n drivers/net/ice/ice_switch_filter.c | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 5424223..6ec50fb 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -435,6 +435,8 @@ ice_create_switch_filter(struct ice_pf *pf,\n \t\t\ttun_type = ICE_SW_TUN_VXLAN;\n \t\tif (item->type == RTE_FLOW_ITEM_TYPE_NVGRE)\n \t\t\ttun_type = ICE_SW_TUN_NVGRE;\n+\t\tif (item->type == RTE_FLOW_ITEM_TYPE_ETH)\n+\t\t\titem_num++;\n \t}\n \trule_info.tun_type = tun_type;\n \n", "prefixes": [] }{ "id": 56435, "url": "