Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/824139/?format=api
{ "id": 824139, "url": "http://patchwork.ozlabs.org/api/patches/824139/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/150768147360.5320.13399379759470371200.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": "<150768147360.5320.13399379759470371200.stgit@anamdev.jf.intel.com>", "list_archive_url": null, "date": "2017-10-11T00:24:33", "name": "[jkirsher/next-queue,v4,4/6] i40e: Admin queue definitions for cloud filters", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "5df681c1a604afc5ad60e28c854f4149b15f0fd0", "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/150768147360.5320.13399379759470371200.stgit@anamdev.jf.intel.com/mbox/", "series": [ { "id": 7487, "url": "http://patchwork.ozlabs.org/api/series/7487/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=7487", "date": "2017-10-11T00:24:12", "name": "tc-flower based cloud filters in i40e", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/7487/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/824139/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/824139/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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3yBZXG6GJ2z9t5Q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 11 Oct 2017 11:26:06 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0A4738900B;\n\tWed, 11 Oct 2017 00:26:05 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id r+OFJE9aif8T; Wed, 11 Oct 2017 00:26:03 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 216E288FEC;\n\tWed, 11 Oct 2017 00:26:03 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id C44721C0FDB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:26:01 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id C11CE8977C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:26:01 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id dPbhIMc6OIv5 for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:26:00 +0000 (UTC)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 0E7C289706\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 11 Oct 2017 00:25:59 +0000 (UTC)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Oct 2017 17:25:59 -0700", "from anamdev.jf.intel.com ([10.166.29.110])\n\tby fmsmga005.fm.intel.com with ESMTP; 10 Oct 2017 17:25:58 -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.43,359,1503385200\"; d=\"scan'208\";a=\"161214361\"", "From": "Amritha Nambiar <amritha.nambiar@intel.com>", "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com", "Date": "Tue, 10 Oct 2017 17:24:33 -0700", "Message-ID": "<150768147360.5320.13399379759470371200.stgit@anamdev.jf.intel.com>", "In-Reply-To": "<150768099999.5320.1633617713417675266.stgit@anamdev.jf.intel.com>", "References": "<150768099999.5320.1633617713417675266.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 v4 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\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 | 110 ++++++++++++++++++++\n .../net/ethernet/intel/i40evf/i40e_adminq_cmd.h | 110 ++++++++++++++++++++\n 2 files changed, 216 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 729976b..bcc7986 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,13 @@ 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+/* flag to be used when adding cloud filter: IP + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_IP_PORT\t\t0x0010\n+/* flag to be used when adding cloud filter: Dest MAC + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_PORT\t\t0x0011\n+/* flag to be used when adding cloud filter: Dest MAC + VLAN + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_VLAN_PORT\t\t0x0012\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 +1451,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 +1505,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..0c4ff18 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,13 @@ 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+/* flag to be used when adding cloud filter: IP + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_IP_PORT\t\t0x0010\n+/* flag to be used when adding cloud filter: Dest MAC + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_PORT\t\t0x0011\n+/* flag to be used when adding cloud filter: Dest MAC + VLAN + L4 Port */\n+#define I40E_AQC_ADD_CLOUD_FILTER_MAC_VLAN_PORT\t\t0x0012\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 +1419,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 +1473,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", "v4", "4/6" ] }