Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/126542/?format=api
http://patches.dpdk.org/api/patches/126542/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230426102259.205992-10-wenjing.qiao@intel.com/", "project": { "id": 1, "url": "http://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": "<20230426102259.205992-10-wenjing.qiao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230426102259.205992-10-wenjing.qiao@intel.com", "date": "2023-04-26T10:22:53", "name": "[v3,09/15] common/idpf/base: fix idpf_send_msg_to_cp prototypes", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "bc39b53b9b0c4727b10da2b316e0e1cbb2f6af1c", "submitter": { "id": 2680, "url": "http://patches.dpdk.org/api/people/2680/?format=api", "name": "Wenjing Qiao", "email": "wenjing.qiao@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230426102259.205992-10-wenjing.qiao@intel.com/mbox/", "series": [ { "id": 27874, "url": "http://patches.dpdk.org/api/series/27874/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27874", "date": "2023-04-26T10:22:44", "name": "update idpf base code", "version": 3, "mbox": "http://patches.dpdk.org/series/27874/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/126542/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/126542/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 F207042A02;\n\tWed, 26 Apr 2023 12:29:00 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C0B2542D63;\n\tWed, 26 Apr 2023 12:28:14 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 4118442D48;\n Wed, 26 Apr 2023 12:28:11 +0200 (CEST)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Apr 2023 03:28:10 -0700", "from dpdk-wenjing-01.sh.intel.com ([10.67.118.239])\n by fmsmga005.fm.intel.com with ESMTP; 26 Apr 2023 03:28:08 -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=1682504891; x=1714040891;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=gq0E3LQAyGXnJtOa4/lFTTRiQOjr+yHdJInVYOZb1/Q=;\n b=PCltyx3Ep6P61u/2gb037tiMYH1OHrYVxkG9DSbYpBeIc/yx6SdXIqx8\n pB0kkoct4xtBkPAB+g0S1yRILayUVtcogdR3t8WzM4D2YSnRlen45GtiK\n NmscdMBm00lRyiuu4R2mzBfwKtI0htZTjiIw/uV5eNshI675l46DScgpB\n nknK03JZHFiY1gKI0zuVo/yRwJO8NfjUmZIIRIqVGswOiIgXLy2GB4kTi\n wbo2lYZo4/HtIqQJet15egOOYHw+H2oB0YwPbUQlLuJY6bypklUkE+cZp\n HXDu5qYL63ykMZNuNLBgRGo90DlFwkkyYnST767XlTk3nNVQykv9GsDLh g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10691\"; a=\"327391547\"", "E=Sophos;i=\"5.99,227,1677571200\"; d=\"scan'208\";a=\"327391547\"", "E=McAfee;i=\"6600,9927,10691\"; a=\"1023552729\"", "E=Sophos;i=\"5.99,227,1677571200\"; d=\"scan'208\";a=\"1023552729\"" ], "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, mingxia.liu@intel.com,\n Wenjing Qiao <wenjing.qiao@intel.com>,\n stable@dpdk.org, Christopher Pau <christopher.pau@intel.com>", "Subject": "[PATCH v3 09/15] common/idpf/base: fix idpf_send_msg_to_cp prototypes", "Date": "Wed, 26 Apr 2023 06:22:53 -0400", "Message-Id": "<20230426102259.205992-10-wenjing.qiao@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230426102259.205992-1-wenjing.qiao@intel.com>", "References": "<20230421084043.135503-2-wenjing.qiao@intel.com>\n <20230426102259.205992-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 41e0d05623..2394f85580 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 3090f4cc2a..c9812a7f94 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": [ "v3", "09/15" ] }{ "id": 126542, "url": "