FreeBSD kernel CXGB device code
|
#include <cxgb_adapter.h>
Data Fields | |
struct adapter * | adapter |
struct ifnet * | ifp |
int | if_flags |
int | flags |
const struct port_type_info * | port_type |
struct cphy | phy |
struct cmac | mac |
struct timeval | last_refreshed |
struct link_config | link_config |
struct ifmedia | media |
struct mtx | lock |
uint32_t | port_id |
uint32_t | tx_chan |
uint32_t | txpkt_intf |
uint32_t | first_qset |
uint32_t | nqsets |
int | link_fault |
uint8_t | hw_addr [ETHER_ADDR_LEN] |
struct callout | link_check_ch |
struct task | link_check_task |
struct task | timer_reclaim_task |
struct cdev * | port_cdev |
char | lockbuf [PORT_LOCK_NAME_LEN] |
char | namebuf [PORT_NAME_LEN] |
Definition at line 91 of file cxgb_adapter.h.
struct adapter* port_info::adapter |
Definition at line 92 of file cxgb_adapter.h.
Referenced by check_link_status(), check_pkt_coalesce(), cxgb_controller_attach(), cxgb_extension_ioctl(), cxgb_get_counter(), cxgb_init(), cxgb_init_locked(), cxgb_ioctl(), cxgb_port_attach(), cxgb_port_detach(), cxgb_set_lro(), cxgb_start_locked(), cxgb_transmit(), cxgb_transmit_locked(), cxgb_uninit_locked(), cxgb_uninit_synchronized(), cxgb_update_mac_settings(), link_check_callout(), restart_ctrlq(), restart_tx(), set_eeprom(), sge_timer_reclaim(), t3_ael1002_phy_prep(), t3_ael1006_phy_prep(), t3_ael2005_phy_prep(), t3_ael2020_phy_prep(), t3_aq100x_phy_prep(), t3_dump_rspq(), t3_dump_txq_eth(), t3_encap(), t3_intr_msix(), t3_mv88e1xxx_phy_prep(), t3_qt2045_phy_prep(), t3_tn1010_phy_prep(), t3_vsc8211_phy_prep(), and t3_xaui_direct_phy_prep().
uint32_t port_info::first_qset |
Definition at line 106 of file cxgb_adapter.h.
Referenced by bind_qsets(), cxgb_controller_attach(), cxgb_extension_ioctl(), cxgb_get_counter(), cxgb_init_locked(), cxgb_port_detach(), cxgb_set_lro(), cxgb_transmit(), sge_timer_cb(), sge_timer_reclaim(), and t3_add_configured_sysctls().
int port_info::flags |
Definition at line 95 of file cxgb_adapter.h.
uint8_t port_info::hw_addr[ETHER_ADDR_LEN] |
Definition at line 110 of file cxgb_adapter.h.
Referenced by cxgb_port_attach(), cxgb_update_mac_settings(), and t3_os_set_hw_addr().
int port_info::if_flags |
Definition at line 94 of file cxgb_adapter.h.
Referenced by cxgb_ioctl().
struct ifnet* port_info::ifp |
Definition at line 93 of file cxgb_adapter.h.
Referenced by check_t3b2_mac(), cxgb_free(), cxgb_init_locked(), cxgb_makedev(), cxgb_port_attach(), cxgb_port_detach(), cxgb_start_locked(), cxgb_tx_watchdog(), cxgb_uninit_synchronized(), cxgb_update_mac_settings(), process_responses(), t3_encap(), t3_mac_set_rx_mode(), t3_os_link_changed(), t3_os_phymod_changed(), t3_rx_eth(), and t3_sge_alloc_qset().
struct timeval port_info::last_refreshed |
Definition at line 99 of file cxgb_adapter.h.
Referenced by cxgb_refresh_stats().
struct callout port_info::link_check_ch |
Definition at line 111 of file cxgb_adapter.h.
Referenced by check_link_status(), cxgb_init_locked(), cxgb_port_attach(), cxgb_uninit_synchronized(), and t3_os_link_intr().
struct task port_info::link_check_task |
Definition at line 112 of file cxgb_adapter.h.
Referenced by cxgb_port_attach(), cxgb_uninit_synchronized(), and link_check_callout().
struct link_config port_info::link_config |
Definition at line 100 of file cxgb_adapter.h.
Referenced by check_link_status(), check_t3b2_mac(), cxgb_init_locked(), cxgb_media_status(), cxgb_start_locked(), cxgb_transmit(), cxgb_transmit_locked(), cxgb_uninit_synchronized(), t3_link_changed(), and t3_prep_adapter().
int port_info::link_fault |
Definition at line 108 of file cxgb_adapter.h.
Referenced by check_link_status(), check_t3b2_mac(), mac_intr_handler(), and t3_link_changed().
struct mtx port_info::lock |
Definition at line 102 of file cxgb_adapter.h.
char port_info::lockbuf[PORT_LOCK_NAME_LEN] |
Definition at line 118 of file cxgb_adapter.h.
Referenced by cxgb_port_attach().
struct cmac port_info::mac |
Definition at line 98 of file cxgb_adapter.h.
Referenced by check_t3b2_mac(), cxgb_extension_ioctl(), cxgb_get_counter(), cxgb_init_locked(), cxgb_refresh_stats(), cxgb_tick_handler(), cxgb_uninit_synchronized(), cxgb_update_mac_settings(), mac_intr_handler(), sysctl_handle_macstat(), t3_add_configured_sysctls(), t3_clear_faults(), t3_detect_link_fault(), t3_link_changed(), t3_port_intr_clear(), t3_port_intr_disable(), t3_port_intr_enable(), t3_prep_adapter(), t3_xgm_intr_disable(), and t3_xgm_intr_enable().
struct ifmedia port_info::media |
Definition at line 101 of file cxgb_adapter.h.
Referenced by cxgb_build_medialist(), cxgb_ioctl(), cxgb_media_status(), cxgb_port_attach(), and t3_os_phymod_changed().
char port_info::namebuf[PORT_NAME_LEN] |
Definition at line 119 of file cxgb_adapter.h.
Referenced by t3_add_configured_sysctls().
uint32_t port_info::nqsets |
Definition at line 107 of file cxgb_adapter.h.
Referenced by bind_qsets(), cxgb_controller_attach(), cxgb_extension_ioctl(), cxgb_free(), cxgb_get_counter(), cxgb_init_locked(), cxgb_port_detach(), cxgb_set_lro(), cxgb_transmit(), setup_rss(), setup_sge_qsets(), sge_timer_cb(), sge_timer_reclaim(), t3_add_configured_sysctls(), and t3_set_coalesce_usecs().
struct cphy port_info::phy |
Definition at line 97 of file cxgb_adapter.h.
Referenced by check_link_status(), check_t3b2_mac(), cxgb_build_medialist(), cxgb_extension_ioctl(), cxgb_init_locked(), cxgb_media_status(), cxgb_port_probe(), cxgb_uninit_synchronized(), phy_intr_handler(), t3_ael1002_phy_prep(), t3_ael1006_phy_prep(), t3_ael2005_phy_prep(), t3_ael2020_phy_prep(), t3_aq100x_phy_prep(), t3_link_changed(), t3_mv88e1xxx_phy_prep(), t3_os_phymod_changed(), t3_port_intr_clear(), t3_port_intr_disable(), t3_port_intr_enable(), t3_prep_adapter(), t3_qt2045_phy_prep(), t3_reinit_adapter(), t3_tn1010_phy_prep(), t3_vsc8211_fifo_depth(), t3_vsc8211_phy_prep(), and t3_xaui_direct_phy_prep().
struct cdev* port_info::port_cdev |
Definition at line 114 of file cxgb_adapter.h.
Referenced by cxgb_makedev(), and cxgb_port_detach().
uint32_t port_info::port_id |
Definition at line 103 of file cxgb_adapter.h.
Referenced by check_link_status(), check_t3b2_mac(), cxgb_controller_attach(), cxgb_init_locked(), cxgb_port_attach(), cxgb_port_probe(), cxgb_tick_handler(), cxgb_uninit_synchronized(), link_check_callout(), t3_clear_faults(), and t3_link_changed().
const struct port_type_info* port_info::port_type |
Definition at line 96 of file cxgb_adapter.h.
struct task port_info::timer_reclaim_task |
Definition at line 113 of file cxgb_adapter.h.
Referenced by sge_timer_cb(), and t3_sge_init_port().
uint32_t port_info::tx_chan |
Definition at line 104 of file cxgb_adapter.h.
Referenced by bind_qsets(), cxgb_controller_attach(), cxgb_update_mac_settings(), and setup_rss().
uint32_t port_info::txpkt_intf |
Definition at line 105 of file cxgb_adapter.h.
Referenced by cxgb_controller_attach(), and t3_encap().