Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130752/?format=api
http://patchwork.dpdk.org/api/patches/130752/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230825101344.1828774-6-simei.su@intel.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": "<20230825101344.1828774-6-simei.su@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230825101344.1828774-6-simei.su@intel.com", "date": "2023-08-25T10:13:32", "name": "[v2,05/17] common/idpf/base: add some adi specific fields", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "132433b8292e29f7f909052c203be92fcbb767eb", "submitter": { "id": 1298, "url": "http://patchwork.dpdk.org/api/people/1298/?format=api", "name": "Simei Su", "email": "simei.su@intel.com" }, "delegate": { "id": 1540, "url": "http://patchwork.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230825101344.1828774-6-simei.su@intel.com/mbox/", "series": [ { "id": 29341, "url": "http://patchwork.dpdk.org/api/series/29341/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29341", "date": "2023-08-25T10:13:27", "name": "update idpf base code", "version": 2, "mbox": "http://patchwork.dpdk.org/series/29341/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/130752/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/130752/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 D5826430FF;\n\tFri, 25 Aug 2023 12:14:07 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3667D4325B;\n\tFri, 25 Aug 2023 12:13:54 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id A294840695\n for <dev@dpdk.org>; Fri, 25 Aug 2023 12:13:45 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2023 03:13:43 -0700", "from dpdk-simei-icelake.sh.intel.com ([10.67.110.167])\n by orsmga001.jf.intel.com with ESMTP; 25 Aug 2023 03:13:41 -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=1692958425; x=1724494425;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=xo4uGUsCfju9riJj4YcUSKkYFsLPiceibbJNmvyVY48=;\n b=DWfe5qTwNO9V4EVqLD33x73A6EtgXu1Hn3ev5hsSSqsz+NLIJhTiKwLY\n YIIv2uTbvZaRZA/5kSKaXXo07/DpZmxN4bwrM4vCuqtl6bxoVuJDSx1kU\n INK9oB4WgJo0L5UTUELyobiVMru8aGqOxRjlVbNJVnYGlWva09YDxJi/x\n wbRfxcx9AX/MflHxTVjjKKorgKHdF+Q83PUI/HKDyqbBG0KKHtne78LZp\n xqrr8MCFLG9C2WPex59ZrNoSNrPa0uxSXGEtGBKy2REwhaA71ZSS8Ts98\n g0upcXmrR7rVmwMxBVWquD7APJKb1SLEokAcORfWo/aQUOR/iVixGv5Sr A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10812\"; a=\"441027933\"", "E=Sophos;i=\"6.02,195,1688454000\"; d=\"scan'208\";a=\"441027933\"", "E=McAfee;i=\"6600,9927,10812\"; a=\"772439492\"", "E=Sophos;i=\"6.02,195,1688454000\"; d=\"scan'208\";a=\"772439492\"" ], "X-ExtLoop1": "1", "From": "Simei Su <simei.su@intel.com>", "To": "jingjing.wu@intel.com,\n\tbeilei.xing@intel.com,\n\tqi.z.zhang@intel.com", "Cc": "dev@dpdk.org, mingxia.liu@intel.com, wenjing.qiao@intel.com,\n Simei Su <simei.su@intel.com>,\n Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>", "Subject": "[PATCH v2 05/17] common/idpf/base: add some adi specific fields", "Date": "Fri, 25 Aug 2023 18:13:32 +0800", "Message-Id": "<20230825101344.1828774-6-simei.su@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230825101344.1828774-1-simei.su@intel.com>", "References": "<20230809013308.1449103-1-wenjing.qiao@intel.com>\n <20230825101344.1828774-1-simei.su@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": "a) Add maximum ADI count in capabilities message\nb) Add PF side ADI index to create_adi message\nc) Define another constant to indicate 'Function active' state of ADI\n\nSigned-off-by: Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>\nSigned-off-by: Simei Su <simei.su@intel.com>\n---\n .mailmap | 1 +\n drivers/common/idpf/base/virtchnl2.h | 8 ++++++--\n 2 files changed, 7 insertions(+), 2 deletions(-)", "diff": "diff --git a/.mailmap b/.mailmap\nindex f23f8fecfa..3879b5a33f 100644\n--- a/.mailmap\n+++ b/.mailmap\n@@ -1642,3 +1642,4 @@ Jayaprakash Shanmugam <jayaprakash.shanmugam@intel.com>\n Zhenning Xiao <zhenning.xiao@intel.com>\n Josh Hay <joshua.a.hay@intel.com>\n Madhu Chittim <madhu.chittim@intel.com>\n+Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>\ndiff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h\nindex 320430df6f..7a099f5148 100644\n--- a/drivers/common/idpf/base/virtchnl2.h\n+++ b/drivers/common/idpf/base/virtchnl2.h\n@@ -294,6 +294,7 @@\n /* These messages are only sent to PF from CP */\n #define VIRTCHNL2_EVENT_START_RESET_ADI\t\t2\n #define VIRTCHNL2_EVENT_FINISH_RESET_ADI\t3\n+#define VIRTCHNL2_EVENT_ADI_ACTIVE\t\t4\n \n /* VIRTCHNL2_QUEUE_TYPE\n * Transmit and Receive queue types are valid in legacy as well as split queue\n@@ -547,7 +548,8 @@ struct virtchnl2_get_capabilities {\n \tu8 max_sg_bufs_per_tx_pkt;\n \n \tu8 reserved1;\n-\t__le16 pad1;\n+\t/* upper bound of number of ADIs supported */\n+\t__le16 max_adis;\n \n \t/* version of Control Plane that is running */\n \t__le16 oem_cp_ver_major;\n@@ -1076,10 +1078,12 @@ struct virtchnl2_create_adi {\n \t__le16 mbx_id;\n \t/* PF sends mailbox vector id to CP */\n \t__le16 mbx_vec_id;\n+\t/* PF populates this ADI index */\n+\t__le16 adi_index;\n \t/* CP populates ADI id */\n \t__le16 adi_id;\n \tu8 reserved[64];\n-\tu8 pad[6];\n+\tu8 pad[4];\n \t/* CP populates queue chunks */\n \tstruct virtchnl2_queue_reg_chunks chunks;\n \t/* PF sends vector chunks to CP */\n", "prefixes": [ "v2", "05/17" ] }{ "id": 130752, "url": "