Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/123649/?format=api
https://patches.dpdk.org/api/patches/123649/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230210042121.3013558-1-psatheesh@marvell.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": "<20230210042121.3013558-1-psatheesh@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230210042121.3013558-1-psatheesh@marvell.com", "date": "2023-02-10T04:21:19", "name": "[1/3] common/cnxk: fix channel mask for SDP interfaces", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "8d581179977db1df5cfeea1409e5e1d56bbfdd94", "submitter": { "id": 1663, "url": "https://patches.dpdk.org/api/people/1663/?format=api", "name": "Satheesh Paul Antonysamy", "email": "psatheesh@marvell.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230210042121.3013558-1-psatheesh@marvell.com/mbox/", "series": [ { "id": 26938, "url": "https://patches.dpdk.org/api/series/26938/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26938", "date": "2023-02-10T04:21:19", "name": "[1/3] common/cnxk: fix channel mask for SDP interfaces", "version": 1, "mbox": "https://patches.dpdk.org/series/26938/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/123649/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/123649/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 D62D041C5A;\n\tFri, 10 Feb 2023 05:21:31 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 692FD40EE6;\n\tFri, 10 Feb 2023 05:21:31 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 83C4640EE3;\n Fri, 10 Feb 2023 05:21:29 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 31A2ifr4010916; Thu, 9 Feb 2023 20:21:28 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nn71cjegk-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 09 Feb 2023 20:21:28 -0800", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Thu, 9 Feb 2023 20:21:26 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend\n Transport; Thu, 9 Feb 2023 20:21:26 -0800", "from satheeshpaullabpc.. (unknown [10.28.34.33])\n by maili.marvell.com (Postfix) with ESMTP id 2D93F5B693D;\n Thu, 9 Feb 2023 20:21:23 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=hhBlIuioxgTrKEPPCGw3ogS8oVR3yLbdz4A8191Ognc=;\n b=aFHFypPx7DO17MXa0bvVzzPzLqGwVw8PoJAesHvzV8eJAofU7aVU9pX7Kz6nsyFdZ3yI\n 66/iZXOVgDNaXr6BCaCg41LpcoAJXwnKJamsBNAXNI1HtulByS9Vo5D7ulBKOj57Pnlu\n E+5G8GMcZl10d+rLI/l42Yv+n1jUJCz1uS9UL8WiBqWQP/DZb1amiLU88l/BFu4ix3Ue\n rDUBQBCGH/FlN5w4QwhqxjfKWdEInj7RJiWtXGi9YQ7DTgJ3CxWEXKsIUtVz+toy5o5N\n I9H9w3aAtxS9nE4jDAC2+F8qsdG5QF30sMOmAGfdBCaHbVrT90/46exGiOUBA4Jc1sxP DQ==", "From": "<psatheesh@marvell.com>", "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>", "CC": "<dev@dpdk.org>, Satheesh Paul <psatheesh@marvell.com>, <stable@dpdk.org>", "Subject": "[dpdk-dev] [PATCH 1/3] common/cnxk: fix channel mask for SDP\n interfaces", "Date": "Fri, 10 Feb 2023 09:51:19 +0530", "Message-ID": "<20230210042121.3013558-1-psatheesh@marvell.com>", "X-Mailer": "git-send-email 2.35.3", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "YJpUQff3OqmuEZfk90-qmCPiCZgnYdgy", "X-Proofpoint-GUID": "YJpUQff3OqmuEZfk90-qmCPiCZgnYdgy", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22\n definitions=2023-02-10_01,2023-02-09_03,2023-02-09_01", "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": "From: Satheesh Paul <psatheesh@marvell.com>\n\nFix channel mask of SDP interfaces on CN10K.\n\nFixes: f137566333 (\"common/cnxk: support setting channel mask for SDP interfaces\")\nCc: stable@dpdk.org\n\nSigned-off-by: Satheesh Paul <psatheesh@marvell.com>\nReviewed-by: Kiran Kumar K <kirankumark@marvell.com>\n---\n drivers/common/cnxk/roc_npc.c | 9 +++++++--\n drivers/common/cnxk/roc_npc_priv.h | 3 +++\n 2 files changed, 10 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_npc.c b/drivers/common/cnxk/roc_npc.c\nindex c872548230..9edccb5258 100644\n--- a/drivers/common/cnxk/roc_npc.c\n+++ b/drivers/common/cnxk/roc_npc.c\n@@ -1380,8 +1380,13 @@ roc_npc_flow_create(struct roc_npc *roc_npc, const struct roc_npc_attr *attr,\n \t\t\t/* By default set the channel and mask to cover\n \t\t\t * the whole SDP channel range.\n \t\t\t */\n-\t\t\tnpc->sdp_channel = (uint16_t)NIX_CHAN_SDP_CH_START;\n-\t\t\tnpc->sdp_channel_mask = (uint16_t)NIX_CHAN_SDP_CH_START;\n+\t\t\tif (roc_model_is_cn10k()) {\n+\t\t\t\tnpc->sdp_channel = (uint16_t)CN10K_SDP_CH_START;\n+\t\t\t\tnpc->sdp_channel_mask = (uint16_t)CN10K_SDP_CH_MASK;\n+\t\t\t} else {\n+\t\t\t\tnpc->sdp_channel = (uint16_t)NIX_CHAN_SDP_CH_START;\n+\t\t\t\tnpc->sdp_channel_mask = (uint16_t)NIX_CHAN_SDP_CH_START;\n+\t\t\t}\n \t\t}\n \t}\n \ndiff --git a/drivers/common/cnxk/roc_npc_priv.h b/drivers/common/cnxk/roc_npc_priv.h\nindex 2a7d3137fb..aa27228354 100644\n--- a/drivers/common/cnxk/roc_npc_priv.h\n+++ b/drivers/common/cnxk/roc_npc_priv.h\n@@ -77,6 +77,9 @@\n #define NPC_LFLAG_LC_OFFSET (NPC_LTYPE_OFFSET_START + 6)\n #define NPC_LTYPE_LC_OFFSET (NPC_LTYPE_OFFSET_START + 8)\n \n+#define CN10K_SDP_CH_START 0x80\n+#define CN10K_SDP_CH_MASK 0xF80\n+\n struct npc_action_vtag_info {\n \tuint16_t vlan_id;\n \tuint16_t vlan_ethtype;\n", "prefixes": [ "1/3" ] }{ "id": 123649, "url": "