FreeBSD kernel CXGBE device code
port_info Struct Reference

#include <adapter.h>

Collaboration diagram for port_info:

Data Fields

device_t dev
 
struct adapteradapter
 
struct vi_infovi
 
int nvi
 
int up_vis
 
int uld_vis
 
bool vxlan_tcam_entry
 
struct tx_sched_paramssched_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
 

Detailed Description

Definition at line 304 of file adapter.h.

Field Documentation

◆ adapter

◆ ctx

struct sysctl_ctx_list port_info::ctx

Definition at line 339 of file adapter.h.

Referenced by cxgbe_attach(), cxgbe_detach(), and cxgbe_sysctls().

◆ dev

◆ fcs_base

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

◆ fcs_reg

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

◆ flags

unsigned long port_info::flags

◆ link_cfg

◆ lockname

char port_info::lockname[16]

Definition at line 317 of file adapter.h.

Referenced by t4_attach(), and t4vf_attach().

◆ lport

uint8_t port_info::lport

Definition at line 320 of file adapter.h.

Referenced by t4_port_init().

◆ mdio_addr

int8_t port_info::mdio_addr

Definition at line 321 of file adapter.h.

Referenced by handle_port_info(), and sysctl_btphy().

◆ media

struct ifmedia port_info::media

◆ mod_type

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

◆ mps_bg_map

uint8_t port_info::mps_bg_map

◆ nvi

int port_info::nvi

Definition at line 309 of file adapter.h.

Referenced by cxgbe_vi_attach(), t4_attach(), and t4vf_attach().

◆ pi_lock

struct mtx port_info::pi_lock

Definition at line 316 of file adapter.h.

Referenced by t4_attach(), t4_detach_common(), and t4vf_attach().

◆ port_id

◆ port_type

uint8_t port_info::port_type

◆ rx_c_chan

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

◆ rx_e_chan_map

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

◆ sched_params

◆ stats

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

◆ tnl_cong_drops

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

◆ tx_chan

◆ tx_parse_error

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

◆ uld_vis

int port_info::uld_vis

Definition at line 311 of file adapter.h.

◆ up_vis

◆ vi

◆ vxlan_tcam_entry

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


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