Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71343/?format=api
https://patches.dpdk.org/api/patches/71343/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200612032410.20864-20-guinanx.sun@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": "<20200612032410.20864-20-guinanx.sun@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200612032410.20864-20-guinanx.sun@intel.com", "date": "2020-06-12T03:24:08", "name": "[19/21] net/ixgbe/base: remove default advertising for 2.5G and 5G", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "51423fe4c6758241379202fc9402ca0cc4224d49", "submitter": { "id": 1476, "url": "https://patches.dpdk.org/api/people/1476/?format=api", "name": "Guinan Sun", "email": "guinanx.sun@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/20200612032410.20864-20-guinanx.sun@intel.com/mbox/", "series": [ { "id": 10428, "url": "https://patches.dpdk.org/api/series/10428/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10428", "date": "2020-06-12T03:23:49", "name": "update ixgbe base code", "version": 1, "mbox": "https://patches.dpdk.org/series/10428/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/71343/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/71343/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 850ECA00BE;\n\tFri, 12 Jun 2020 05:49:05 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 056321BF87;\n\tFri, 12 Jun 2020 05:46:42 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id B15791BF7B\n for <dev@dpdk.org>; Fri, 12 Jun 2020 05:46:39 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Jun 2020 20:46:39 -0700", "from intel.sh.intel.com ([10.239.255.18])\n by orsmga002.jf.intel.com with ESMTP; 11 Jun 2020 20:46:37 -0700" ], "IronPort-SDR": [ "\n AMK9butWFdDansXEzTTNA0rzNCi+ytLLSzAbHv78DCKT1KGxK2+7Yewuh+1fomG8SQ1on891qn\n 5uHpJ1RJEf9A==", "\n AsexCuHTCECdLwM+RBVmFwln4Hm3ErEmx7K6Iy18LtPEf81+tFacq+KoQtkc0WuWA5VH6QL2yS\n 9mzoqz3BCsBg==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.73,501,1583222400\"; d=\"scan'208\";a=\"289759597\"", "From": "Guinan Sun <guinanx.sun@intel.com>", "To": "dev@dpdk.org", "Cc": "Guinan Sun <guinanx.sun@intel.com>,\n Todd Fujinaka <todd.fujinaka@intel.com>", "Date": "Fri, 12 Jun 2020 03:24:08 +0000", "Message-Id": "<20200612032410.20864-20-guinanx.sun@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200612032410.20864-1-guinanx.sun@intel.com>", "References": "<20200612032410.20864-1-guinanx.sun@intel.com>", "Subject": "[dpdk-dev] [PATCH 19/21] net/ixgbe/base: remove default advertising\n\tfor 2.5G and 5G", "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": "We are seeing interoperability issues with switches when 2.5G and 5G are\nadvertised by default, so default to off.\n\nLINUX ONLY:\n\nWe will need to add a note to our README on how to enable 2.5G and 5G.\nThe netwmask is a combination of:\n\n0x020\t1000baseT Full\n0x800000000000\t2500baseT Full\n0x1000000000000\t5000baseT Full\n0x1000\t10000baseT Full\n\nCombine the two into the advertisement flags:\nethtool -s advertise ethX <mask value>\n\nSigned-off-by: Todd Fujinaka <todd.fujinaka@intel.com>\nSigned-off-by: Guinan Sun <guinanx.sun@intel.com>\n---\n drivers/net/ixgbe/base/ixgbe_phy.c | 4 ----\n 1 file changed, 4 deletions(-)", "diff": "diff --git a/drivers/net/ixgbe/base/ixgbe_phy.c b/drivers/net/ixgbe/base/ixgbe_phy.c\nindex f859b152e..8d4d9bbfe 100644\n--- a/drivers/net/ixgbe/base/ixgbe_phy.c\n+++ b/drivers/net/ixgbe/base/ixgbe_phy.c\n@@ -915,10 +915,6 @@ static s32 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw)\n \t\thw->phy.speeds_supported |= IXGBE_LINK_SPEED_100_FULL;\n \n \tswitch (hw->mac.type) {\n-\tcase ixgbe_mac_X550:\n-\t\thw->phy.speeds_supported |= IXGBE_LINK_SPEED_2_5GB_FULL;\n-\t\thw->phy.speeds_supported |= IXGBE_LINK_SPEED_5GB_FULL;\n-\t\tbreak;\n \tcase ixgbe_mac_X550EM_x:\n \tcase ixgbe_mac_X550EM_a:\n \t\thw->phy.speeds_supported &= ~IXGBE_LINK_SPEED_100_FULL;\n", "prefixes": [ "19/21" ] }{ "id": 71343, "url": "