Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/70771/?format=api
http://patches.dpdk.org/api/patches/70771/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200603024016.30636-10-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": "<20200603024016.30636-10-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200603024016.30636-10-qi.z.zhang@intel.com", "date": "2020-06-03T02:39:33", "name": "[09/52] net/ice/base: add AUI media type", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c8a342e3ef341ddc5bbd164ac0431cfb98f464c9", "submitter": { "id": 504, "url": "http://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@intel.com" }, "delegate": { "id": 31221, "url": "http://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200603024016.30636-10-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 10300, "url": "http://patches.dpdk.org/api/series/10300/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10300", "date": "2020-06-03T02:39:24", "name": "net/ice: base code update", "version": 1, "mbox": "http://patches.dpdk.org/series/10300/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/70771/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/70771/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 5253CA04EF;\n\tWed, 3 Jun 2020 04:37:53 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E3A921C19E;\n\tWed, 3 Jun 2020 04:36:40 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id F3AA71C138\n for <dev@dpdk.org>; Wed, 3 Jun 2020 04:36:38 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Jun 2020 19:36:38 -0700", "from dpdk51.sh.intel.com ([10.67.111.82])\n by orsmga001.jf.intel.com with ESMTP; 02 Jun 2020 19:36:36 -0700" ], "IronPort-SDR": [ "\n pzXRLNA2sY72wcZ6Jp7jKjaSdJ9Wt57JwASWPpfwpSecut5XPkD48AG+9I4rVcyuprIQMkOPEb\n Lu0OHgW+81TQ==", "\n LWaXiprCloWh5u7GmFgtP+gou6Pe/DE7jTgeCU8VL0stCnD6XRHJyaeXCmFicmwEB3fqMh5yVO\n Pd2e5Vl2yW9g==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.73,466,1583222400\"; d=\"scan'208\";a=\"347613912\"", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "qiming.yang@intel.com", "Cc": "dev@dpdk.org, xiaolong.ye@intel.com, Qi Zhang <qi.z.zhang@intel.com>,\n Doug Dziggel <douglas.a.dziggel@intel.com>,\n \"Paul M . Stillwell Jr\" <paul.m.stillwell.jr@intel.com>", "Date": "Wed, 3 Jun 2020 10:39:33 +0800", "Message-Id": "<20200603024016.30636-10-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.13.6", "In-Reply-To": "<20200603024016.30636-1-qi.z.zhang@intel.com>", "References": "<20200603024016.30636-1-qi.z.zhang@intel.com>", "Subject": "[dpdk-dev] [PATCH 09/52] net/ice/base: add AUI media type", "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": "Add and report AUI PHY types as an AUI media type\n\nSigned-off-by: Doug Dziggel <douglas.a.dziggel@intel.com>\nSigned-off-by: Paul M. Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_common.c | 5 +++--\n drivers/net/ice/base/ice_type.h | 1 +\n 2 files changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex aab560504..e266ba56c 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -291,7 +291,7 @@ static enum ice_media_type ice_get_media_type(struct ice_port_info *pi)\n \t\tcase ICE_PHY_TYPE_LOW_100G_AUI4:\n \t\tcase ICE_PHY_TYPE_LOW_100G_CAUI4:\n \t\t\tif (ice_is_media_cage_present(pi))\n-\t\t\t\treturn ICE_MEDIA_DA;\n+\t\t\t\treturn ICE_MEDIA_AUI;\n \t\t\t/* fall-through */\n \t\tcase ICE_PHY_TYPE_LOW_1000BASE_KX:\n \t\tcase ICE_PHY_TYPE_LOW_2500BASE_KX:\n@@ -311,8 +311,9 @@ static enum ice_media_type ice_get_media_type(struct ice_port_info *pi)\n \t} else {\n \t\tswitch (hw_link_info->phy_type_high) {\n \t\tcase ICE_PHY_TYPE_HIGH_100G_AUI2:\n+\t\tcase ICE_PHY_TYPE_HIGH_100G_CAUI2:\n \t\t\tif (ice_is_media_cage_present(pi))\n-\t\t\t\treturn ICE_MEDIA_DA;\n+\t\t\t\treturn ICE_MEDIA_AUI;\n \t\t\t/* fall-through */\n \t\tcase ICE_PHY_TYPE_HIGH_100GBASE_KR2_PAM4:\n \t\t\treturn ICE_MEDIA_BACKPLANE;\ndiff --git a/drivers/net/ice/base/ice_type.h b/drivers/net/ice/base/ice_type.h\nindex cf622178e..3280d48d0 100644\n--- a/drivers/net/ice/base/ice_type.h\n+++ b/drivers/net/ice/base/ice_type.h\n@@ -218,6 +218,7 @@ enum ice_media_type {\n \tICE_MEDIA_BASET,\n \tICE_MEDIA_BACKPLANE,\n \tICE_MEDIA_DA,\n+\tICE_MEDIA_AUI,\n };\n \n /* Software VSI types. */\n", "prefixes": [ "09/52" ] }{ "id": 70771, "url": "