Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82072/?format=api
https://patches.dpdk.org/api/patches/82072/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201025002953.1680999-6-qi.z.zhang@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": "<20201025002953.1680999-6-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201025002953.1680999-6-qi.z.zhang@intel.com", "date": "2020-10-25T00:29:37", "name": "[v2,05/21] net/ice/base: move sched function prototypes", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "94fca8eff98c5db69397ff89445f986a6a21c84e", "submitter": { "id": 504, "url": "https://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201025002953.1680999-6-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 13297, "url": "https://patches.dpdk.org/api/series/13297/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13297", "date": "2020-10-25T00:29:32", "name": "ice: update base code", "version": 2, "mbox": "https://patches.dpdk.org/series/13297/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/82072/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/82072/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 6DAEEA04B5;\n\tSun, 25 Oct 2020 02:27:42 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2B7B229C6;\n\tSun, 25 Oct 2020 02:26:16 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id EBEF71E2F\n for <dev@dpdk.org>; Sun, 25 Oct 2020 02:26:05 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Oct 2020 17:26:04 -0700", "from dpdk51.sh.intel.com ([10.67.111.142])\n by FMSMGA003.fm.intel.com with ESMTP; 24 Oct 2020 17:26:03 -0700" ], "IronPort-SDR": [ "\n 6oQ6RqFXisqN/Hq0O82pcoSrJS4upi9rzQTf+hlx6gpy+Dsap6EDOtZRK1S4hEVdliP6aN5JHc\n ZuioN4bJDWSg==", "\n J1DNB4urU8nClCtwMsVgkLCTwgwCmu25HPuDj61FjucT2RPq7VVIJmn7/W6OUjs3P1TwBEqdEF\n RE10JNBDeUXQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9784\"; a=\"167927030\"", "E=Sophos;i=\"5.77,414,1596524400\"; d=\"scan'208\";a=\"167927030\"", "E=Sophos;i=\"5.77,414,1596524400\"; d=\"scan'208\";a=\"359984023\"" ], "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": "qiming.yang@intel.com", "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n Tony Nguyen <anthony.l.nguyen@intel.com>", "Date": "Sun, 25 Oct 2020 08:29:37 +0800", "Message-Id": "<20201025002953.1680999-6-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.25.4", "In-Reply-To": "<20201025002953.1680999-1-qi.z.zhang@intel.com>", "References": "<20201025002953.1680999-1-qi.z.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 05/21] net/ice/base: move sched function\n\tprototypes", "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": "These functions reside in ice_sched.c but the function protypes are\ndeclared in ice_common.h. Move the function prototypes to ice_sched.h.\n\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_common.h | 7 -------\n drivers/net/ice/base/ice_sched.h | 8 ++++++++\n 2 files changed, 8 insertions(+), 7 deletions(-)", "diff": "diff --git a/drivers/net/ice/base/ice_common.h b/drivers/net/ice/base/ice_common.h\nindex 393e2d3f6d..0288fb73e0 100644\n--- a/drivers/net/ice/base/ice_common.h\n+++ b/drivers/net/ice/base/ice_common.h\n@@ -198,13 +198,6 @@ ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,\n \t\tstruct ice_sq_cd *cd);\n enum ice_status ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle);\n void ice_replay_post(struct ice_hw *hw);\n-void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw);\n-void ice_sched_replay_agg(struct ice_hw *hw);\n-enum ice_status ice_sched_replay_tc_node_bw(struct ice_port_info *pi);\n-enum ice_status ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle);\n-enum ice_status ice_sched_replay_root_node_bw(struct ice_port_info *pi);\n-enum ice_status\n-ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);\n struct ice_q_ctx *\n ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);\n void\ndiff --git a/drivers/net/ice/base/ice_sched.h b/drivers/net/ice/base/ice_sched.h\nindex da2604c75e..501a4c499e 100644\n--- a/drivers/net/ice/base/ice_sched.h\n+++ b/drivers/net/ice/base/ice_sched.h\n@@ -194,4 +194,12 @@ enum ice_status\n ice_cfg_tc_node_bw_alloc(struct ice_port_info *pi, u8 tc,\n \t\t\t enum ice_rl_type rl_type, u8 bw_alloc);\n enum ice_status ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes);\n+void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw);\n+void ice_sched_replay_agg(struct ice_hw *hw);\n+enum ice_status ice_sched_replay_tc_node_bw(struct ice_port_info *pi);\n+enum ice_status ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle);\n+enum ice_status ice_sched_replay_root_node_bw(struct ice_port_info *pi);\n+enum ice_status\n+ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);\n+\n #endif /* _ICE_SCHED_H_ */\n", "prefixes": [ "v2", "05/21" ] }{ "id": 82072, "url": "