get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2213737,
    "url": "http://patchwork.ozlabs.org/api/patches/2213737/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260320050541.422592-1-aleksandr.loktionov@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260320050541.422592-1-aleksandr.loktionov@intel.com>",
    "list_archive_url": null,
    "date": "2026-03-20T05:05:41",
    "name": "[iwl-next] ice: init desired_dcbx_cfg in default DCB config",
    "commit_ref": null,
    "pull_url": null,
    "state": "under-review",
    "archived": false,
    "hash": "ea38a7941e0502d8ea3da2f6255dca6b522293fb",
    "submitter": {
        "id": 75597,
        "url": "http://patchwork.ozlabs.org/api/people/75597/?format=api",
        "name": "Loktionov, Aleksandr",
        "email": "aleksandr.loktionov@intel.com"
    },
    "delegate": {
        "id": 109701,
        "url": "http://patchwork.ozlabs.org/api/users/109701/?format=api",
        "username": "anguy11",
        "first_name": "Anthony",
        "last_name": "Nguyen",
        "email": "anthony.l.nguyen@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260320050541.422592-1-aleksandr.loktionov@intel.com/mbox/",
    "series": [
        {
            "id": 496753,
            "url": "http://patchwork.ozlabs.org/api/series/496753/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=496753",
            "date": "2026-03-20T05:05:41",
            "name": "[iwl-next] ice: init desired_dcbx_cfg in default DCB config",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/496753/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2213737/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2213737/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=4yjrXwt4;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.137; helo=smtp4.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fcVrZ3RX9z1xxW\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Mar 2026 16:05:50 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 9372141C5D;\n\tFri, 20 Mar 2026 05:05:48 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 3z3tsHSbkRlO; Fri, 20 Mar 2026 05:05:46 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 7166C41C5B;\n\tFri, 20 Mar 2026 05:05:46 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists1.osuosl.org (Postfix) with ESMTP id 902B31B6\n for <intel-wired-lan@lists.osuosl.org>; Fri, 20 Mar 2026 05:05:44 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 81F2D41398\n for <intel-wired-lan@lists.osuosl.org>; Fri, 20 Mar 2026 05:05:44 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id AmU2HMnM3ZmO for <intel-wired-lan@lists.osuosl.org>;\n Fri, 20 Mar 2026 05:05:43 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [192.198.163.7])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 890B640176\n for <intel-wired-lan@lists.osuosl.org>; Fri, 20 Mar 2026 05:05:43 +0000 (UTC)",
            "from orviesa003.jf.intel.com ([10.64.159.143])\n by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Mar 2026 22:05:43 -0700",
            "from amlin-019-225.igk.intel.com ([10.102.19.225])\n by orviesa003.jf.intel.com with ESMTP; 19 Mar 2026 22:05:42 -0700"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7166C41C5B",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 890B640176"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1773983146;\n\tbh=z40fQY/dv62Wbd2UIAsd2MEpdDaX3epNsu23AcUJffE=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=4yjrXwt4vTUjdUBQ2wSyja31tTXMXjcX/5ROqBC1EBem6E07PzIf6QgMPDWy4k1K1\n\t k1IZ4llJs02vLVq0UEEF3oC4WwvT2LlNYVe+Iw3Mcx2ItyT1F8qkrb/4wklZMhXOmg\n\t WuCbdtUnndPWVgEL9NrRMhTPCj+hku2UIrhK51ayMvcq3bXsh8aQi/0WOUwA7fQ/81\n\t c8MCMfDsIeRn1zhNJuIoxxueG2SDwilLbsa70a2gGnte3RZ+OiCgsCTTowVZYSAdBS\n\t mI7MH3aSNs+mXo0Z+0IHJWsJ8hcFVqiGNGcn+KiKOyLRAK7DPcSIJVLRNBBZp3zOyR\n\t AduevycGRPBXw==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.7;\n helo=mgamail.intel.com; envelope-from=aleksandr.loktionov@intel.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org 890B640176",
        "X-CSE-ConnectionGUID": [
            "XiMBIIFFR7WvMI7pSPIASA==",
            "a7IlZjjPTcOIrFw199eP1Q=="
        ],
        "X-CSE-MsgGUID": [
            "hsQXGVZGRGKEZ69nCCXntQ==",
            "s4TtrwfrRQGHeu9tjLl9qg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11734\"; a=\"100522746\"",
            "E=Sophos;i=\"6.23,130,1770624000\"; d=\"scan'208\";a=\"100522746\"",
            "E=Sophos;i=\"6.23,130,1770624000\"; d=\"scan'208\";a=\"227307328\""
        ],
        "X-ExtLoop1": "1",
        "From": "Aleksandr Loktionov <aleksandr.loktionov@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,\n aleksandr.loktionov@intel.com",
        "Cc": "netdev@vger.kernel.org,\n\tLukasz Czapnik <lukasz.czapnik@intel.com>",
        "Date": "Fri, 20 Mar 2026 06:05:41 +0100",
        "Message-ID": "<20260320050541.422592-1-aleksandr.loktionov@intel.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1773983143; x=1805519143;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=iFNr/Ozkk9eyLzFtKdItjdVVoPA6I8UzXs9nhcOrgwU=;\n b=SQkWVOXik/4VVO4ML3t9B0voOc+GR/Bpo9YJKaMw0qcPW94rilhwTryy\n qZit2vI/a2PNImFwnWQ6Mx1ms+ocJPZz1lMgZ4HW34+3kt4UL3C8tgcG2\n jJUR9UO5YZIqXwN/Aleq6jA8YHwYIopW/o03nVcycV/b47WKDCxZ+PdoI\n oDgYMRKeyk9s2kdgKvksaZDeCPMJLbgRd+U/JbkmFJYxRddgyqQK7NYDU\n UGcbaaLgdz/2Lq2i1qDjdCW4K3BdsR+rOun3xfynCSJRz+hq8LIIfWyUc\n 7Jx6A3giTU39gtPZi2QMTX2Cz7iToaqMO1g91PyNMChrJcQTAjnR4vJYX\n A==;",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com",
            "smtp2.osuosl.org;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.a=rsa-sha256 header.s=Intel header.b=SQkWVOXi"
        ],
        "Subject": "[Intel-wired-lan] [PATCH iwl-next] ice: init desired_dcbx_cfg in\n default DCB config",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: Lukasz Czapnik <lukasz.czapnik@intel.com>\n\nWhen DCBX is disabled in firmware the driver falls back to software LLDP\nmode and applies a default DCB configuration via ice_dcb_sw_dflt_cfg().\nThis function properly initializes local_dcbx_cfg with valid parameters\nincluding etscfg.maxtcs from hardware capabilities. However,\ndesired_dcbx_cfg was never initialized in this path.\n\nAll DCB netlink functions (ice_dcbnl_setpfc, ice_dcbnl_setets, etc.)\nuse desired_dcbx_cfg as the base configuration for user-requested changes.\nWhen desired_dcbx_cfg remains uninitialized with etscfg.maxtcs=0, the\nfirmware rejects the configuration for 4+ port NICs, causing DCB\nconfiguration commands to fail.\n\nIt is not a problem for 1 or 2 port NICs where we support 8 TCs - in\nthat case FW accepts maxtc=0, treating it as 8.\n\nFix it by copying local_dcbx_cfg (which was freshly initialized) into\ndesired_dcbx_cfg after the default config is applied.\n\nFixes: b94b013eb626 (\"ice: Implement DCBNL support\")\nSigned-off-by: Lukasz Czapnik <lukasz.czapnik@intel.com>\nSigned-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\n---\n drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c\nindex bd77f1c..060744c 100644\n--- a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c\n+++ b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c\n@@ -669,6 +669,9 @@ int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked)\n \tif (ret)\n \t\treturn ret;\n \n+\t/* init desired_dcbx_cfg from local_dcbx_cfg */\n+\tpi->qos_cfg.desired_dcbx_cfg = pi->qos_cfg.local_dcbx_cfg;\n+\n \treturn ice_query_port_ets(pi, &buf, sizeof(buf), NULL);\n }\n \n",
    "prefixes": [
        "iwl-next"
    ]
}