Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/80165/?format=api
http://patchwork.dpdk.org/api/patches/80165/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20201009123919.43004-9-savinay.dharmappa@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20201009123919.43004-9-savinay.dharmappa@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201009123919.43004-9-savinay.dharmappa@intel.com", "date": "2020-10-09T12:39:19", "name": "[v9,8/8] sched: remove redundant code", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "616c806af787053e39f69f82be07e522034d97b9", "submitter": { "id": 1535, "url": "http://patchwork.dpdk.org/api/people/1535/?format=api", "name": "Savinay Dharmappa", "email": "savinay.dharmappa@intel.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20201009123919.43004-9-savinay.dharmappa@intel.com/mbox/", "series": [ { "id": 12825, "url": "http://patchwork.dpdk.org/api/series/12825/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=12825", "date": "2020-10-09T12:39:11", "name": "Enable dynamic config of subport bandwidth", "version": 9, "mbox": "http://patchwork.dpdk.org/series/12825/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/80165/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/80165/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 A7E9FA04BC;\n\tFri, 9 Oct 2020 14:42:36 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5A8A81D65A;\n\tFri, 9 Oct 2020 14:39:52 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id 95C2D1D63E\n for <dev@dpdk.org>; Fri, 9 Oct 2020 14:39:44 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Oct 2020 05:39:42 -0700", "from silpixa00400629.ir.intel.com ([10.237.214.112])\n by orsmga005.jf.intel.com with ESMTP; 09 Oct 2020 05:39:41 -0700" ], "IronPort-SDR": [ "\n V1I+K1gLO6bCQxZZTJ5/MOXsGvg2oUBS0IDVwygDgyz62jK4x4Ox2SySVx5A+4vFBj1fP8hmPn\n h/kEDAe7Rj+A==", "\n u+DqpHytLlt77QCecLurboLIO4gKSjPdLLzilTI2J/DH634k4gwUpcCT1jfUsuRThBy54StsS0\n tOlq1BwfAE/g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9768\"; a=\"152397608\"", "E=Sophos;i=\"5.77,355,1596524400\"; d=\"scan'208\";a=\"152397608\"", "E=Sophos;i=\"5.77,355,1596524400\"; d=\"scan'208\";a=\"528914556\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Savinay Dharmappa <savinay.dharmappa@intel.com>", "To": "cristian.dumitrescu@intel.com,\n\tjasvinder.singh@intel.com,\n\tdev@dpdk.org", "Cc": "savinay.dharmappa@intel.com", "Date": "Fri, 9 Oct 2020 13:39:19 +0100", "Message-Id": "<20201009123919.43004-9-savinay.dharmappa@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20201009123919.43004-1-savinay.dharmappa@intel.com>", "References": "<20201007140915.19491-1-savinay.dharmappa@intel.com>\n <20201009123919.43004-1-savinay.dharmappa@intel.com>", "Subject": "[dpdk-dev] [PATCH v9 8/8] sched: remove redundant code", "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 redundant data structure fields.\n\nSigned-off-by: Savinay Dharmappa <savinay.dharmappa@intel.com>\n---\n doc/guides/rel_notes/release_20_11.rst | 3 +++\n lib/librte_sched/rte_sched.h | 12 ------------\n 2 files changed, 3 insertions(+), 12 deletions(-)", "diff": "diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst\nindex 85d56d46c..116969d06 100644\n--- a/doc/guides/rel_notes/release_20_11.rst\n+++ b/doc/guides/rel_notes/release_20_11.rst\n@@ -296,6 +296,9 @@ ABI Changes\n * Added ``subport_profile_id`` as a argument to function\n ``rte_sched_subport_config``.\n \n+ * ``tb_rate``, ``tc_rate``, ``tc_period`` and\n+ ``tb_size`` are removed from ``struct rte_sched_subport_params``.\n+\n Known Issues\n ------------\n \ndiff --git a/lib/librte_sched/rte_sched.h b/lib/librte_sched/rte_sched.h\nindex 1506c6487..c1a772b70 100644\n--- a/lib/librte_sched/rte_sched.h\n+++ b/lib/librte_sched/rte_sched.h\n@@ -149,18 +149,6 @@ struct rte_sched_pipe_params {\n * byte.\n */\n struct rte_sched_subport_params {\n-\t/** Token bucket rate (measured in bytes per second) */\n-\tuint64_t tb_rate;\n-\n-\t/** Token bucket size (measured in credits) */\n-\tuint64_t tb_size;\n-\n-\t/** Traffic class rates (measured in bytes per second) */\n-\tuint64_t tc_rate[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE];\n-\n-\t/** Enforcement period for rates (measured in milliseconds) */\n-\tuint64_t tc_period;\n-\n \t/** Number of subport pipes.\n \t * The subport can enable/allocate fewer pipes than the maximum\n \t * number set through struct port_params::n_max_pipes_per_subport,\n", "prefixes": [ "v9", "8/8" ] }{ "id": 80165, "url": "