FreeBSD kernel CXGB device code
port_info Struct Reference

#include <cxgb_adapter.h>

Collaboration diagram for port_info:

Data Fields

struct adapteradapter
 
struct ifnet * ifp
 
int if_flags
 
int flags
 
const struct port_type_infoport_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]
 

Detailed Description

Definition at line 91 of file cxgb_adapter.h.

Field Documentation

◆ adapter

◆ first_qset

◆ flags

int port_info::flags

Definition at line 95 of file cxgb_adapter.h.

◆ hw_addr

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().

◆ if_flags

int port_info::if_flags

Definition at line 94 of file cxgb_adapter.h.

Referenced by cxgb_ioctl().

◆ ifp

◆ last_refreshed

struct timeval port_info::last_refreshed

Definition at line 99 of file cxgb_adapter.h.

Referenced by cxgb_refresh_stats().

◆ link_check_ch

struct callout port_info::link_check_ch

◆ link_check_task

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().

◆ link_config

◆ link_fault

int port_info::link_fault

◆ lock

struct mtx port_info::lock

Definition at line 102 of file cxgb_adapter.h.

◆ lockbuf

char port_info::lockbuf[PORT_LOCK_NAME_LEN]

Definition at line 118 of file cxgb_adapter.h.

Referenced by cxgb_port_attach().

◆ mac

◆ media

struct ifmedia port_info::media

◆ namebuf

char port_info::namebuf[PORT_NAME_LEN]

Definition at line 119 of file cxgb_adapter.h.

Referenced by t3_add_configured_sysctls().

◆ nqsets

◆ phy

◆ port_cdev

struct cdev* port_info::port_cdev

Definition at line 114 of file cxgb_adapter.h.

Referenced by cxgb_makedev(), and cxgb_port_detach().

◆ port_id

◆ port_type

const struct port_type_info* port_info::port_type

Definition at line 96 of file cxgb_adapter.h.

◆ timer_reclaim_task

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().

◆ tx_chan

uint32_t port_info::tx_chan

◆ txpkt_intf

uint32_t port_info::txpkt_intf

Definition at line 105 of file cxgb_adapter.h.

Referenced by cxgb_controller_attach(), and t3_encap().


The documentation for this struct was generated from the following file: