#ifndef _I40E_ADMINQ_CMD_H_
#define _I40E_ADMINQ_CMD_H_
#include <linux/bits.h>
#include <linux/types.h>
#define I40E_FW_API_VERSION_MAJOR …
#define I40E_FW_API_VERSION_MINOR_X722 …
#define I40E_FW_API_VERSION_MINOR_X710 …
#define I40E_FW_MINOR_VERSION(_h) …
#define I40E_MINOR_VER_GET_LINK_INFO_XL710 …
#define I40E_MINOR_VER_GET_LINK_INFO_X722 …
#define I40E_MINOR_VER_FW_LLDP_STOPPABLE_X722 …
#define I40E_MINOR_VER_FW_REQUEST_FEC_X722 …
struct i40e_aq_desc { … };
#define I40E_AQ_FLAG_ERR_SHIFT …
#define I40E_AQ_FLAG_LB_SHIFT …
#define I40E_AQ_FLAG_RD_SHIFT …
#define I40E_AQ_FLAG_BUF_SHIFT …
#define I40E_AQ_FLAG_SI_SHIFT …
#define I40E_AQ_FLAG_ERR …
#define I40E_AQ_FLAG_LB …
#define I40E_AQ_FLAG_RD …
#define I40E_AQ_FLAG_BUF …
#define I40E_AQ_FLAG_SI …
enum i40e_admin_queue_err { … };
enum i40e_admin_queue_opc { … };
#define I40E_CHECK_STRUCT_LEN(n, X) …
#define I40E_CHECK_CMD_LENGTH(X) …
struct i40e_aqc_get_version { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_driver_version { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_queue_shutdown { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_pf_context { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_request_resource { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_list_capabilites { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_list_capabilities_element_resp { … };
#define I40E_AQ_CAP_ID_SWITCH_MODE …
#define I40E_AQ_CAP_ID_MNG_MODE …
#define I40E_AQ_CAP_ID_NPAR_ACTIVE …
#define I40E_AQ_CAP_ID_OS2BMC_CAP …
#define I40E_AQ_CAP_ID_FUNCTIONS_VALID …
#define I40E_AQ_CAP_ID_SRIOV …
#define I40E_AQ_CAP_ID_VF …
#define I40E_AQ_CAP_ID_VMDQ …
#define I40E_AQ_CAP_ID_8021QBG …
#define I40E_AQ_CAP_ID_8021QBR …
#define I40E_AQ_CAP_ID_VSI …
#define I40E_AQ_CAP_ID_DCB …
#define I40E_AQ_CAP_ID_FCOE …
#define I40E_AQ_CAP_ID_ISCSI …
#define I40E_AQ_CAP_ID_RSS …
#define I40E_AQ_CAP_ID_RXQ …
#define I40E_AQ_CAP_ID_TXQ …
#define I40E_AQ_CAP_ID_MSIX …
#define I40E_AQ_CAP_ID_VF_MSIX …
#define I40E_AQ_CAP_ID_FLOW_DIRECTOR …
#define I40E_AQ_CAP_ID_1588 …
#define I40E_AQ_CAP_ID_IWARP …
#define I40E_AQ_CAP_ID_LED …
#define I40E_AQ_CAP_ID_SDP …
#define I40E_AQ_CAP_ID_MDIO …
#define I40E_AQ_CAP_ID_WSR_PROT …
#define I40E_AQ_CAP_ID_NVM_MGMT …
#define I40E_AQ_CAP_ID_FLEX10 …
#define I40E_AQ_CAP_ID_CEM …
struct i40e_aqc_cppm_configuration { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_arp_proxy_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_ns_proxy_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_mng_laa { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_mac_address_read { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_mac_address_read_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_mac_address_write { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_clear_pxe { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_wol_filter { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_wol_filter_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_get_wake_reason_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_switch_seid { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_get_switch_config_header_resp { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_switch_config_element_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_get_switch_config_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_add_remove_statistics { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_port_parameters { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_get_switch_resource_alloc { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_switch_resource_alloc_element_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_set_switch_config { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_rx_ctl_reg_read_write { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_get_update_vsi { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_get_update_vsi_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_vsi_properties_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_add_update_pv { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_update_pv_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_get_pv_params_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_veb { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_veb_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_get_veb_parameters_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_macvlan { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_macvlan_element_data { … };
struct i40e_aqc_add_remove_macvlan_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_remove_macvlan_element_data { … };
struct i40e_aqc_add_remove_vlan_element_data { … };
struct i40e_aqc_add_remove_vlan_completion { … };
struct i40e_aqc_set_vsi_promiscuous_modes { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_tag { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_remove_tag_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_remove_tag { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_remove_mcast_etag { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_remove_mcast_etag_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_update_tag { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_update_tag_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_remove_control_packet_filter { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_remove_control_packet_filter_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_remove_cloud_filters { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_cloud_filters_element_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_cloud_filters_element_bb { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_remove_cloud_filters_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_filter_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_replace_cloud_filters_cmd { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_replace_cloud_filters_cmd_buf { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_add_delete_mirror_rule { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_delete_mirror_rule_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_write_personalization_profile { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_write_ddp_resp { … };
struct i40e_aqc_get_applied_profiles { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_pfc_ignore { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_tx_sched_ind { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_qs_handles_resp { … };
struct i40e_aqc_configure_vsi_bw_limit { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_configure_vsi_ets_sla_bw_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_configure_vsi_tc_bw_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_query_vsi_bw_config_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_query_vsi_ets_sla_config_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_configure_switching_comp_bw_limit { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_configure_switching_comp_ets_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_configure_switching_comp_ets_bw_limit_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_configure_switching_comp_bw_config_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_query_switching_comp_ets_config_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_query_port_ets_config_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_query_switching_comp_bw_config_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_configure_partition_bw_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aq_get_set_hmc_resource_profile { … };
I40E_CHECK_CMD_LENGTH(…);
enum i40e_aq_hmc_profile { … };
#define I40E_AQ_PHY_REPORT_QUALIFIED_MODULES …
#define I40E_AQ_PHY_REPORT_INITIAL_VALUES …
enum i40e_aq_phy_type { … };
#define I40E_PHY_TYPES_BITMASK …
#define I40E_LINK_SPEED_2_5GB_SHIFT …
#define I40E_LINK_SPEED_100MB_SHIFT …
#define I40E_LINK_SPEED_1000MB_SHIFT …
#define I40E_LINK_SPEED_10GB_SHIFT …
#define I40E_LINK_SPEED_40GB_SHIFT …
#define I40E_LINK_SPEED_20GB_SHIFT …
#define I40E_LINK_SPEED_25GB_SHIFT …
#define I40E_LINK_SPEED_5GB_SHIFT …
enum i40e_aq_link_speed { … };
struct i40e_aqc_module_desc { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aq_get_phy_abilities_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aq_set_phy_config { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aq_set_mac_config { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_link_restart_an { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_get_link_status { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_phy_int_mask { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_an_advt_reg { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_lb_mode { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_phy_debug { … };
I40E_CHECK_CMD_LENGTH(…);
enum i40e_aq_phy_reg_type { … };
struct i40e_aqc_run_phy_activity { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_phy_register_access { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_nvm_update { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_nvm_config_read { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_nvm_config_write { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_nvm_config_data_feature { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_nvm_config_data_immediate_field { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_nvm_oem_post_update { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_nvm_oem_post_update_buffer { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_thermal_sensor { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_pf_vf_message { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_alternate_write { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_alternate_ind_write { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_alternate_write_done { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_alternate_set_mode { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lan_overflow { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_get_mib { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_update_mib { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_add_tlv { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_update_tlv { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_stop { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_start { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_set_dcb_parameters { … };
I40E_CHECK_CMD_LENGTH(…);
#define I40E_AQC_CEE_APP_FCOE_SHIFT …
#define I40E_AQC_CEE_APP_FCOE_MASK …
#define I40E_AQC_CEE_APP_ISCSI_SHIFT …
#define I40E_AQC_CEE_APP_ISCSI_MASK …
#define I40E_AQC_CEE_APP_FIP_SHIFT …
#define I40E_AQC_CEE_APP_FIP_MASK …
#define I40E_AQC_CEE_PG_STATUS_SHIFT …
#define I40E_AQC_CEE_PG_STATUS_MASK …
#define I40E_AQC_CEE_PFC_STATUS_SHIFT …
#define I40E_AQC_CEE_PFC_STATUS_MASK …
#define I40E_AQC_CEE_APP_STATUS_SHIFT …
#define I40E_AQC_CEE_APP_STATUS_MASK …
#define I40E_AQC_CEE_FCOE_STATUS_SHIFT …
#define I40E_AQC_CEE_FCOE_STATUS_MASK …
#define I40E_AQC_CEE_ISCSI_STATUS_SHIFT …
#define I40E_AQC_CEE_ISCSI_STATUS_MASK …
#define I40E_AQC_CEE_FIP_STATUS_SHIFT …
#define I40E_AQC_CEE_FIP_STATUS_MASK …
struct i40e_aqc_get_cee_dcb_cfg_v1_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_get_cee_dcb_cfg_resp { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_lldp_set_local_mib { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_stop_start_specific_agent { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_lldp_restore { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_udp_tunnel { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_add_udp_tunnel_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_remove_udp_tunnel { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_del_udp_tunnel_completion { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_get_set_rss_key { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_get_set_rss_key_data { … };
I40E_CHECK_STRUCT_LEN(…);
struct i40e_aqc_get_set_rss_lut { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_tunnel_key_structure { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_oem_param_change { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_oem_state_change { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_opc_oem_ocsd_initialize { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_opc_oem_ocbb_initialize { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_acq_set_test_mode { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_debug_reg_read_write { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_debug_reg_sg_element_data { … };
struct i40e_aqc_debug_modify_reg { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_debug_dump_internals { … };
I40E_CHECK_CMD_LENGTH(…);
struct i40e_aqc_debug_modify_internals { … };
I40E_CHECK_CMD_LENGTH(…);
#endif