FreeBSD kernel CXGBE device code
|
#include <adapter.h>
Data Fields | |
device_t | dev |
struct adapter * | adapter |
struct vi_info * | vi |
int | nvi |
int | up_vis |
int | uld_vis |
bool | vxlan_tcam_entry |
struct tx_sched_params * | sched_params |
struct mtx | pi_lock |
char | lockname [16] |
unsigned long | flags |
uint8_t | lport |
int8_t | mdio_addr |
uint8_t | port_type |
uint8_t | mod_type |
uint8_t | port_id |
uint8_t | tx_chan |
uint8_t | mps_bg_map |
uint8_t | rx_e_chan_map |
uint8_t | rx_c_chan |
struct link_config | link_cfg |
struct ifmedia | media |
struct port_stats | stats |
u_int | tnl_cong_drops |
u_int | tx_parse_error |
int | fcs_reg |
uint64_t | fcs_base |
struct sysctl_ctx_list | ctx |
struct adapter* port_info::adapter |
Definition at line 306 of file adapter.h.
Referenced by add_maddr(), apply_link_config(), cxgbe_attach(), cxgbe_detach(), cxgbe_init_synchronized(), cxgbe_ioctl(), cxgbe_media_change(), cxgbe_media_status(), cxgbe_sysctls(), cxgbe_uninit_synchronized(), handle_port_info(), sysctl_autoneg(), sysctl_btphy(), sysctl_force_fec(), sysctl_module_fec(), sysctl_pause_settings(), sysctl_requested_fec(), t4_attach(), t4_os_link_changed(), t4_os_portmod_changed(), t4_update_port_info(), t4vf_attach(), update_mac_settings(), and vcxgbe_attach().
struct sysctl_ctx_list port_info::ctx |
Definition at line 339 of file adapter.h.
Referenced by cxgbe_attach(), cxgbe_detach(), and cxgbe_sysctls().
device_t port_info::dev |
Definition at line 305 of file adapter.h.
Referenced by apply_link_config(), cxgbe_attach(), cxgbe_detach(), cxgbe_probe(), cxgbe_sysctls(), notify_siblings(), t4_attach(), t4_child_location(), t4_detach(), t4_detach_common(), t4_read_port_device(), t4_resume(), and t4vf_attach().
uint64_t port_info::fcs_base |
Definition at line 337 of file adapter.h.
Referenced by clear_stats(), t4_attach(), t4_get_port_stats(), and t4_os_link_changed().
int port_info::fcs_reg |
Definition at line 336 of file adapter.h.
Referenced by clear_stats(), t4_attach(), t4_get_port_stats(), and t4_os_link_changed().
unsigned long port_info::flags |
Definition at line 318 of file adapter.h.
Referenced by build_medialist(), cxgbe_detach(), cxgbe_init_synchronized(), t4_attach(), and t4_os_portmod_changed().
struct link_config port_info::link_cfg |
Definition at line 330 of file adapter.h.
Referenced by apply_link_config(), build_medialist(), cxgbe_init_synchronized(), cxgbe_media_change(), cxgbe_media_status(), cxgbe_sysctls(), cxgbe_transmit(), cxgbe_uninit_synchronized(), fixup_link_config(), handle_port_info(), init_link_config(), port_top_speed(), set_current_media(), sysctl_autoneg(), sysctl_force_fec(), sysctl_link_fec(), sysctl_linkdnrc(), sysctl_module_fec(), sysctl_pause_settings(), sysctl_requested_fec(), t4_os_link_changed(), t4_resume(), and t4_suspend().
char port_info::lockname[16] |
Definition at line 317 of file adapter.h.
Referenced by t4_attach(), and t4vf_attach().
uint8_t port_info::lport |
Definition at line 320 of file adapter.h.
Referenced by t4_port_init().
int8_t port_info::mdio_addr |
Definition at line 321 of file adapter.h.
Referenced by handle_port_info(), and sysctl_btphy().
struct ifmedia port_info::media |
Definition at line 331 of file adapter.h.
Referenced by build_medialist(), cxgbe_detach(), cxgbe_ioctl(), cxgbe_media_change(), set_current_media(), t4_attach(), and t4vf_attach().
uint8_t port_info::mod_type |
Definition at line 323 of file adapter.h.
Referenced by handle_port_info(), port_mword(), sysctl_module_fec(), and t4_os_portmod_changed().
uint8_t port_info::mps_bg_map |
Definition at line 326 of file adapter.h.
Referenced by cxgbe_sysctls(), t4_clr_port_stats(), t4_get_lb_stats(), t4_get_port_stats(), and t4_port_init().
int port_info::nvi |
Definition at line 309 of file adapter.h.
Referenced by cxgbe_vi_attach(), t4_attach(), and t4vf_attach().
struct mtx port_info::pi_lock |
Definition at line 316 of file adapter.h.
Referenced by t4_attach(), t4_detach_common(), and t4vf_attach().
uint8_t port_info::port_id |
Definition at line 324 of file adapter.h.
Referenced by alloc_extra_vi(), clear_stats(), cxgbe_ioctl(), cxgbe_probe(), cxgbe_refresh_stats(), cxgbe_sysctls(), enable_vxlan_rx(), t4_attach(), t4_child_location(), t4_ifnet_unit(), t4_port_init(), t4_reserve_cl_rl_kbps(), t4vf_attach(), update_mac_settings(), and vcxgbe_probe().
uint8_t port_info::port_type |
Definition at line 322 of file adapter.h.
Referenced by cxgbe_sysctls(), fixed_ifmedia(), handle_port_info(), port_mword(), t4_attach(), and t4_os_portmod_changed().
uint8_t port_info::rx_c_chan |
Definition at line 328 of file adapter.h.
Referenced by ccr_init_port(), cxgbe_sysctls(), and t4_port_init().
uint8_t port_info::rx_e_chan_map |
Definition at line 327 of file adapter.h.
Referenced by clear_stats(), cxgbe_refresh_stats(), cxgbe_sysctls(), t4_port_init(), and tnl_cong().
struct tx_sched_params* port_info::sched_params |
Definition at line 314 of file adapter.h.
Referenced by bind_txq_to_traffic_class(), cxgbe_sysctls(), set_sched_class_params(), sysctl_tc_params(), t4_free_tx_sched(), t4_init_tx_sched(), t4_release_cl_rl(), t4_reserve_cl_rl_kbps(), and update_tx_sched().
struct port_stats port_info::stats |
Definition at line 333 of file adapter.h.
Referenced by clear_stats(), cxgbe_get_counter(), cxgbe_refresh_stats(), and t4_os_link_changed().
u_int port_info::tnl_cong_drops |
Definition at line 334 of file adapter.h.
Referenced by clear_stats(), cxgbe_get_counter(), and cxgbe_refresh_stats().
uint8_t port_info::tx_chan |
Definition at line 325 of file adapter.h.
Referenced by alloc_ctrlq(), alloc_extra_vi(), alloc_iq_fl_hwq(), alloc_txq(), apply_link_config(), ccr_init_port(), clear_stats(), cxgbe_init_synchronized(), set_sched_class_params(), sysctl_tx_vm_wr(), t4_attach(), t4_handle_fw_rpl(), t4_os_link_changed(), t4_port_init(), t4_resume(), t4_set_tracer(), t4_update_port_info(), t4vf_attach(), and update_tx_sched().
u_int port_info::tx_parse_error |
Definition at line 335 of file adapter.h.
Referenced by clear_stats(), cxgbe_sysctls(), cxgbe_transmit(), and t4vf_ioctl().
int port_info::up_vis |
Definition at line 310 of file adapter.h.
Referenced by cxgbe_init_synchronized(), cxgbe_media_change(), cxgbe_media_status(), cxgbe_uninit_synchronized(), sysctl_autoneg(), sysctl_force_fec(), sysctl_module_fec(), sysctl_pause_settings(), sysctl_requested_fec(), t4_resume(), and t4_suspend().
struct vi_info* port_info::vi |
Definition at line 308 of file adapter.h.
Referenced by add_maddr(), alloc_extra_vi(), alloc_fwq(), alloc_txq(), ccr_init_port(), cxgbe_attach(), cxgbe_detach(), cxgbe_get_counter(), cxgbe_init_synchronized(), cxgbe_ioctl(), cxgbe_media_change(), cxgbe_media_status(), cxgbe_transmit(), cxgbe_uninit_synchronized(), enable_vxlan_rx(), set_sched_class_params(), sysctl_autoneg(), sysctl_btphy(), sysctl_force_fec(), sysctl_pause_settings(), sysctl_requested_fec(), sysctl_tx_vm_wr(), t4_attach(), t4_detach_common(), t4_os_portmod_changed(), t4_os_set_hw_addr(), t4_port_init(), t4_reserve_cl_rl_kbps(), t4_resume(), t4_set_sched_queue(), t4vf_attach(), update_mac_settings(), and vcxgbe_probe().
bool port_info::vxlan_tcam_entry |
Definition at line 312 of file adapter.h.
Referenced by enable_vxlan_rx(), t4_suspend(), and update_mac_settings().