Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/77415/?format=api
http://patches.dpdk.org/api/patches/77415/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200911131954.15999-29-qi.z.zhang@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": "<20200911131954.15999-29-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200911131954.15999-29-qi.z.zhang@intel.com", "date": "2020-09-11T13:19:42", "name": "[v2,28/40] net/ice/base: remove function ACL count query", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d063dfb0e6ee6a2295f7dbe8897b35af17d54d59", "submitter": { "id": 504, "url": "http://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200911131954.15999-29-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 12148, "url": "http://patches.dpdk.org/api/series/12148/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12148", "date": "2020-09-11T13:19:15", "name": "ice base code update", "version": 2, "mbox": "http://patches.dpdk.org/series/12148/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/77415/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/77415/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0DADBA04B7;\n\tFri, 11 Sep 2020 15:21:46 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0260D1C21E;\n\tFri, 11 Sep 2020 15:16:56 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id D02101C1DD\n for <dev@dpdk.org>; Fri, 11 Sep 2020 15:16:41 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2020 06:16:41 -0700", "from dpdk51.sh.intel.com ([10.67.111.82])\n by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2020 06:16:40 -0700" ], "IronPort-SDR": [ "\n KbkzNeOWwcYevcm61xdRSbIQB9e0R2EHF63uy+5apOEih0aoG/O6PJYA7mG/jeb/oFYgyteR3b\n zXqRrezJ9NEQ==", "\n ktq6TNTfXfF0dCQ+uPwWS3RcxglAxgJkVZ5TMIBhQU0jZmusMiC251B7YFLfiqSkFjJldqqMI7\n Msunck4RefOw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9740\"; a=\"146482354\"", "E=Sophos;i=\"5.76,415,1592895600\"; d=\"scan'208\";a=\"146482354\"", "E=Sophos;i=\"5.76,415,1592895600\"; d=\"scan'208\";a=\"342296695\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "ferruh.yigit@intel.com", "Cc": "dev@dpdk.org,\n\tQi Zhang <qi.z.zhang@intel.com>", "Date": "Fri, 11 Sep 2020 21:19:42 +0800", "Message-Id": "<20200911131954.15999-29-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.13.6", "In-Reply-To": "<20200911131954.15999-1-qi.z.zhang@intel.com>", "References": "<20200907112826.48493-1-qi.z.zhang@intel.com>\n <20200911131954.15999-1-qi.z.zhang@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 28/40] net/ice/base: remove function ACL count\n\tquery", "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 <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": "Remove debug function ice_aq_query_acl_cntrs.\n\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\nAcked-by: Qiming Yang <qiming.yang@intel.com>\n---\n drivers/net/ice/base/ice_acl.c | 36 ------------------------------------\n drivers/net/ice/base/ice_acl.h | 3 ---\n 2 files changed, 39 deletions(-)", "diff": "diff --git a/drivers/net/ice/base/ice_acl.c b/drivers/net/ice/base/ice_acl.c\nindex fd12507d7..435a0cb51 100644\n--- a/drivers/net/ice/base/ice_acl.c\n+++ b/drivers/net/ice/base/ice_acl.c\n@@ -435,42 +435,6 @@ ice_aq_dealloc_acl_cntrs(struct ice_hw *hw, struct ice_acl_cntrs *cntrs,\n }\n \n /**\n- * ice_aq_query_acl_cntrs - query ACL counter\n- * @hw: pointer to the HW struct\n- * @bank: queries counter bank\n- * @index: queried counter index\n- * @cntr_val: pointer to counter or packet counter value\n- * @cd: pointer to command details structure or NULL\n- *\n- * Query ACL counter (direct 0x0C27)\n- */\n-enum ice_status\n-ice_aq_query_acl_cntrs(struct ice_hw *hw, u8 bank, u16 index, u64 *cntr_val,\n-\t\t struct ice_sq_cd *cd)\n-{\n-\tstruct ice_aqc_acl_query_counter *cmd;\n-\tstruct ice_aq_desc desc;\n-\tenum ice_status status;\n-\n-\tif (!cntr_val)\n-\t\treturn ICE_ERR_PARAM;\n-\n-\tice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_query_acl_counter);\n-\tcmd = &desc.params.query_counter;\n-\tcmd->counter_index = CPU_TO_LE16(index);\n-\tcmd->counter_bank = bank;\n-\tstatus = ice_aq_send_cmd(hw, &desc, NULL, 0, cd);\n-\tif (!status) {\n-\t\t__le64 resp_val = 0;\n-\n-\t\tice_memcpy(&resp_val, cmd->ops.resp.val,\n-\t\t\t sizeof(cmd->ops.resp.val), ICE_NONDMA_TO_NONDMA);\n-\t\t*cntr_val = LE64_TO_CPU(resp_val);\n-\t}\n-\treturn status;\n-}\n-\n-/**\n * ice_prog_acl_prof_ranges - program ACL profile ranges\n * @hw: pointer to the HW struct\n * @prof_id: programmed or updated profile ID\ndiff --git a/drivers/net/ice/base/ice_acl.h b/drivers/net/ice/base/ice_acl.h\nindex cd75e1c17..be27a545b 100644\n--- a/drivers/net/ice/base/ice_acl.h\n+++ b/drivers/net/ice/base/ice_acl.h\n@@ -172,9 +172,6 @@ enum ice_status\n ice_aq_dealloc_acl_cntrs(struct ice_hw *hw, struct ice_acl_cntrs *cntrs,\n \t\t\t struct ice_sq_cd *cd);\n enum ice_status\n-ice_aq_query_acl_cntrs(struct ice_hw *hw, u8 bank, u16 index, u64 *cntr_val,\n-\t\t struct ice_sq_cd *cd);\n-enum ice_status\n ice_prog_acl_prof_ranges(struct ice_hw *hw, u8 prof_id,\n \t\t\t struct ice_aqc_acl_profile_ranges *buf,\n \t\t\t struct ice_sq_cd *cd);\n", "prefixes": [ "v2", "28/40" ] }{ "id": 77415, "url": "