net/smc: separate locks for SMCD and SMCR link group lists
This patch introduces separate locks for the split SMCD and SMCR link group lists. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
This commit is contained in:
committed by
Jakub Kicinski
parent
a2351c5d86
commit
a0a62ee15a
@ -76,6 +76,7 @@ struct smcd_dev {
|
||||
u8 pnetid[SMC_MAX_PNETID_LEN];
|
||||
bool pnetid_by_user;
|
||||
struct list_head lgr_list;
|
||||
spinlock_t lgr_lock;
|
||||
};
|
||||
|
||||
struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name,
|
||||
|
Reference in New Issue
Block a user