Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/102722/?format=api
http://patchwork.dpdk.org/api/patches/102722/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20211025035526.3169168-2-kirankumark@marvell.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20211025035526.3169168-2-kirankumark@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211025035526.3169168-2-kirankumark@marvell.com", "date": "2021-10-25T03:55:26", "name": "[2/2] common/cnxk: sync mbox with AF", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "477d61e2fcc54f7b16272954422b3a036b2b09e3", "submitter": { "id": 1260, "url": "http://patchwork.dpdk.org/api/people/1260/?format=api", "name": "Kiran Kumar Kokkilagadda", "email": "kirankumark@marvell.com" }, "delegate": { "id": 310, "url": "http://patchwork.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20211025035526.3169168-2-kirankumark@marvell.com/mbox/", "series": [ { "id": 19937, "url": "http://patchwork.dpdk.org/api/series/19937/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=19937", "date": "2021-10-25T03:55:25", "name": "[1/2] common/octeontx2: sync mbox with AF", "version": 1, "mbox": "http://patchwork.dpdk.org/series/19937/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/102722/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/102722/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 E60EEA0C45;\n\tMon, 25 Oct 2021 05:55:51 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B871D410FF;\n\tMon, 25 Oct 2021 05:55:47 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id EA6704111C\n for <dev@dpdk.org>; Mon, 25 Oct 2021 05:55:45 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19OKj9WI024476\n for <dev@dpdk.org>; Sun, 24 Oct 2021 20:55:45 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 3bwdj390fh-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Sun, 24 Oct 2021 20:55:45 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Sun, 24 Oct 2021 20:55:43 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Sun, 24 Oct 2021 20:55:43 -0700", "from cavium-kiran.marvell.com (unknown [10.28.34.15])\n by maili.marvell.com (Postfix) with ESMTP id 739E13F70BB;\n Sun, 24 Oct 2021 20:55:41 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=MhH8Tr5wbaBWBP3d3dNnNTvnWw6RPQXi3fw5Ec+DRLU=;\n b=IQW2ykP/pf6wLENT9TQ8eJ7G6RLvncYjPukzEP2pRKETy+qrtl20KGYFmQF7wpfn9MoR\n 5DOjj1z/vyxcJDUAEVYWC1nI+UtwjywsKfCxgk6t2cOoUpgW3TpdlXeUE27zTZvbWrFq\n D/oUeKZcvbsI7CocE3M+RBYoF7xlqdVIlc+8FQsfsF3/RY3qFOOWKJ8/4MfFDi3/vrLk\n V1aF4kPA/ctwr6AzUqPbBiqk53hEQmUOP7k84RUgS/yKkrG4BI3I2sGaikSMFg3bJ5Fw\n opV9fU7ey4foZm5ynfZ+YNX4lgCqK6wj/ddxAN8AZX7pyeuciyW+ZLyYh0O21BEVIFiD FQ==", "From": "<kirankumark@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>", "Date": "Mon, 25 Oct 2021 09:25:26 +0530", "Message-ID": "<20211025035526.3169168-2-kirankumark@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20211025035526.3169168-1-kirankumark@marvell.com>", "References": "<20211025035526.3169168-1-kirankumark@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "5XW4QG_z31YPGwn68sbHKR3X4I5ry7H6", "X-Proofpoint-ORIG-GUID": "5XW4QG_z31YPGwn68sbHKR3X4I5ry7H6", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475\n definitions=2021-10-25_01,2021-10-25_01,2020-04-07_01", "Subject": "[dpdk-dev] [PATCH 2/2] common/cnxk: sync mbox with AF", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Kiran Kumar K <kirankumark@marvell.com>\n\nSync mbox with AF, And bump up the version.\n\nSigned-off-by: Kiran Kumar K <kirankumark@marvell.com>\n---\n drivers/common/cnxk/roc_mbox.h | 12 +++++++++++-\n 1 file changed, 11 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/common/cnxk/roc_mbox.h b/drivers/common/cnxk/roc_mbox.h\nindex bc40848450..22f6ebcd92 100644\n--- a/drivers/common/cnxk/roc_mbox.h\n+++ b/drivers/common/cnxk/roc_mbox.h\n@@ -28,7 +28,7 @@ struct mbox_msghdr {\n #define MBOX_RSP_SIG (0xbeef)\n \t/* Signature, for validating corrupted msgs */\n \tuint16_t __io sig;\n-#define MBOX_VERSION (0x000a)\n+#define MBOX_VERSION (0x000b)\n \t/* Version of msg's structure for this ID */\n \tuint16_t __io ver;\n \t/* Offset of next msg within mailbox region */\n@@ -283,6 +283,7 @@ struct ready_msg_rsp {\n };\n \n enum npc_pkind_type {\n+\tNPC_RX_CUSTOM_PRE_L2_PKIND = 55ULL,\n \tNPC_RX_VLAN_EXDSA_PKIND = 56ULL,\n \tNPC_RX_CHLEN24B_PKIND,\n \tNPC_RX_CPT_HDR_PKIND,\n@@ -309,6 +310,15 @@ struct npc_set_pkind {\n #define PKIND_RX BIT_ULL(1)\n \tuint8_t __io dir;\n \tuint8_t __io pkind; /* valid only in case custom flag */\n+\tuint8_t __io var_len_off;\n+\t/* Offset of custom header length field.\n+\t * Valid only for pkind NPC_RX_CUSTOM_PRE_L2_PKIND\n+\t */\n+\tuint8_t __io var_len_off_mask; /* Mask for length with in offset */\n+\tuint8_t __io shift_dir;\n+\t/* Shift direction to get length of the\n+\t * header at var_len_off\n+\t */\n };\n \n /* Structure for requesting resource provisioning.\n", "prefixes": [ "2/2" ] }{ "id": 102722, "url": "