Lines Matching defs:smc_link_group
273 struct smc_link_group { struct
274 struct list_head list;
275 struct rb_root conns_all; /* connection tree */
276 rwlock_t conns_lock; /* protects conns_all */
277 unsigned int conns_num; /* current # of connections */
278 unsigned short vlan_id; /* vlan id of link group */
280 struct list_head sndbufs[SMC_RMBE_SIZES];/* tx buffers */
281 struct rw_semaphore sndbufs_lock; /* protects tx buffers */
282 struct list_head rmbs[SMC_RMBE_SIZES]; /* rx buffers */
283 struct rw_semaphore rmbs_lock; /* protects rx buffers */
284 u64 alloc_sndbufs; /* stats of tx buffers */
285 u64 alloc_rmbs; /* stats of rx buffers */
287 u8 id[SMC_LGR_ID_SIZE]; /* unique lgr id */
288 struct delayed_work free_work; /* delayed freeing of an lgr */
289 struct work_struct terminate_work; /* abnormal lgr termination */
290 struct workqueue_struct *tx_wq; /* wq for conn. tx workers */
291 u8 sync_err : 1; /* lgr no longer fits to peer */
292 u8 terminating : 1;/* lgr is terminating */
293 u8 freeing : 1; /* lgr is being freed */
295 refcount_t refcnt; /* lgr reference count */
296 bool is_smcd; /* SMC-R or SMC-D */
297 u8 smc_version;
298 u8 negotiated_eid[SMC_MAX_EID_LEN];
299 u8 peer_os; /* peer operating system */
300 u8 peer_smc_release;
301 u8 peer_hostname[SMC_MAX_HOSTNAME_LEN];
302 union {