Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/126011/?format=api
http://patchwork.dpdk.org/api/patches/126011/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230413094502.1714755-10-wenjing.qiao@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": "<20230413094502.1714755-10-wenjing.qiao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230413094502.1714755-10-wenjing.qiao@intel.com", "date": "2023-04-13T09:44:53", "name": "[09/18] common/idpf: fix idpf_send_msg_to_cp prototypes", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "bc39b53b9b0c4727b10da2b316e0e1cbb2f6af1c", "submitter": { "id": 2680, "url": "http://patchwork.dpdk.org/api/people/2680/?format=api", "name": "Wenjing Qiao", "email": "wenjing.qiao@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/20230413094502.1714755-10-wenjing.qiao@intel.com/mbox/", "series": [ { "id": 27692, "url": "http://patchwork.dpdk.org/api/series/27692/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=27692", "date": "2023-04-13T09:44:44", "name": "update idpf shared code", "version": 1, "mbox": "http://patchwork.dpdk.org/series/27692/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/126011/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/126011/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 269BA42931;\n\tThu, 13 Apr 2023 11:51:22 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E02ED42D4E;\n\tThu, 13 Apr 2023 11:50:29 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 10AC942D17;\n Thu, 13 Apr 2023 11:50:27 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2023 02:50:27 -0700", "from dpdk-wenjing-01.sh.intel.com ([10.67.119.244])\n by FMSMGA003.fm.intel.com with ESMTP; 13 Apr 2023 02:50:25 -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=1681379428; x=1712915428;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=lXCh0dlDMSMTYHgs9Vu+Se1yJrx1nTovMiZyf5x3pY8=;\n b=g9dpaixEeXcj4GZmQVWEJKwN++87NS0B+brxCowe/hlj8fqDxNxbZM9l\n zHdThplc73Xg28HOqpHPOKfDqxWc3iTLw+8ORhOXjKTYuySA4q+kWcBTs\n IlwiXepnFl7jzC6Z1XZpP/WAOf3/vpXUROPXtYEcBRLersJ2UdxjgJzFC\n DMArBJFJI6KMpOcCnSkJ7n63G9+rF23HHvG5hVQpXwFlG3AGgri2WMCVx\n GiiaDSS4QVZg5Kx/fBimeZkchzXvhVfxm84PrySnGAwEh6J/f0+hUAN/8\n naOJDEeF0mPuXshqChBw79P4cv+sVGwnPmEMBrndbYygVATrzJHQQw8OM Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10678\"; a=\"409290460\"", "E=Sophos;i=\"5.98,341,1673942400\"; d=\"scan'208\";a=\"409290460\"", "E=McAfee;i=\"6600,9927,10678\"; a=\"778699304\"", "E=Sophos;i=\"5.98,341,1673942400\"; d=\"scan'208\";a=\"778699304\"" ], "X-ExtLoop1": "1", "From": "Wenjing Qiao <wenjing.qiao@intel.com>", "To": "jingjing.wu@intel.com,\n\tbeilei.xing@intel.com,\n\tqi.z.zhang@intel.com", "Cc": "dev@dpdk.org, Wenjing Qiao <wenjing.qiao@intel.com>, stable@dpdk.org,\n Christopher Pau <christopher.pau@intel.com>", "Subject": "[PATCH 09/18] common/idpf: fix idpf_send_msg_to_cp prototypes", "Date": "Thu, 13 Apr 2023 05:44:53 -0400", "Message-Id": "<20230413094502.1714755-10-wenjing.qiao@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230413094502.1714755-1-wenjing.qiao@intel.com>", "References": "<20230413094502.1714755-1-wenjing.qiao@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": "Virtchnl2 opcodes are no longer in the enum virtchnl_ops. So change\nthese parameters to allow int rather that compiler enum type checking.\n\nFixes: fb4ac04e9bfa (\"common/idpf: introduce common library\")\nCc: stable@dpdk.org\n\nSigned-off-by: Christopher Pau <christopher.pau@intel.com>\nSigned-off-by: Wenjing Qiao <wenjing.qiao@intel.com>\n---\n drivers/common/idpf/base/idpf_common.c | 2 +-\n drivers/common/idpf/base/idpf_prototype.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/common/idpf/base/idpf_common.c b/drivers/common/idpf/base/idpf_common.c\nindex 3a9fdb1878..69e3b32f85 100644\n--- a/drivers/common/idpf/base/idpf_common.c\n+++ b/drivers/common/idpf/base/idpf_common.c\n@@ -146,7 +146,7 @@ int idpf_init_hw(struct idpf_hw *hw, struct idpf_ctlq_size ctlq_size)\n * is sent asynchronously, i.e. idpf_asq_send_command() does not wait for\n * completion before returning.\n */\n-int idpf_send_msg_to_cp(struct idpf_hw *hw, enum virtchnl_ops v_opcode,\n+int idpf_send_msg_to_cp(struct idpf_hw *hw, int v_opcode,\n \t\t\tint v_retval, u8 *msg, u16 msglen)\n {\n \tstruct idpf_ctlq_msg ctlq_msg = { 0 };\ndiff --git a/drivers/common/idpf/base/idpf_prototype.h b/drivers/common/idpf/base/idpf_prototype.h\nindex 529b62212d..3ce25e644d 100644\n--- a/drivers/common/idpf/base/idpf_prototype.h\n+++ b/drivers/common/idpf/base/idpf_prototype.h\n@@ -40,6 +40,6 @@ int idpf_set_rss_key(struct idpf_hw *hw, u16 seid,\n int idpf_set_mac_type(struct idpf_hw *hw);\n \n int idpf_reset(struct idpf_hw *hw);\n-int idpf_send_msg_to_cp(struct idpf_hw *hw, enum virtchnl_ops v_opcode,\n+int idpf_send_msg_to_cp(struct idpf_hw *hw, int v_opcode,\n \t\t\tint v_retval, u8 *msg, u16 msglen);\n #endif /* _IDPF_PROTOTYPE_H_ */\n", "prefixes": [ "09/18" ] }{ "id": 126011, "url": "