Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fcoe_ctlr Struct Reference

#include <libfcoe.h>

Data Fields

enum fip_state state
 
enum fip_state mode
 
struct fc_lportlp
 
struct fcoe_fcfsel_fcf
 
struct list_head fcfs
 
u16 fcf_count
 
unsigned long sol_time
 
unsigned long sel_time
 
unsigned long port_ka_time
 
unsigned long ctlr_ka_time
 
struct timer_list timer
 
struct work_struct timer_work
 
struct work_struct recv_work
 
struct sk_buff_head fip_recv_list
 
struct sk_buffflogi_req
 
struct rnd_state rnd_state
 
u32 port_id
 
u16 user_mfs
 
u16 flogi_oxid
 
u8 flogi_req_send
 
u8 flogi_count
 
u8 map_dest
 
u8 spma
 
u8 probe_tries
 
u8 priority
 
u8 dest_addr [ETH_ALEN]
 
u8 ctl_src_addr [ETH_ALEN]
 
void(* send )(struct fcoe_ctlr *, struct sk_buff *)
 
void(* update_mac )(struct fc_lport *, u8 *addr)
 
u8 *(* get_src_addr )(struct fc_lport *)
 
struct mutex ctlr_mutex
 
spinlock_t ctlr_lock
 

Detailed Description

struct fcoe_ctlr - FCoE Controller and FIP state : internal FIP state for network link and FIP or non-FIP mode. : LLD-selected mode. : &fc_lport: libfc local port. : currently selected FCF, or NULL. : list of discovered FCFs. : number of discovered FCF entries. : time when a multicast solicitation was last sent. : time after which to select an FCF. : time of next port keep-alive. : time of next controller keep-alive. : timer struct used for all delayed events. : &work_struct for doing keep-alives and resets. : &work_struct for receiving FIP frames. : list of received FIP frames. : clone of FLOGI request sent : state for pseudo-random number generator. : proposed or selected local-port ID. : configured maximum FC frame size, including FC header. : exchange ID of most recent fabric login. : send of FLOGI requested : number of FLOGI attempts in AUTO mode. : use the FC_MAP mode for destination MAC addresses. : supports SPMA server-provided MACs mode : number of FC_IDs probed : MAC address of the selected FC forwarder. : the native MAC address of our local port. : LLD-supplied function to handle sending FIP Ethernet frames : LLD-supplied function to handle changes to MAC addresses. : LLD-supplied function to supply a source MAC address. : lock protecting this structure. : spinlock covering flogi_req

This structure is used by all FCoE drivers. It contains information needed by all FCoE low-level drivers (LLDs) as well as internal state for FIP, and fields shared with the LLDS.

Definition at line 124 of file libfcoe.h.

Field Documentation

u8 ctl_src_addr[ETH_ALEN]

Definition at line 153 of file libfcoe.h.

unsigned long ctlr_ka_time

Definition at line 134 of file libfcoe.h.

spinlock_t ctlr_lock

Definition at line 159 of file libfcoe.h.

struct mutex ctlr_mutex

Definition at line 158 of file libfcoe.h.

u8 dest_addr[ETH_ALEN]

Definition at line 152 of file libfcoe.h.

u16 fcf_count

Definition at line 130 of file libfcoe.h.

Definition at line 129 of file libfcoe.h.

struct sk_buff_head fip_recv_list

Definition at line 138 of file libfcoe.h.

u8 flogi_count

Definition at line 147 of file libfcoe.h.

u16 flogi_oxid

Definition at line 145 of file libfcoe.h.

struct sk_buff* flogi_req

Definition at line 139 of file libfcoe.h.

u8 flogi_req_send

Definition at line 146 of file libfcoe.h.

u8*(* get_src_addr)(struct fc_lport *)

Definition at line 157 of file libfcoe.h.

Definition at line 127 of file libfcoe.h.

u8 map_dest

Definition at line 148 of file libfcoe.h.

enum fip_state mode

Definition at line 126 of file libfcoe.h.

Definition at line 142 of file libfcoe.h.

unsigned long port_ka_time

Definition at line 133 of file libfcoe.h.

u8 priority

Definition at line 151 of file libfcoe.h.

u8 probe_tries

Definition at line 150 of file libfcoe.h.

struct work_struct recv_work

Definition at line 137 of file libfcoe.h.

Definition at line 141 of file libfcoe.h.

struct fcoe_fcf* sel_fcf

Definition at line 128 of file libfcoe.h.

unsigned long sel_time

Definition at line 132 of file libfcoe.h.

Definition at line 155 of file libfcoe.h.

unsigned long sol_time

Definition at line 131 of file libfcoe.h.

u8 spma

Definition at line 149 of file libfcoe.h.

Definition at line 125 of file libfcoe.h.

Definition at line 135 of file libfcoe.h.

struct work_struct timer_work

Definition at line 136 of file libfcoe.h.

void(* update_mac)(struct fc_lport *, u8 *addr)

Definition at line 156 of file libfcoe.h.

u16 user_mfs

Definition at line 144 of file libfcoe.h.


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