Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/sfxge/common/efx.h
Show First 20 Lines • Show All 1,089 Lines • ▼ Show 20 Lines | |||||
#define EFX_FEATURE_TURBO 0x00000100 | #define EFX_FEATURE_TURBO 0x00000100 | ||||
#define EFX_FEATURE_MCDI_DMA 0x00000200 | #define EFX_FEATURE_MCDI_DMA 0x00000200 | ||||
#define EFX_FEATURE_TX_SRC_FILTERS 0x00000400 | #define EFX_FEATURE_TX_SRC_FILTERS 0x00000400 | ||||
#define EFX_FEATURE_PIO_BUFFERS 0x00000800 | #define EFX_FEATURE_PIO_BUFFERS 0x00000800 | ||||
#define EFX_FEATURE_FW_ASSISTED_TSO 0x00001000 | #define EFX_FEATURE_FW_ASSISTED_TSO 0x00001000 | ||||
#define EFX_FEATURE_FW_ASSISTED_TSO_V2 0x00002000 | #define EFX_FEATURE_FW_ASSISTED_TSO_V2 0x00002000 | ||||
#define EFX_FEATURE_PACKED_STREAM 0x00004000 | #define EFX_FEATURE_PACKED_STREAM 0x00004000 | ||||
typedef enum efx_tunnel_protocol_e { | |||||
EFX_TUNNEL_PROTOCOL_NONE = 0, | |||||
EFX_TUNNEL_PROTOCOL_VXLAN, | |||||
EFX_TUNNEL_PROTOCOL_GENEVE, | |||||
EFX_TUNNEL_PROTOCOL_NVGRE, | |||||
EFX_TUNNEL_NPROTOS | |||||
} efx_tunnel_protocol_t; | |||||
typedef struct efx_nic_cfg_s { | typedef struct efx_nic_cfg_s { | ||||
uint32_t enc_board_type; | uint32_t enc_board_type; | ||||
uint32_t enc_phy_type; | uint32_t enc_phy_type; | ||||
#if EFSYS_OPT_NAMES | #if EFSYS_OPT_NAMES | ||||
char enc_phy_name[21]; | char enc_phy_name[21]; | ||||
#endif | #endif | ||||
char enc_phy_revision[21]; | char enc_phy_revision[21]; | ||||
efx_mon_type_t enc_mon_type; | efx_mon_type_t enc_mon_type; | ||||
▲ Show 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | #endif /* EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD */ | ||||
boolean_t enc_rx_disable_scatter_supported; | boolean_t enc_rx_disable_scatter_supported; | ||||
boolean_t enc_allow_set_mac_with_installed_filters; | boolean_t enc_allow_set_mac_with_installed_filters; | ||||
boolean_t enc_enhanced_set_mac_supported; | boolean_t enc_enhanced_set_mac_supported; | ||||
boolean_t enc_init_evq_v2_supported; | boolean_t enc_init_evq_v2_supported; | ||||
boolean_t enc_rx_packed_stream_supported; | boolean_t enc_rx_packed_stream_supported; | ||||
boolean_t enc_rx_var_packed_stream_supported; | boolean_t enc_rx_var_packed_stream_supported; | ||||
boolean_t enc_pm_and_rxdp_counters; | boolean_t enc_pm_and_rxdp_counters; | ||||
boolean_t enc_mac_stats_40g_tx_size_bins; | boolean_t enc_mac_stats_40g_tx_size_bins; | ||||
uint32_t enc_tunnel_encapsulations_supported; | |||||
/* External port identifier */ | /* External port identifier */ | ||||
uint8_t enc_external_port; | uint8_t enc_external_port; | ||||
uint32_t enc_mcdi_max_payload_length; | uint32_t enc_mcdi_max_payload_length; | ||||
/* VPD may be per-PF or global */ | /* VPD may be per-PF or global */ | ||||
boolean_t enc_vpd_is_global; | boolean_t enc_vpd_is_global; | ||||
/* Minimum unidirectional bandwidth in Mb/s to max out all ports */ | /* Minimum unidirectional bandwidth in Mb/s to max out all ports */ | ||||
uint32_t enc_required_pcie_bandwidth_mbps; | uint32_t enc_required_pcie_bandwidth_mbps; | ||||
uint32_t enc_max_pcie_link_gen; | uint32_t enc_max_pcie_link_gen; | ||||
▲ Show 20 Lines • Show All 1,338 Lines • Show Last 20 Lines |