Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/94578/?format=api
https://patches.dpdk.org/api/patches/94578/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210621063708.4014937-5-robinx.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": "<20210621063708.4014937-5-robinx.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210621063708.4014937-5-robinx.zhang@intel.com", "date": "2021-06-21T06:36:58", "name": "[v2,04/14] net/i40e/base: set TSA table values when parsing CEE configuration", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2bbc14cdca48c4d124a51fedb0ba47799d0b2b95", "submitter": { "id": 2004, "url": "https://patches.dpdk.org/api/people/2004/?format=api", "name": "Robin Zhang", "email": "robinx.zhang@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210621063708.4014937-5-robinx.zhang@intel.com/mbox/", "series": [ { "id": 17414, "url": "https://patches.dpdk.org/api/series/17414/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17414", "date": "2021-06-21T06:36:54", "name": "i40e base code update", "version": 2, "mbox": "https://patches.dpdk.org/series/17414/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/94578/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/94578/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C8B40A0547;\n\tMon, 21 Jun 2021 08:46:42 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9BFD84117C;\n\tMon, 21 Jun 2021 08:46:36 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id EF37741159\n for <dev@dpdk.org>; Mon, 21 Jun 2021 08:46:34 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Jun 2021 23:46:34 -0700", "from unknown (HELO intel-npg-odc-srv03.cd.intel.com)\n ([10.240.178.145])\n by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Jun 2021 23:46:31 -0700" ], "IronPort-SDR": [ "\n so5AiZRTMk0y62H/WHRBLMH70HoTx54SvOCYeG5Q5df3btBu2KlJLtyIehIoTF6RXT5zi2NmkY\n Kc/7ojhDAxBQ==", "\n WQSinQwLBHgrE/KkrjaOSQBdY4tiaLjHkGrBQGHiZOY2CmnCoyI2c7LIDRvOJvTfBDGUco+e7Z\n powQrr/5X+5Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10021\"; a=\"267929322\"", "E=Sophos;i=\"5.83,289,1616482800\"; d=\"scan'208\";a=\"267929322\"", "E=Sophos;i=\"5.83,289,1616482800\"; d=\"scan'208\";a=\"486380267\"" ], "From": "Robin Zhang <robinx.zhang@intel.com>", "To": "dev@dpdk.org", "Cc": "beilei.xing@intel.com, junfeng.guo@intel.com, stevex.yang@intel.com,\n Robin Zhang <robinx.zhang@intel.com>,\n Pawel Malinowski <pawel.malinowski@intel.com>", "Date": "Mon, 21 Jun 2021 06:36:58 +0000", "Message-Id": "<20210621063708.4014937-5-robinx.zhang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210621063708.4014937-1-robinx.zhang@intel.com>", "References": "<20210618063851.3694702-1-robinx.zhang@intel.com>\n <20210621063708.4014937-1-robinx.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 04/14] net/i40e/base: set TSA table values\n when parsing CEE configuration", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "Driver did not Set TSA table values when parsing CEE configuration\nobtained from FW.\n\nSigned-off-by: Pawel Malinowski <pawel.malinowski@intel.com>\nSigned-off-by: Robin Zhang <robinx.zhang@intel.com>\n---\n drivers/net/i40e/base/i40e_dcb.c | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/i40e/base/i40e_dcb.c b/drivers/net/i40e/base/i40e_dcb.c\nindex 388af3d64d..27b52bc365 100644\n--- a/drivers/net/i40e/base/i40e_dcb.c\n+++ b/drivers/net/i40e/base/i40e_dcb.c\n@@ -315,9 +315,15 @@ static void i40e_parse_cee_pgcfg_tlv(struct i40e_cee_feat_tlv *tlv,\n \t * |pg0|pg1|pg2|pg3|pg4|pg5|pg6|pg7|\n \t * ---------------------------------\n \t */\n-\tfor (i = 0; i < I40E_MAX_TRAFFIC_CLASS; i++)\n+\tfor (i = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) {\n \t\tetscfg->tcbwtable[i] = buf[offset++];\n \n+\t\tif (etscfg->prioritytable[i] == I40E_CEE_PGID_STRICT)\n+\t\t\tdcbcfg->etscfg.tsatable[i] = I40E_IEEE_TSA_STRICT;\n+\t\telse\n+\t\t\tdcbcfg->etscfg.tsatable[i] = I40E_IEEE_TSA_ETS;\n+\t}\n+\n \t/* Number of TCs supported (1 octet) */\n \tetscfg->maxtcs = buf[offset];\n }\n", "prefixes": [ "v2", "04/14" ] }{ "id": 94578, "url": "