Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131441/?format=api
http://patchwork.dpdk.org/api/patches/131441/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230915021730.2681882-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": "<20230915021730.2681882-6-simei.su@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230915021730.2681882-6-simei.su@intel.com", "date": "2023-09-15T02:17:18", "name": "[v3,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/20230915021730.2681882-6-simei.su@intel.com/mbox/", "series": [ { "id": 29513, "url": "http://patchwork.dpdk.org/api/series/29513/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29513", "date": "2023-09-15T02:17:13", "name": "update idpf base code", "version": 3, "mbox": "http://patchwork.dpdk.org/series/29513/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/131441/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/131441/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 6085F4259D;\n\tFri, 15 Sep 2023 04:17:27 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5A4D4406B6;\n\tFri, 15 Sep 2023 04:16:57 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id B4FF440647\n for <dev@dpdk.org>; Fri, 15 Sep 2023 04:16:54 +0200 (CEST)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Sep 2023 19:16:54 -0700", "from dpdk-simei-icelake.sh.intel.com ([10.67.110.167])\n by fmsmga005.fm.intel.com with ESMTP; 14 Sep 2023 19:16:52 -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=1694744214; x=1726280214;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=CCu7XlctD7fIvWel8YwfXQ7xDx4VIOHBoLKgaTdvT5o=;\n b=PzL7EAY92JE8aMGpiYva1qtESZYPLARfEIBMORkBNUhCFTTsExHzAUvH\n LUnp45twPdw61O1sB7brDaCqRU5Lf0qxrtzgMdmkfmq6DZT2cMzEXx3P3\n SzBpjXHzONx83Kc1aMp2hD4eCHoSF++X/gw+pAAXkLkjXg+zj0r4yDOE8\n 0/Yb1KNREOzNlMiYEsBUmD1R4jRQAWKP/uYMFsfOfaYjbYX2REbr61E9p\n Sto4EArPq92Qa4p8trNWLlAF85HNtDzNpZJzsmcZbGaOCoiLMNVOl3fbw\n XFtNgqm/MRDCqfAc/dEv6vuo5QWvmtvIQnlHcrb8cOtqQQB4qnCh1rLTX g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10833\"; a=\"410077950\"", "E=Sophos;i=\"6.02,147,1688454000\"; d=\"scan'208\";a=\"410077950\"", "E=McAfee;i=\"6600,9927,10833\"; a=\"1075622737\"", "E=Sophos;i=\"6.02,147,1688454000\"; d=\"scan'208\";a=\"1075622737\"" ], "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 v3 05/17] common/idpf/base: add some adi specific fields", "Date": "Fri, 15 Sep 2023 10:17:18 +0800", "Message-Id": "<20230915021730.2681882-6-simei.su@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230915021730.2681882-1-simei.su@intel.com>", "References": "<20230825101344.1828774-1-simei.su@intel.com>\n <20230915021730.2681882-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 d8782cd67e..75d534c53d 100644\n--- a/.mailmap\n+++ b/.mailmap\n@@ -1643,3 +1643,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": [ "v3", "05/17" ] }{ "id": 131441, "url": "