get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/126596/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 126596,
    "url": "http://patches.dpdk.org/api/patches/126596/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230427062001.478032-30-qiming.yang@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": "<20230427062001.478032-30-qiming.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230427062001.478032-30-qiming.yang@intel.com",
    "date": "2023-04-27T06:20:00",
    "name": "[29/30] net/ice/base: introduce a new ID for E810 NIC",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e4cf417bb05d4f3bd3ede32c5505f789f08727a0",
    "submitter": {
        "id": 522,
        "url": "http://patches.dpdk.org/api/people/522/?format=api",
        "name": "Qiming Yang",
        "email": "qiming.yang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230427062001.478032-30-qiming.yang@intel.com/mbox/",
    "series": [
        {
            "id": 27885,
            "url": "http://patches.dpdk.org/api/series/27885/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27885",
            "date": "2023-04-27T06:19:31",
            "name": "net/ice/base: share code update",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/27885/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/126596/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/126596/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 DBE8642A08;\n\tThu, 27 Apr 2023 08:40:59 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6659B43011;\n\tThu, 27 Apr 2023 08:38:38 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 962AE4300A\n for <dev@dpdk.org>; Thu, 27 Apr 2023 08:38:36 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Apr 2023 23:38:36 -0700",
            "from dpdk-qiming3.sh.intel.com ([10.67.111.4])\n by fmsmga002.fm.intel.com with ESMTP; 26 Apr 2023 23:38:34 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1682577516; x=1714113516;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=xkTfGByYoJghBXSKLp9oj/AvDW8OExowwCPismk4YT8=;\n b=mgt2eKEwiWJLm4on/7tdCHxfSn3HLO1qyQFST+xM1JmdCVjC/pEPmL5k\n 5+7vMoNCE/F1B3+xSUFbYEbYl9qDxZ3lLCuQgeRgevTOU4kSnRQ1ENyfe\n zfEBOxIdpnKvRidN1yAGyG4re4Kg/OSPTmIrDDNg/8UmywTh7XalyFFX/\n QNA6ujrnv9avecavrNQo4oOSq62M+IouiYleEewOoaDTc84gyHWL8zfdX\n h/LrbO1IdRBd1AZz7HtUUnqHe502pLQn5uGsC0/OjrzO6sOAtgEOK562n\n vhlolg6FHxZY9KFp3ym6ixdU5O5N0o4HWTfsm5Jaoe+Cq9i6JmciL/TJ1 A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10692\"; a=\"375324415\"",
            "E=Sophos;i=\"5.99,230,1677571200\"; d=\"scan'208\";a=\"375324415\"",
            "E=McAfee;i=\"6600,9927,10692\"; a=\"805845890\"",
            "E=Sophos;i=\"5.99,230,1677571200\"; d=\"scan'208\";a=\"805845890\""
        ],
        "X-ExtLoop1": "1",
        "From": "Qiming Yang <qiming.yang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qi.z.zhang@intel.com, Qiming Yang <qiming.yang@intel.com>,\n Milena Olech <milena.olech@intel.com>",
        "Subject": "[PATCH 29/30] net/ice/base: introduce a new ID for E810 NIC",
        "Date": "Thu, 27 Apr 2023 06:20:00 +0000",
        "Message-Id": "<20230427062001.478032-30-qiming.yang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230427062001.478032-1-qiming.yang@intel.com>",
        "References": "<20230427062001.478032-1-qiming.yang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "Signed-off-by: Milena Olech <milena.olech@intel.com>\nSigned-off-by: Qiming Yang <qiming.yang@intel.com>\n---\n drivers/net/ice/base/ice_adminq_cmd.h | 4 ++--\n drivers/net/ice/base/ice_common.c     | 1 +\n drivers/net/ice/base/ice_devids.h     | 5 +++--\n 3 files changed, 6 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h\nindex 29b123d900..06452481bb 100644\n--- a/drivers/net/ice/base/ice_adminq_cmd.h\n+++ b/drivers/net/ice/base/ice_adminq_cmd.h\n@@ -2051,8 +2051,8 @@ struct ice_aqc_lldp_get_mib {\n #define ICE_AQ_LLDP_DCBX_S\t\t\t6\n #define ICE_AQ_LLDP_DCBX_M\t\t\t(0x3 << ICE_AQ_LLDP_DCBX_S)\n #define ICE_AQ_LLDP_DCBX_NA\t\t\t0\n-#define ICE_AQ_LLDP_DCBX_IEEE\t\t\t1\n-#define ICE_AQ_LLDP_DCBX_CEE\t\t\t2\n+#define ICE_AQ_LLDP_DCBX_CEE\t\t\t1\n+#define ICE_AQ_LLDP_DCBX_IEEE\t\t\t2\n /* The following bytes are reserved for the Get LLDP MIB command (0x0A00)\n  * and in the LLDP MIB Change Event (0x0A01). They are valid for the\n  * Get LLDP MIB (0x0A00) response only.\ndiff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c\nindex f899e4644c..7d2a254c47 100644\n--- a/drivers/net/ice/base/ice_common.c\n+++ b/drivers/net/ice/base/ice_common.c\n@@ -226,6 +226,7 @@ bool ice_is_e810t(struct ice_hw *hw)\n \t\tcase ICE_SUBDEV_ID_E810T3:\n \t\tcase ICE_SUBDEV_ID_E810T4:\n \t\tcase ICE_SUBDEV_ID_E810T5:\n+\t\tcase ICE_SUBDEV_ID_E810T7:\n \t\t\treturn true;\n \t\t}\n \t\tbreak;\ndiff --git a/drivers/net/ice/base/ice_devids.h b/drivers/net/ice/base/ice_devids.h\nindex 0e0a20542b..81d993bfea 100644\n--- a/drivers/net/ice/base/ice_devids.h\n+++ b/drivers/net/ice/base/ice_devids.h\n@@ -6,6 +6,8 @@\n #define _ICE_DEVIDS_H_\n \n /* Device IDs */\n+#define ICE_DEV_ID_E822_SI_DFLT\t\t0x1888\n+/* Intel(R) Ethernet Connection E823-L for backplane */\n #define ICE_DEV_ID_E823L_BACKPLANE\t0x124C\n /* Intel(R) Ethernet Connection E823-L for SFP */\n #define ICE_DEV_ID_E823L_SFP\t\t0x124D\n@@ -35,6 +37,7 @@\n #define ICE_SUBDEV_ID_E810T4\t\t0x02EA\n #define ICE_SUBDEV_ID_E810T5\t\t0x0010\n #define ICE_SUBDEV_ID_E810T6\t\t0x0012\n+#define ICE_SUBDEV_ID_E810T7\t\t0x0011\n /* Intel(R) Ethernet Controller E810-XXV for backplane */\n #define ICE_DEV_ID_E810_XXV_BACKPLANE\t0x1599\n /* Intel(R) Ethernet Controller E810-XXV for QSFP */\n@@ -42,8 +45,6 @@\n /* Intel(R) Ethernet Controller E810-XXV for SFP */\n #define ICE_DEV_ID_E810_XXV_SFP\t\t0x159B\n /* Intel(R) Ethernet Connection E823-C for backplane */\n-#define ICE_DEV_ID_E822_SI_DFLT\t\t0x1888\n-/* Intel(R) Ethernet Connection E823-L for backplane */\n #define ICE_DEV_ID_E823C_BACKPLANE\t0x188A\n /* Intel(R) Ethernet Connection E823-C for QSFP */\n #define ICE_DEV_ID_E823C_QSFP\t\t0x188B\n",
    "prefixes": [
        "29/30"
    ]
}