diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2014-04-04 00:43:03 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-05-21 04:35:47 -0400 |
commit | 9774dd8d7d0a8fa1cebe244d5f35f70f38f2d30e (patch) | |
tree | 53157de89e2a3d3a5d02ac413c02a3c7fb1c1872 | |
parent | b6052af61a9e0dee236bcf4c69843126c0d28e4f (diff) |
i40evf: Update AdminQ interface
Minor changes to the AdminQ interface to bring it up-to-date.
Change-ID: Ie31a4cc4911b2d9d3b7f9af2e56fb0ae674f6345
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h b/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h index 6e617669c326..77e4f148ce71 100644 --- a/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h +++ b/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h | |||
@@ -676,7 +676,6 @@ struct i40e_aqc_add_get_update_vsi { | |||
676 | #define I40E_AQ_VSI_TYPE_PF 0x2 | 676 | #define I40E_AQ_VSI_TYPE_PF 0x2 |
677 | #define I40E_AQ_VSI_TYPE_EMP_MNG 0x3 | 677 | #define I40E_AQ_VSI_TYPE_EMP_MNG 0x3 |
678 | #define I40E_AQ_VSI_FLAG_CASCADED_PV 0x4 | 678 | #define I40E_AQ_VSI_FLAG_CASCADED_PV 0x4 |
679 | #define I40E_AQ_VSI_FLAG_CLOUD_VSI 0x8 | ||
680 | __le32 addr_high; | 679 | __le32 addr_high; |
681 | __le32 addr_low; | 680 | __le32 addr_low; |
682 | }; | 681 | }; |
@@ -1038,7 +1037,9 @@ struct i40e_aqc_set_vsi_promiscuous_modes { | |||
1038 | #define I40E_AQC_SET_VSI_PROMISC_VLAN 0x10 | 1037 | #define I40E_AQC_SET_VSI_PROMISC_VLAN 0x10 |
1039 | __le16 seid; | 1038 | __le16 seid; |
1040 | #define I40E_AQC_VSI_PROM_CMD_SEID_MASK 0x3FF | 1039 | #define I40E_AQC_VSI_PROM_CMD_SEID_MASK 0x3FF |
1041 | u8 reserved[10]; | 1040 | __le16 vlan_tag; |
1041 | #define I40E_AQC_SET_VSI_VLAN_VALID 0x8000 | ||
1042 | u8 reserved[8]; | ||
1042 | }; | 1043 | }; |
1043 | 1044 | ||
1044 | I40E_CHECK_CMD_LENGTH(i40e_aqc_set_vsi_promiscuous_modes); | 1045 | I40E_CHECK_CMD_LENGTH(i40e_aqc_set_vsi_promiscuous_modes); |
@@ -1931,19 +1932,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_lldp_start); | |||
1931 | /* Add Udp Tunnel command and completion (direct 0x0B00) */ | 1932 | /* Add Udp Tunnel command and completion (direct 0x0B00) */ |
1932 | struct i40e_aqc_add_udp_tunnel { | 1933 | struct i40e_aqc_add_udp_tunnel { |
1933 | __le16 udp_port; | 1934 | __le16 udp_port; |
1934 | u8 header_len; /* in DWords, 1 to 15 */ | 1935 | u8 reserved0[3]; |
1935 | u8 protocol_type; | 1936 | u8 protocol_type; |
1936 | #define I40E_AQC_TUNNEL_TYPE_TEREDO 0x0 | 1937 | #define I40E_AQC_TUNNEL_TYPE_VXLAN 0x00 |
1937 | #define I40E_AQC_TUNNEL_TYPE_VXLAN 0x2 | 1938 | #define I40E_AQC_TUNNEL_TYPE_NGE 0x01 |
1938 | #define I40E_AQC_TUNNEL_TYPE_NGE 0x3 | 1939 | #define I40E_AQC_TUNNEL_TYPE_TEREDO 0x10 |
1939 | u8 variable_udp_length; | 1940 | u8 reserved1[10]; |
1940 | #define I40E_AQC_TUNNEL_FIXED_UDP_LENGTH 0x0 | ||
1941 | #define I40E_AQC_TUNNEL_VARIABLE_UDP_LENGTH 0x1 | ||
1942 | u8 udp_key_index; | ||
1943 | #define I40E_AQC_TUNNEL_KEY_INDEX_VXLAN 0x0 | ||
1944 | #define I40E_AQC_TUNNEL_KEY_INDEX_NGE 0x1 | ||
1945 | #define I40E_AQC_TUNNEL_KEY_INDEX_PROPRIETARY_UDP 0x2 | ||
1946 | u8 reserved[10]; | ||
1947 | }; | 1941 | }; |
1948 | 1942 | ||
1949 | I40E_CHECK_CMD_LENGTH(i40e_aqc_add_udp_tunnel); | 1943 | I40E_CHECK_CMD_LENGTH(i40e_aqc_add_udp_tunnel); |