Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/831163/?format=api
{ "id": 831163, "url": "http://patchwork.ozlabs.org/api/patches/831163/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/150909695111.48377.10187091086275409372.stgit@anamdev.jf.intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<150909695111.48377.10187091086275409372.stgit@anamdev.jf.intel.com>", "list_archive_url": null, "date": "2017-10-27T09:35:51", "name": "[jkirsher/next-queue,v5,4/6] i40e: Admin queue definitions for cloud filters", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b91375ba4c2be654d4670fc03747264439f50796", "submitter": { "id": 68504, "url": "http://patchwork.ozlabs.org/api/people/68504/?format=api", "name": "Nambiar, Amritha", "email": "amritha.nambiar@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/150909695111.48377.10187091086275409372.stgit@anamdev.jf.intel.com/mbox/", "series": [ { "id": 10540, "url": "http://patchwork.ozlabs.org/api/series/10540/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=10540", "date": "2017-10-27T09:35:29", "name": "tc-flower based cloud filters in i40e", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/10540/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/831163/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/831163/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yNf193kz4z9t2h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 27 Oct 2017 20:37:33 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 128AA881B5;\n\tFri, 27 Oct 2017 09:37:32 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id D-xYj7BwCFF0; Fri, 27 Oct 2017 09:37:30 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E6FBE882B9;\n\tFri, 27 Oct 2017 09:37:30 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 455DA1C071F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 27 Oct 2017 09:37:29 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 3FB0B88DCF\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 27 Oct 2017 09:37:29 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id gIDqZid6os30 for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 27 Oct 2017 09:37:28 +0000 (UTC)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 02DD4882B9\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 27 Oct 2017 09:37:27 +0000 (UTC)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Oct 2017 02:37:27 -0700", "from anamdev.jf.intel.com ([10.166.29.110])\n\tby orsmga004.jf.intel.com with ESMTP; 27 Oct 2017 02:37:27 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.44,304,1505804400\"; d=\"scan'208\";a=\"142820649\"", "From": "Amritha Nambiar <amritha.nambiar@intel.com>", "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com", "Date": "Fri, 27 Oct 2017 02:35:51 -0700", "Message-ID": "<150909695111.48377.10187091086275409372.stgit@anamdev.jf.intel.com>", "In-Reply-To": "<150909628755.48377.16561267691881106259.stgit@anamdev.jf.intel.com>", "References": "<150909628755.48377.16561267691881106259.stgit@anamdev.jf.intel.com>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Cc": "jiri@resnulli.us, netdev@vger.kernel.org, jhs@mojatatu.com,\n\txiyou.wangcong@gmail.com", "Subject": "[Intel-wired-lan] [jkirsher/next-queue PATCH v5 4/6] i40e: Admin\n\tqueue definitions for cloud filters", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "Add new admin queue definitions and extended fields for cloud\nfilter support. Define big buffer for extended general fields\nin Add/Remove Cloud filters command.\n\nv5: Addressed Shannon's comment to move couple of description\ncomments to the right.\nv3: Shortened some lengthy struct names.\nv2: Added I40E_CHECK_STRUCT_LEN check to AQ command structs and\nadded AQ definitions to i40evf for consistency based on Shannon's\nfeedback.\n\nSigned-off-by: Amritha Nambiar <amritha.nambiar@intel.com>\nSigned-off-by: Kiran Patil <kiran.patil@intel.com>\nSigned-off-by: Jingjing Wu <jingjing.wu@intel.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h | 107 ++++++++++++++++++++\n .../net/ethernet/intel/i40evf/i40e_adminq_cmd.h | 107 ++++++++++++++++++++\n 2 files changed, 210 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h b/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h\nindex 444447d..9f1f578 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h\n@@ -1371,14 +1371,16 @@ struct i40e_aqc_add_remove_cloud_filters {\n #define I40E_AQC_ADD_CLOUD_CMD_SEID_NUM_SHIFT\t0\n #define I40E_AQC_ADD_CLOUD_CMD_SEID_NUM_MASK\t(0x3FF << \\\n \t\t\t\t\tI40E_AQC_ADD_CLOUD_CMD_SEID_NUM_SHIFT)\n-\tu8\treserved2[4];\n+\tu8\tbig_buffer_flag;\n+#define I40E_AQC_ADD_CLOUD_CMD_BB\t1\n+\tu8\treserved2[3];\n \t__le32\taddr_high;\n \t__le32\taddr_low;\n };\n \n I40E_CHECK_CMD_LENGTH(i40e_aqc_add_remove_cloud_filters);\n \n-struct i40e_aqc_add_remove_cloud_filters_element_data {\n+struct i40e_aqc_cloud_filters_element_data {\n \tu8\touter_mac[6];\n \tu8\tinner_mac[6];\n \t__le16\tinner_vlan;\n@@ -1408,6 +1410,10 @@ struct i40e_aqc_add_remove_cloud_filters_element_data {\n #define I40E_AQC_ADD_CLOUD_FILTER_IMAC\t\t\t0x000A\n #define I40E_AQC_ADD_CLOUD_FILTER_OMAC_TEN_ID_IMAC\t0x000B\n #define I40E_AQC_ADD_CLOUD_FILTER_IIP\t\t\t0x000C\n+/* 0x0010 to 0x0017 is for custom filters */\n+#define I40E_AQC_ADD_CLOUD_FILTER_IP_PORT\t\t0x0010 /* Dest IP + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_PORT\t\t0x0011 /* Dest MAC + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_VLAN_PORT\t\t0x0012 /* Dest MAC + VLAN + L4 Port */\n \n #define I40E_AQC_ADD_CLOUD_FLAGS_TO_QUEUE\t\t0x0080\n #define I40E_AQC_ADD_CLOUD_VNK_SHIFT\t\t\t6\n@@ -1442,6 +1448,49 @@ struct i40e_aqc_add_remove_cloud_filters_element_data {\n \tu8\tresponse_reserved[7];\n };\n \n+I40E_CHECK_STRUCT_LEN(0x40, i40e_aqc_cloud_filters_element_data);\n+\n+/* i40e_aqc_cloud_filters_element_bb is used when\n+ * I40E_AQC_CLOUD_CMD_BB flag is set.\n+ */\n+struct i40e_aqc_cloud_filters_element_bb {\n+\tstruct i40e_aqc_cloud_filters_element_data element;\n+\tu16 general_fields[32];\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X10_WORD0\t0\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X10_WORD1\t1\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X10_WORD2\t2\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X11_WORD0\t3\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X11_WORD1\t4\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X11_WORD2\t5\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X12_WORD0\t6\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X12_WORD1\t7\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X12_WORD2\t8\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X13_WORD0\t9\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X13_WORD1\t10\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X13_WORD2\t11\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X14_WORD0\t12\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X14_WORD1\t13\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X14_WORD2\t14\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD0\t15\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD1\t16\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD2\t17\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD3\t18\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD4\t19\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD5\t20\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD6\t21\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD7\t22\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD0\t23\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD1\t24\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD2\t25\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD3\t26\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD4\t27\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD5\t28\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD6\t29\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD7\t30\n+};\n+\n+I40E_CHECK_STRUCT_LEN(0x80, i40e_aqc_cloud_filters_element_bb);\n+\n struct i40e_aqc_remove_cloud_filters_completion {\n \t__le16 perfect_ovlan_used;\n \t__le16 perfect_ovlan_free;\n@@ -1453,6 +1502,60 @@ struct i40e_aqc_remove_cloud_filters_completion {\n \n I40E_CHECK_CMD_LENGTH(i40e_aqc_remove_cloud_filters_completion);\n \n+/* Replace filter Command 0x025F\n+ * uses the i40e_aqc_replace_cloud_filters,\n+ * and the generic indirect completion structure\n+ */\n+struct i40e_filter_data {\n+\tu8 filter_type;\n+\tu8 input[3];\n+};\n+\n+I40E_CHECK_STRUCT_LEN(4, i40e_filter_data);\n+\n+struct i40e_aqc_replace_cloud_filters_cmd {\n+\tu8 valid_flags;\n+#define I40E_AQC_REPLACE_L1_FILTER\t\t0x0\n+#define I40E_AQC_REPLACE_CLOUD_FILTER\t\t0x1\n+#define I40E_AQC_GET_CLOUD_FILTERS\t\t0x2\n+#define I40E_AQC_MIRROR_CLOUD_FILTER\t\t0x4\n+#define I40E_AQC_HIGH_PRIORITY_CLOUD_FILTER\t0x8\n+\tu8 old_filter_type;\n+\tu8 new_filter_type;\n+\tu8 tr_bit;\n+\tu8 reserved[4];\n+\t__le32 addr_high;\n+\t__le32 addr_low;\n+};\n+\n+I40E_CHECK_CMD_LENGTH(i40e_aqc_replace_cloud_filters_cmd);\n+\n+struct i40e_aqc_replace_cloud_filters_cmd_buf {\n+\tu8 data[32];\n+/* Filter type INPUT codes*/\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_ENTRIES_MAX\t3\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_VALIDATED\tBIT(7)\n+\n+/* Field Vector offsets */\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_MAC_DA\t0\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG_ETH\t6\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG\t7\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_VLAN\t8\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG_OVLAN\t9\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG_IVLAN\t10\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_TUNNLE_KEY\t11\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_IMAC\t12\n+/* big FLU */\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_IP_DA\t14\n+/* big FLU */\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_OIP_DA\t15\n+\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_INNER_VLAN\t37\n+\tstruct i40e_filter_data filters[8];\n+};\n+\n+I40E_CHECK_STRUCT_LEN(0x40, i40e_aqc_replace_cloud_filters_cmd_buf);\n+\n /* Add Mirror Rule (indirect or direct 0x0260)\n * Delete Mirror Rule (indirect or direct 0x0261)\n * note: some rule types (4,5) do not use an external buffer.\ndiff --git a/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h b/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h\nindex 463e331..af82c30 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h\n+++ b/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h\n@@ -1339,14 +1339,16 @@ struct i40e_aqc_add_remove_cloud_filters {\n #define I40E_AQC_ADD_CLOUD_CMD_SEID_NUM_SHIFT\t0\n #define I40E_AQC_ADD_CLOUD_CMD_SEID_NUM_MASK\t(0x3FF << \\\n \t\t\t\t\tI40E_AQC_ADD_CLOUD_CMD_SEID_NUM_SHIFT)\n-\tu8\treserved2[4];\n+\tu8\tbig_buffer_flag;\n+#define I40E_AQC_ADD_CLOUD_CMD_BB\t1\n+\tu8\treserved2[3];\n \t__le32\taddr_high;\n \t__le32\taddr_low;\n };\n \n I40E_CHECK_CMD_LENGTH(i40e_aqc_add_remove_cloud_filters);\n \n-struct i40e_aqc_add_remove_cloud_filters_element_data {\n+struct i40e_aqc_cloud_filters_element_data {\n \tu8\touter_mac[6];\n \tu8\tinner_mac[6];\n \t__le16\tinner_vlan;\n@@ -1376,6 +1378,10 @@ struct i40e_aqc_add_remove_cloud_filters_element_data {\n #define I40E_AQC_ADD_CLOUD_FILTER_IMAC\t\t\t0x000A\n #define I40E_AQC_ADD_CLOUD_FILTER_OMAC_TEN_ID_IMAC\t0x000B\n #define I40E_AQC_ADD_CLOUD_FILTER_IIP\t\t\t0x000C\n+/* 0x0010 to 0x0017 is for custom filters */\n+#define I40E_AQC_ADD_CLOUD_FILTER_IP_PORT\t\t0x0010 /* Dest IP + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_PORT\t\t0x0011 /* Dest MAC + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_VLAN_PORT\t\t0x0012 /* Dest MAC + VLAN + L4 Port */\n \n #define I40E_AQC_ADD_CLOUD_FLAGS_TO_QUEUE\t\t0x0080\n #define I40E_AQC_ADD_CLOUD_VNK_SHIFT\t\t\t6\n@@ -1410,6 +1416,49 @@ struct i40e_aqc_add_remove_cloud_filters_element_data {\n \tu8\tresponse_reserved[7];\n };\n \n+I40E_CHECK_STRUCT_LEN(0x40, i40e_aqc_cloud_filters_element_data);\n+\n+/* i40e_aqc_cloud_filters_element_bb is used when\n+ * I40E_AQC_ADD_CLOUD_CMD_BB flag is set.\n+ */\n+struct i40e_aqc_cloud_filters_element_bb {\n+\tstruct i40e_aqc_cloud_filters_element_data element;\n+\tu16 general_fields[32];\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X10_WORD0\t0\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X10_WORD1\t1\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X10_WORD2\t2\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X11_WORD0\t3\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X11_WORD1\t4\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X11_WORD2\t5\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X12_WORD0\t6\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X12_WORD1\t7\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X12_WORD2\t8\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X13_WORD0\t9\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X13_WORD1\t10\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X13_WORD2\t11\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X14_WORD0\t12\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X14_WORD1\t13\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X14_WORD2\t14\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD0\t15\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD1\t16\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD2\t17\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD3\t18\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD4\t19\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD5\t20\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD6\t21\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X16_WORD7\t22\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD0\t23\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD1\t24\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD2\t25\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD3\t26\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD4\t27\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD5\t28\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD6\t29\n+#define I40E_AQC_ADD_CLOUD_FV_FLU_0X17_WORD7\t30\n+};\n+\n+I40E_CHECK_STRUCT_LEN(0x80, i40e_aqc_cloud_filters_element_bb);\n+\n struct i40e_aqc_remove_cloud_filters_completion {\n \t__le16 perfect_ovlan_used;\n \t__le16 perfect_ovlan_free;\n@@ -1421,6 +1470,60 @@ struct i40e_aqc_remove_cloud_filters_completion {\n \n I40E_CHECK_CMD_LENGTH(i40e_aqc_remove_cloud_filters_completion);\n \n+/* Replace filter Command 0x025F\n+ * uses the i40e_aqc_replace_cloud_filters,\n+ * and the generic indirect completion structure\n+ */\n+struct i40e_filter_data {\n+\tu8 filter_type;\n+\tu8 input[3];\n+};\n+\n+I40E_CHECK_STRUCT_LEN(4, i40e_filter_data);\n+\n+struct i40e_aqc_replace_cloud_filters_cmd {\n+\tu8 valid_flags;\n+#define I40E_AQC_REPLACE_L1_FILTER\t\t0x0\n+#define I40E_AQC_REPLACE_CLOUD_FILTER\t\t0x1\n+#define I40E_AQC_GET_CLOUD_FILTERS\t\t0x2\n+#define I40E_AQC_MIRROR_CLOUD_FILTER\t\t0x4\n+#define I40E_AQC_HIGH_PRIORITY_CLOUD_FILTER\t0x8\n+\tu8 old_filter_type;\n+\tu8 new_filter_type;\n+\tu8 tr_bit;\n+\tu8 reserved[4];\n+\t__le32 addr_high;\n+\t__le32 addr_low;\n+};\n+\n+I40E_CHECK_CMD_LENGTH(i40e_aqc_replace_cloud_filters_cmd);\n+\n+struct i40e_aqc_replace_cloud_filters_cmd_buf {\n+\tu8 data[32];\n+/* Filter type INPUT codes*/\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_ENTRIES_MAX\t3\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_VALIDATED\tBIT(7)\n+\n+/* Field Vector offsets */\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_MAC_DA\t0\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG_ETH\t6\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG\t7\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_VLAN\t8\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG_OVLAN\t9\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_STAG_IVLAN\t10\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_TUNNLE_KEY\t11\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_IMAC\t12\n+/* big FLU */\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_IP_DA\t14\n+/* big FLU */\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_OIP_DA\t15\n+\n+#define I40E_AQC_REPLACE_CLOUD_CMD_INPUT_FV_INNER_VLAN\t37\n+\tstruct i40e_filter_data filters[8];\n+};\n+\n+I40E_CHECK_STRUCT_LEN(0x40, i40e_aqc_replace_cloud_filters_cmd_buf);\n+\n /* Add Mirror Rule (indirect or direct 0x0260)\n * Delete Mirror Rule (indirect or direct 0x0261)\n * note: some rule types (4,5) do not use an external buffer.\n", "prefixes": [ "jkirsher/next-queue", "v5", "4/6" ] }