Lines Matching defs:smc_link_group
213 struct smc_link_group { struct
214 struct list_head list;
215 struct rb_root conns_all; /* connection tree */
216 rwlock_t conns_lock; /* protects conns_all */
217 unsigned int conns_num; /* current # of connections */
218 unsigned short vlan_id; /* vlan id of link group */
220 struct list_head sndbufs[SMC_RMBE_SIZES];/* tx buffers */
221 struct mutex sndbufs_lock; /* protects tx buffers */
222 struct list_head rmbs[SMC_RMBE_SIZES]; /* rx buffers */
223 struct mutex rmbs_lock; /* protects rx buffers */
225 u8 id[SMC_LGR_ID_SIZE]; /* unique lgr id */
226 struct delayed_work free_work; /* delayed freeing of an lgr */
227 struct work_struct terminate_work; /* abnormal lgr termination */
228 struct workqueue_struct *tx_wq; /* wq for conn. tx workers */
229 u8 sync_err : 1; /* lgr no longer fits to peer */
230 u8 terminating : 1;/* lgr is terminating */
231 u8 freeing : 1; /* lgr is being freed */
233 bool is_smcd; /* SMC-R or SMC-D */
234 u8 smc_version;
235 u8 negotiated_eid[SMC_MAX_EID_LEN];
236 u8 peer_os; /* peer operating system */
237 u8 peer_smc_release;
238 u8 peer_hostname[SMC_MAX_HOSTNAME_LEN];
239 union {