Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/sfxge/common/efx_impl.h
Show First 20 Lines • Show All 260 Lines • ▼ Show 20 Lines | efx_filter_reconfigure( | ||||
__in boolean_t mulcst, | __in boolean_t mulcst, | ||||
__in boolean_t all_mulcst, | __in boolean_t all_mulcst, | ||||
__in boolean_t brdcst, | __in boolean_t brdcst, | ||||
__in_ecount(6*count) uint8_t const *addrs, | __in_ecount(6*count) uint8_t const *addrs, | ||||
__in int count); | __in int count); | ||||
#endif /* EFSYS_OPT_FILTER */ | #endif /* EFSYS_OPT_FILTER */ | ||||
typedef struct efx_pktfilter_ops_s { | |||||
efx_rc_t (*epfo_set)(efx_nic_t *, | |||||
boolean_t unicst, | |||||
boolean_t brdcast); | |||||
#if EFSYS_OPT_MCAST_FILTER_LIST | |||||
efx_rc_t (*epfo_mcast_list_set)(efx_nic_t *, | |||||
uint8_t const *addrs, int count); | |||||
#endif /* EFSYS_OPT_MCAST_FILTER_LIST */ | |||||
efx_rc_t (*epfo_mcast_all)(efx_nic_t *); | |||||
} efx_pktfilter_ops_t; | |||||
typedef struct efx_port_s { | typedef struct efx_port_s { | ||||
efx_mac_type_t ep_mac_type; | efx_mac_type_t ep_mac_type; | ||||
uint32_t ep_phy_type; | uint32_t ep_phy_type; | ||||
uint8_t ep_port; | uint8_t ep_port; | ||||
uint32_t ep_mac_pdu; | uint32_t ep_mac_pdu; | ||||
uint8_t ep_mac_addr[6]; | uint8_t ep_mac_addr[6]; | ||||
efx_link_mode_t ep_link_mode; | efx_link_mode_t ep_link_mode; | ||||
▲ Show 20 Lines • Show All 332 Lines • ▼ Show 20 Lines | struct efx_nic_s { | ||||
efx_nic_ops_t *en_enop; | efx_nic_ops_t *en_enop; | ||||
efx_ev_ops_t *en_eevop; | efx_ev_ops_t *en_eevop; | ||||
efx_tx_ops_t *en_etxop; | efx_tx_ops_t *en_etxop; | ||||
efx_rx_ops_t *en_erxop; | efx_rx_ops_t *en_erxop; | ||||
#if EFSYS_OPT_FILTER | #if EFSYS_OPT_FILTER | ||||
efx_filter_t en_filter; | efx_filter_t en_filter; | ||||
efx_filter_ops_t *en_efop; | efx_filter_ops_t *en_efop; | ||||
#endif /* EFSYS_OPT_FILTER */ | #endif /* EFSYS_OPT_FILTER */ | ||||
efx_pktfilter_ops_t *en_epfop; | |||||
#if EFSYS_OPT_MCDI | #if EFSYS_OPT_MCDI | ||||
efx_mcdi_t en_mcdi; | efx_mcdi_t en_mcdi; | ||||
#endif /* EFSYS_OPT_MCDI */ | #endif /* EFSYS_OPT_MCDI */ | ||||
#if EFSYS_OPT_NVRAM | #if EFSYS_OPT_NVRAM | ||||
efx_nvram_type_t en_nvram_locked; | efx_nvram_type_t en_nvram_locked; | ||||
efx_nvram_ops_t *en_envop; | efx_nvram_ops_t *en_envop; | ||||
#endif /* EFSYS_OPT_NVRAM */ | #endif /* EFSYS_OPT_NVRAM */ | ||||
#if EFSYS_OPT_VPD | #if EFSYS_OPT_VPD | ||||
▲ Show 20 Lines • Show All 551 Lines • Show Last 20 Lines |