|
enum | {
MCC_STATUS_SUCCESS = 0,
MCC_STATUS_FAILED = 1,
MCC_STATUS_ILLEGAL_REQUEST = 2,
MCC_STATUS_ILLEGAL_FIELD = 3,
MCC_STATUS_INSUFFICIENT_BUFFER = 4,
MCC_STATUS_UNAUTHORIZED_REQUEST = 5,
MCC_STATUS_NOT_SUPPORTED = 66
} |
|
enum | { LINK_DOWN = 0x0,
LINK_UP = 0x1
} |
|
enum | { MAC_ADDRESS_TYPE_STORAGE = 0x0,
MAC_ADDRESS_TYPE_NETWORK = 0x1,
MAC_ADDRESS_TYPE_PD = 0x2,
MAC_ADDRESS_TYPE_MANAGEMENT = 0x3
} |
|
enum | {
QTYPE_EQ = 1,
QTYPE_CQ,
QTYPE_TXQ,
QTYPE_RXQ,
QTYPE_MCCQ
} |
|
enum | be_if_flags {
BE_IF_FLAGS_RSS = 0x4,
BE_IF_FLAGS_PROMISCUOUS = 0x8,
BE_IF_FLAGS_BROADCAST = 0x10,
BE_IF_FLAGS_UNTAGGED = 0x20,
BE_IF_FLAGS_ULP = 0x40,
BE_IF_FLAGS_VLAN_PROMISCUOUS = 0x80,
BE_IF_FLAGS_VLAN = 0x100,
BE_IF_FLAGS_MCAST_PROMISCUOUS = 0x200,
BE_IF_FLAGS_PASS_L2_ERRORS = 0x400,
BE_IF_FLAGS_PASS_L3L4_ERRORS = 0x800,
BE_IF_FLAGS_MULTICAST = 0x1000
} |
|
enum | { PHY_LINK_DUPLEX_NONE = 0x0,
PHY_LINK_DUPLEX_HALF = 0x1,
PHY_LINK_DUPLEX_FULL = 0x2
} |
|
enum | {
PHY_LINK_SPEED_ZERO = 0x0,
PHY_LINK_SPEED_10MBPS = 0x1,
PHY_LINK_SPEED_100MBPS = 0x2,
PHY_LINK_SPEED_1GBPS = 0x3,
PHY_LINK_SPEED_10GBPS = 0x4
} |
|
enum | { TR_PAGE_A0 = 0xa0,
TR_PAGE_A2 = 0xa2
} |
|
enum | {
PHY_TYPE_CX4_10GB = 0,
PHY_TYPE_XFP_10GB,
PHY_TYPE_SFP_1GB,
PHY_TYPE_SFP_PLUS_10GB,
PHY_TYPE_KR_10GB,
PHY_TYPE_KX4_10GB,
PHY_TYPE_BASET_10GB,
PHY_TYPE_BASET_1GB,
PHY_TYPE_BASEX_1GB,
PHY_TYPE_SGMII,
PHY_TYPE_DISABLED = 255
} |
|
|
int | be_pci_fnum_get (struct be_adapter *adapter) |
|
int | be_fw_wait_ready (struct be_adapter *adapter) |
|
int | be_cmd_mac_addr_query (struct be_adapter *adapter, u8 *mac_addr, bool permanent, u32 if_handle, u32 pmac_id) |
|
int | be_cmd_pmac_add (struct be_adapter *adapter, u8 *mac_addr, u32 if_id, u32 *pmac_id, u32 domain) |
|
int | be_cmd_pmac_del (struct be_adapter *adapter, u32 if_id, int pmac_id, u32 domain) |
|
int | be_cmd_if_create (struct be_adapter *adapter, u32 cap_flags, u32 en_flags, u32 *if_handle, u32 domain) |
|
int | be_cmd_if_destroy (struct be_adapter *adapter, int if_handle, u32 domain) |
|
int | be_cmd_eq_create (struct be_adapter *adapter, struct be_queue_info *eq, int eq_delay) |
|
int | be_cmd_cq_create (struct be_adapter *adapter, struct be_queue_info *cq, struct be_queue_info *eq, bool no_delay, int num_cqe_dma_coalesce) |
|
int | be_cmd_mccq_create (struct be_adapter *adapter, struct be_queue_info *mccq, struct be_queue_info *cq) |
|
int | be_cmd_txq_create (struct be_adapter *adapter, struct be_queue_info *txq, struct be_queue_info *cq) |
|
int | be_cmd_rxq_create (struct be_adapter *adapter, struct be_queue_info *rxq, u16 cq_id, u16 frag_size, u32 if_id, u32 rss, u8 *rss_id) |
|
int | be_cmd_q_destroy (struct be_adapter *adapter, struct be_queue_info *q, int type) |
|
int | be_cmd_rxq_destroy (struct be_adapter *adapter, struct be_queue_info *q) |
|
int | be_cmd_link_status_query (struct be_adapter *adapter, u16 *link_speed, u8 *link_status, u32 dom) |
|
int | be_cmd_reset (struct be_adapter *adapter) |
|
int | be_cmd_get_stats (struct be_adapter *adapter, struct be_dma_mem *nonemb_cmd) |
|
int | lancer_cmd_get_pport_stats (struct be_adapter *adapter, struct be_dma_mem *nonemb_cmd) |
|
int | be_cmd_get_fw_ver (struct be_adapter *adapter, char *fw_ver, char *fw_on_flash) |
|
int | be_cmd_modify_eqd (struct be_adapter *adapter, u32 eq_id, u32 eqd) |
|
int | be_cmd_vlan_config (struct be_adapter *adapter, u32 if_id, u16 *vtag_array, u32 num, bool untagged, bool promiscuous) |
|
int | be_cmd_rx_filter (struct be_adapter *adapter, u32 flags, u32 status) |
|
int | be_cmd_set_flow_control (struct be_adapter *adapter, u32 tx_fc, u32 rx_fc) |
|
int | be_cmd_get_flow_control (struct be_adapter *adapter, u32 *tx_fc, u32 *rx_fc) |
|
int | be_cmd_query_fw_cfg (struct be_adapter *adapter, u32 *port_num, u32 *function_mode, u32 *function_caps) |
|
int | be_cmd_reset_function (struct be_adapter *adapter) |
|
int | be_cmd_rss_config (struct be_adapter *adapter, u8 *rsstable, u16 table_size) |
|
int | be_process_mcc (struct be_adapter *adapter) |
|
int | be_cmd_set_beacon_state (struct be_adapter *adapter, u8 port_num, u8 beacon, u8 status, u8 state) |
|
int | be_cmd_get_beacon_state (struct be_adapter *adapter, u8 port_num, u32 *state) |
|
int | be_cmd_write_flashrom (struct be_adapter *adapter, struct be_dma_mem *cmd, u32 flash_oper, u32 flash_opcode, u32 buf_size) |
|
int | lancer_cmd_write_object (struct be_adapter *adapter, struct be_dma_mem *cmd, u32 data_size, u32 data_offset, const char *obj_name, u32 *data_written, u8 *change_status, u8 *addn_status) |
|
int | lancer_cmd_read_object (struct be_adapter *adapter, struct be_dma_mem *cmd, u32 data_size, u32 data_offset, const char *obj_name, u32 *data_read, u32 *eof, u8 *addn_status) |
|
int | be_cmd_get_flash_crc (struct be_adapter *adapter, u8 *flashed_crc, int offset) |
|
int | be_cmd_enable_magic_wol (struct be_adapter *adapter, u8 *mac, struct be_dma_mem *nonemb_cmd) |
|
int | be_cmd_fw_init (struct be_adapter *adapter) |
|
int | be_cmd_fw_clean (struct be_adapter *adapter) |
|
void | be_async_mcc_enable (struct be_adapter *adapter) |
|
void | be_async_mcc_disable (struct be_adapter *adapter) |
|
int | be_cmd_loopback_test (struct be_adapter *adapter, u32 port_num, u32 loopback_type, u32 pkt_size, u32 num_pkts, u64 pattern) |
|
int | be_cmd_ddr_dma_test (struct be_adapter *adapter, u64 pattern, u32 byte_cnt, struct be_dma_mem *cmd) |
|
int | be_cmd_get_seeprom_data (struct be_adapter *adapter, struct be_dma_mem *nonemb_cmd) |
|
int | be_cmd_set_loopback (struct be_adapter *adapter, u8 port_num, u8 loopback_type, u8 enable) |
|
int | be_cmd_get_phy_info (struct be_adapter *adapter) |
|
int | be_cmd_set_qos (struct be_adapter *adapter, u32 bps, u32 domain) |
|
void | be_detect_error (struct be_adapter *adapter) |
|
int | be_cmd_get_die_temperature (struct be_adapter *adapter) |
|
int | be_cmd_get_cntl_attributes (struct be_adapter *adapter) |
|
int | be_cmd_req_native_mode (struct be_adapter *adapter) |
|
int | be_cmd_get_reg_len (struct be_adapter *adapter, u32 *log_size) |
|
void | be_cmd_get_regs (struct be_adapter *adapter, u32 buf_len, void *buf) |
|
int | be_cmd_get_mac_from_list (struct be_adapter *adapter, u8 *mac, bool *pmac_id_active, u32 *pmac_id, u8 domain) |
|
int | be_cmd_set_mac_list (struct be_adapter *adapter, u8 *mac_array, u8 mac_count, u32 domain) |
|
int | be_cmd_set_hsw_config (struct be_adapter *adapter, u16 pvid, u32 domain, u16 intf_id) |
|
int | be_cmd_get_hsw_config (struct be_adapter *adapter, u16 *pvid, u32 domain, u16 intf_id) |
|
int | be_cmd_get_acpi_wol_cap (struct be_adapter *adapter) |
|
int | be_cmd_get_ext_fat_capabilites (struct be_adapter *adapter, struct be_dma_mem *cmd) |
|
int | be_cmd_set_ext_fat_capabilites (struct be_adapter *adapter, struct be_dma_mem *cmd, struct be_fat_conf_params *cfgs) |
|
int | lancer_wait_ready (struct be_adapter *adapter) |
|
int | lancer_test_and_set_rdy_state (struct be_adapter *adapter) |
|
int | be_cmd_query_port_name (struct be_adapter *adapter, u8 *port_name) |
|