Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96976/?format=api
http://patchwork.dpdk.org/api/patches/96976/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210817071652.9939-3-haiyue.wang@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": "<20210817071652.9939-3-haiyue.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210817071652.9939-3-haiyue.wang@intel.com", "date": "2021-08-17T07:16:51", "name": "[v1,3/4] common/iavf: remove the FDIR query opcode", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a0281e090eabf00a8a054ae12041b7a68e204f7b", "submitter": { "id": 1044, "url": "http://patchwork.dpdk.org/api/people/1044/?format=api", "name": "Wang, Haiyue", "email": "haiyue.wang@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/20210817071652.9939-3-haiyue.wang@intel.com/mbox/", "series": [ { "id": 18307, "url": "http://patchwork.dpdk.org/api/series/18307/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18307", "date": "2021-08-17T07:16:49", "name": "[v1,1/4] common/iavf: add QFI fields for GTPU UL and DL", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18307/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96976/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/96976/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 224C5A0548;\n\tTue, 17 Aug 2021 09:41:02 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1ED5B41192;\n\tTue, 17 Aug 2021 09:40:55 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 2F8AF4014E\n for <dev@dpdk.org>; Tue, 17 Aug 2021 09:40:53 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Aug 2021 00:40:52 -0700", "from npg-dpdk-haiyue-1.sh.intel.com ([10.67.118.197])\n by fmsmga008.fm.intel.com with ESMTP; 17 Aug 2021 00:40:50 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10078\"; a=\"212895844\"", "E=Sophos;i=\"5.84,328,1620716400\"; d=\"scan'208\";a=\"212895844\"", "E=Sophos;i=\"5.84,328,1620716400\"; d=\"scan'208\";a=\"487911447\"" ], "X-ExtLoop1": "1", "From": "Haiyue Wang <haiyue.wang@intel.com>", "To": "dev@dpdk.org", "Cc": "Haiyue Wang <haiyue.wang@intel.com>, Jingjing Wu <jingjing.wu@intel.com>,\n Beilei Xing <beilei.xing@intel.com>", "Date": "Tue, 17 Aug 2021 15:16:51 +0800", "Message-Id": "<20210817071652.9939-3-haiyue.wang@intel.com>", "X-Mailer": "git-send-email 2.33.0", "In-Reply-To": "<20210817071652.9939-1-haiyue.wang@intel.com>", "References": "<20210817071652.9939-1-haiyue.wang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v1 3/4] common/iavf: remove the FDIR query opcode", "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": "The VIRTCHNL_OP_QUERY_FDIR_FILTER opcode is not used, so remove it.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\n drivers/common/iavf/virtchnl.h | 38 ----------------------------------\n 1 file changed, 38 deletions(-)", "diff": "diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h\nindex c56c668cff..83f51d889f 100644\n--- a/drivers/common/iavf/virtchnl.h\n+++ b/drivers/common/iavf/virtchnl.h\n@@ -146,7 +146,6 @@ enum virtchnl_ops {\n \tVIRTCHNL_OP_DEL_RSS_CFG = 46,\n \tVIRTCHNL_OP_ADD_FDIR_FILTER = 47,\n \tVIRTCHNL_OP_DEL_FDIR_FILTER = 48,\n-\tVIRTCHNL_OP_QUERY_FDIR_FILTER = 49,\n \tVIRTCHNL_OP_GET_MAX_RSS_QREGION = 50,\n \tVIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS = 51,\n \tVIRTCHNL_OP_ADD_VLAN_V2 = 52,\n@@ -244,8 +243,6 @@ static inline const char *virtchnl_op_str(enum virtchnl_ops v_opcode)\n \t\treturn \"VIRTCHNL_OP_ADD_FDIR_FILTER\";\n \tcase VIRTCHNL_OP_DEL_FDIR_FILTER:\n \t\treturn \"VIRTCHNL_OP_DEL_FDIR_FILTER\";\n-\tcase VIRTCHNL_OP_QUERY_FDIR_FILTER:\n-\t\treturn \"VIRTCHNL_OP_QUERY_FDIR_FILTER\";\n \tcase VIRTCHNL_OP_GET_MAX_RSS_QREGION:\n \t\treturn \"VIRTCHNL_OP_GET_MAX_RSS_QREGION\";\n \tcase VIRTCHNL_OP_ENABLE_QUEUES_V2:\n@@ -1733,20 +1730,6 @@ struct virtchnl_fdir_rule {\n \n VIRTCHNL_CHECK_STRUCT_LEN(2604, virtchnl_fdir_rule);\n \n-/* query information to retrieve fdir rule counters.\n- * PF will fill out this structure to reset counter.\n- */\n-struct virtchnl_fdir_query_info {\n-\tu32 match_packets_valid:1;\n-\tu32 match_bytes_valid:1;\n-\tu32 reserved:30; /* Reserved, must be zero. */\n-\tu32 pad;\n-\tu64 matched_packets; /* Number of packets for this rule. */\n-\tu64 matched_bytes; /* Number of bytes through this rule. */\n-};\n-\n-VIRTCHNL_CHECK_STRUCT_LEN(24, virtchnl_fdir_query_info);\n-\n /* Status returned to VF after VF requests FDIR commands\n * VIRTCHNL_FDIR_SUCCESS\n * VF FDIR related request is successfully done by PF\n@@ -1879,24 +1862,6 @@ struct virtchnl_queue_tc_mapping {\n \n VIRTCHNL_CHECK_STRUCT_LEN(12, virtchnl_queue_tc_mapping);\n \n-/* VIRTCHNL_OP_QUERY_FDIR_FILTER\n- * VF sends this request to PF by filling out vsi_id,\n- * flow_id and reset_counter. PF will return query_info\n- * and query_status to VF.\n- */\n-struct virtchnl_fdir_query {\n-\tu16 vsi_id; /* INPUT */\n-\tu16 pad1[3];\n-\tu32 flow_id; /* INPUT */\n-\tu32 reset_counter:1; /* INPUT */\n-\tstruct virtchnl_fdir_query_info query_info; /* OUTPUT */\n-\n-\t/* see enum virtchnl_fdir_prgm_status; OUTPUT */\n-\ts32 status;\n-\tu32 pad2;\n-};\n-\n-VIRTCHNL_CHECK_STRUCT_LEN(48, virtchnl_fdir_query);\n \n /* TX and RX queue types are valid in legacy as well as split queue models.\n * With Split Queue model, 2 additional types are introduced - TX_COMPLETION\n@@ -2254,9 +2219,6 @@ virtchnl_vc_validate_vf_msg(struct virtchnl_version_info *ver, u32 v_opcode,\n \tcase VIRTCHNL_OP_DEL_FDIR_FILTER:\n \t\tvalid_len = sizeof(struct virtchnl_fdir_del);\n \t\tbreak;\n-\tcase VIRTCHNL_OP_QUERY_FDIR_FILTER:\n-\t\tvalid_len = sizeof(struct virtchnl_fdir_query);\n-\t\tbreak;\n \tcase VIRTCHNL_OP_GET_QOS_CAPS:\n \t\tbreak;\n \tcase VIRTCHNL_OP_CONFIG_QUEUE_TC_MAP:\n", "prefixes": [ "v1", "3/4" ] }{ "id": 96976, "url": "