FreeBSD kernel CXGBE device code
l2t_entry Struct Reference

#include <t4_l2t.h>

Collaboration diagram for l2t_entry:

Public Member Functions

 STAILQ_HEAD (, wrqe) wr_list
 

Data Fields

uint16_t state
 
uint16_t idx
 
uint32_t addr [4]
 
uint32_t iqid
 
struct sge_wrqwrq
 
struct ifnet * ifp
 
uint16_t smt_idx
 
uint16_t vlan
 
struct l2t_entryfirst
 
struct l2t_entrynext
 
struct mtx lock
 
volatile int refcnt
 
uint16_t hash
 
uint8_t ipv6
 
uint8_t lport
 
uint8_t dmac [ETHER_ADDR_LEN]
 

Detailed Description

Definition at line 63 of file t4_l2t.h.

Member Function Documentation

◆ STAILQ_HEAD()

l2t_entry::STAILQ_HEAD ( wrqe  )

Field Documentation

◆ addr

uint32_t l2t_entry::addr[4]

Definition at line 66 of file t4_l2t.h.

Referenced by sysctl_l2t().

◆ dmac

uint8_t l2t_entry::dmac[ETHER_ADDR_LEN]

◆ first

struct l2t_entry* l2t_entry::first

Definition at line 72 of file t4_l2t.h.

Referenced by find_or_alloc_l2e(), and t4_alloc_l2e().

◆ hash

uint16_t l2t_entry::hash

Definition at line 77 of file t4_l2t.h.

Referenced by find_or_alloc_l2e(), and t4_alloc_l2e().

◆ idx

uint16_t l2t_entry::idx

Definition at line 65 of file t4_l2t.h.

Referenced by mk_write_l2e(), sysctl_l2t(), t4_init_l2t(), and t4_l2t_release().

◆ ifp

struct ifnet* l2t_entry::ifp

Definition at line 69 of file t4_l2t.h.

Referenced by sysctl_l2t().

◆ ipv6

uint8_t l2t_entry::ipv6

Definition at line 78 of file t4_l2t.h.

Referenced by sysctl_l2t().

◆ iqid

uint32_t l2t_entry::iqid

Definition at line 67 of file t4_l2t.h.

Referenced by mk_write_l2e(), t4_l2t_alloc_switching(), and t4_l2t_alloc_tls().

◆ lock

struct mtx l2t_entry::lock

Definition at line 75 of file t4_l2t.h.

Referenced by sysctl_l2t(), t4_free_l2t(), t4_init_l2t(), t4_l2t_alloc_switching(), and t4_write_l2e().

◆ lport

uint8_t l2t_entry::lport

◆ next

struct l2t_entry* l2t_entry::next

Definition at line 73 of file t4_l2t.h.

Referenced by find_or_alloc_l2e(), and t4_alloc_l2e().

◆ refcnt

volatile int l2t_entry::refcnt

◆ smt_idx

uint16_t l2t_entry::smt_idx

Definition at line 70 of file t4_l2t.h.

◆ state

◆ vlan

uint16_t l2t_entry::vlan

◆ wrq

struct sge_wrq* l2t_entry::wrq

Definition at line 68 of file t4_l2t.h.

Referenced by t4_l2t_alloc_switching(), t4_l2t_alloc_tls(), and t4_write_l2e().


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