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 */
285 u8 id[SMC_LGR_ID_SIZE]; /* unique lgr id */
286 struct delayed_work free_work; /* delayed freeing of an lgr */
287 struct work_struct terminate_work; /* abnormal lgr termination */
288 struct workqueue_struct *tx_wq; /* wq for conn. tx workers */
289 u8 sync_err : 1; /* lgr no longer fits to peer */
290 u8 terminating : 1;/* lgr is terminating */
291 u8 freeing : 1; /* lgr is being freed */
293 refcount_t refcnt; /* lgr reference count */
294 bool is_smcd; /* SMC-R or SMC-D */
295 u8 smc_version;
296 u8 negotiated_eid[SMC_MAX_EID_LEN];
297 u8 peer_os; /* peer operating system */
298 u8 peer_smc_release;
299 u8 peer_hostname[SMC_MAX_HOSTNAME_LEN];
300 union {