net/i40e/base: add custom cloud filter types
authorGuinan Sun <guinanx.sun@intel.com>
Mon, 27 Jul 2020 05:34:46 +0000 (05:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:06 +0000 (18:55 +0200)
This patch adds the new filter types needed for custom cloud filters.
These custom cloud filters will route traffic to VFs based on the
dst IP for both tunneled and non-tunneled packets.

Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/base/i40e_adminq_cmd.h

index f790183..21f5448 100644 (file)
@@ -1406,6 +1406,8 @@ struct i40e_aqc_cloud_filters_element_data {
 #define I40E_AQC_ADD_CLOUD_FILTER_IMAC                 0x000A
 #define I40E_AQC_ADD_CLOUD_FILTER_OMAC_TEN_ID_IMAC     0x000B
 #define I40E_AQC_ADD_CLOUD_FILTER_IIP                  0x000C
+#define I40E_AQC_ADD_CLOUD_FILTER_OIP1                 0x0010
+#define I40E_AQC_ADD_CLOUD_FILTER_OIP2                 0x0012
 /* 0x000D reserved */
 /* 0x000E reserved */
 /* 0x000F reserved */