Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/cxgbe/adapter.h
Show First 20 Lines • Show All 1,149 Lines • ▼ Show 20 Lines | |||||
void t4_sysctls(struct adapter *); | void t4_sysctls(struct adapter *); | ||||
int begin_synchronized_op(struct adapter *, struct vi_info *, int, char *); | int begin_synchronized_op(struct adapter *, struct vi_info *, int, char *); | ||||
void doom_vi(struct adapter *, struct vi_info *); | void doom_vi(struct adapter *, struct vi_info *); | ||||
void end_synchronized_op(struct adapter *, int); | void end_synchronized_op(struct adapter *, int); | ||||
int update_mac_settings(struct ifnet *, int); | int update_mac_settings(struct ifnet *, int); | ||||
int adapter_full_init(struct adapter *); | int adapter_full_init(struct adapter *); | ||||
int adapter_full_uninit(struct adapter *); | int adapter_full_uninit(struct adapter *); | ||||
uint64_t cxgbe_get_counter(struct ifnet *, ift_counter); | uint64_t cxgbe_get_counter(struct ifnet *, ift_counter); | ||||
void cxgbe_snd_tag_init(struct cxgbe_snd_tag *, struct ifnet *, int); | |||||
int vi_full_init(struct vi_info *); | int vi_full_init(struct vi_info *); | ||||
int vi_full_uninit(struct vi_info *); | int vi_full_uninit(struct vi_info *); | ||||
void vi_sysctls(struct vi_info *); | void vi_sysctls(struct vi_info *); | ||||
void vi_tick(void *); | void vi_tick(void *); | ||||
int rw_via_memwin(struct adapter *, int, uint32_t, uint32_t *, int, int); | int rw_via_memwin(struct adapter *, int, uint32_t, uint32_t *, int, int); | ||||
int alloc_atid(struct adapter *, void *); | int alloc_atid(struct adapter *, void *); | ||||
void *lookup_atid(struct adapter *, int); | void *lookup_atid(struct adapter *, int); | ||||
void free_atid(struct adapter *, int); | void free_atid(struct adapter *, int); | ||||
▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
void commit_wrq_wr(struct sge_wrq *, void *, struct wrq_cookie *); | void commit_wrq_wr(struct sge_wrq *, void *, struct wrq_cookie *); | ||||
int tnl_cong(struct port_info *, int); | int tnl_cong(struct port_info *, int); | ||||
void t4_register_an_handler(an_handler_t); | void t4_register_an_handler(an_handler_t); | ||||
void t4_register_fw_msg_handler(int, fw_msg_handler_t); | void t4_register_fw_msg_handler(int, fw_msg_handler_t); | ||||
void t4_register_cpl_handler(int, cpl_handler_t); | void t4_register_cpl_handler(int, cpl_handler_t); | ||||
void t4_register_shared_cpl_handler(int, cpl_handler_t, int); | void t4_register_shared_cpl_handler(int, cpl_handler_t, int); | ||||
#ifdef RATELIMIT | #ifdef RATELIMIT | ||||
int ethofld_transmit(struct ifnet *, struct mbuf *); | int ethofld_transmit(struct ifnet *, struct mbuf *); | ||||
void send_etid_flush_wr(struct cxgbe_snd_tag *); | void send_etid_flush_wr(struct cxgbe_rate_tag *); | ||||
#endif | #endif | ||||
/* t4_tracer.c */ | /* t4_tracer.c */ | ||||
struct t4_tracer; | struct t4_tracer; | ||||
void t4_tracer_modload(void); | void t4_tracer_modload(void); | ||||
void t4_tracer_modunload(void); | void t4_tracer_modunload(void); | ||||
void t4_tracer_port_detach(struct adapter *); | void t4_tracer_port_detach(struct adapter *); | ||||
int t4_get_tracer(struct adapter *, struct t4_tracer *); | int t4_get_tracer(struct adapter *, struct t4_tracer *); | ||||
Show All 9 Lines | |||||
void t4_update_tx_sched(struct adapter *); | void t4_update_tx_sched(struct adapter *); | ||||
int t4_reserve_cl_rl_kbps(struct adapter *, int, u_int, int *); | int t4_reserve_cl_rl_kbps(struct adapter *, int, u_int, int *); | ||||
void t4_release_cl_rl(struct adapter *, int, int); | void t4_release_cl_rl(struct adapter *, int, int); | ||||
int sysctl_tc(SYSCTL_HANDLER_ARGS); | int sysctl_tc(SYSCTL_HANDLER_ARGS); | ||||
int sysctl_tc_params(SYSCTL_HANDLER_ARGS); | int sysctl_tc_params(SYSCTL_HANDLER_ARGS); | ||||
#ifdef RATELIMIT | #ifdef RATELIMIT | ||||
void t4_init_etid_table(struct adapter *); | void t4_init_etid_table(struct adapter *); | ||||
void t4_free_etid_table(struct adapter *); | void t4_free_etid_table(struct adapter *); | ||||
struct cxgbe_snd_tag *lookup_etid(struct adapter *, int); | struct cxgbe_rate_tag *lookup_etid(struct adapter *, int); | ||||
int cxgbe_snd_tag_alloc(struct ifnet *, union if_snd_tag_alloc_params *, | int cxgbe_rate_tag_alloc(struct ifnet *, union if_snd_tag_alloc_params *, | ||||
struct m_snd_tag **); | struct m_snd_tag **); | ||||
int cxgbe_snd_tag_modify(struct m_snd_tag *, union if_snd_tag_modify_params *); | int cxgbe_rate_tag_modify(struct m_snd_tag *, union if_snd_tag_modify_params *); | ||||
int cxgbe_snd_tag_query(struct m_snd_tag *, union if_snd_tag_query_params *); | int cxgbe_rate_tag_query(struct m_snd_tag *, union if_snd_tag_query_params *); | ||||
void cxgbe_snd_tag_free(struct m_snd_tag *); | void cxgbe_rate_tag_free(struct m_snd_tag *); | ||||
void cxgbe_snd_tag_free_locked(struct cxgbe_snd_tag *); | void cxgbe_rate_tag_free_locked(struct cxgbe_rate_tag *); | ||||
void cxgbe_ratelimit_query(struct ifnet *, struct if_ratelimit_query_results *); | void cxgbe_ratelimit_query(struct ifnet *, struct if_ratelimit_query_results *); | ||||
#endif | #endif | ||||
/* t4_filter.c */ | /* t4_filter.c */ | ||||
int get_filter_mode(struct adapter *, uint32_t *); | int get_filter_mode(struct adapter *, uint32_t *); | ||||
int set_filter_mode(struct adapter *, uint32_t); | int set_filter_mode(struct adapter *, uint32_t); | ||||
int get_filter(struct adapter *, struct t4_filter *); | int get_filter(struct adapter *, struct t4_filter *); | ||||
int set_filter(struct adapter *, struct t4_filter *); | int set_filter(struct adapter *, struct t4_filter *); | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |