Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/sfxge/common/efx.h
Show First 20 Lines • Show All 1,203 Lines • ▼ Show 20 Lines | #endif /* EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD */ | ||||
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; | uint32_t enc_tunnel_encapsulations_supported; | ||||
/* | |||||
* NIC global maximum for unique UDP tunnel ports shared by all | |||||
* functions. | |||||
*/ | |||||
uint32_t enc_tunnel_config_udp_entries_max; | |||||
/* 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,410 Lines • ▼ Show 20 Lines | |||||
efx_lic_finish_partition( | efx_lic_finish_partition( | ||||
__in efx_nic_t *enp, | __in efx_nic_t *enp, | ||||
__in_bcount(buffer_size) | __in_bcount(buffer_size) | ||||
caddr_t bufferp, | caddr_t bufferp, | ||||
__in size_t buffer_size); | __in size_t buffer_size); | ||||
#endif /* EFSYS_OPT_LICENSING */ | #endif /* EFSYS_OPT_LICENSING */ | ||||
/* TUNNEL */ | |||||
#if EFSYS_OPT_TUNNEL | |||||
extern __checkReturn efx_rc_t | |||||
efx_tunnel_init( | |||||
__in efx_nic_t *enp); | |||||
extern void | |||||
efx_tunnel_fini( | |||||
__in efx_nic_t *enp); | |||||
/* | |||||
* For overlay network encapsulation using UDP, the firmware needs to know | |||||
* the configured UDP port for the overlay so it can decode encapsulated | |||||
* frames correctly. | |||||
* The UDP port/protocol list is global. | |||||
*/ | |||||
extern __checkReturn efx_rc_t | |||||
efx_tunnel_config_udp_add( | |||||
__in efx_nic_t *enp, | |||||
__in uint16_t port /* host/cpu-endian */, | |||||
__in efx_tunnel_protocol_t protocol); | |||||
extern __checkReturn efx_rc_t | |||||
efx_tunnel_config_udp_remove( | |||||
__in efx_nic_t *enp, | |||||
__in uint16_t port /* host/cpu-endian */, | |||||
__in efx_tunnel_protocol_t protocol); | |||||
extern void | |||||
efx_tunnel_config_clear( | |||||
__in efx_nic_t *enp); | |||||
/** | |||||
* Apply tunnel UDP ports configuration to hardware. | |||||
* | |||||
* EAGAIN is returned if hardware will be reset (datapath and management CPU | |||||
* reboot). | |||||
*/ | |||||
extern __checkReturn efx_rc_t | |||||
efx_tunnel_reconfigure( | |||||
__in efx_nic_t *enp); | |||||
#endif /* EFSYS_OPT_TUNNEL */ | |||||
#ifdef __cplusplus | #ifdef __cplusplus | ||||
} | } | ||||
#endif | #endif | ||||
#endif /* _SYS_EFX_H */ | #endif /* _SYS_EFX_H */ |