Re: [PATCH net 4/5] net/smc: atomic SMCD cursor handling

2018-11-13 Thread David Miller
From: Ursula Braun Date: Mon, 12 Nov 2018 17:01:32 +0100 > +/* SMC-D cursor format */ > +union smcd_cdc_cursor { ... > +} __aligned(8); > struct smcd_cdc_msg { ... > + union smcd_cdc_cursor prod; > + union smcd_cdc_cursor cons; > u8 res3[8]; > } __packed; You're asking for

[PATCH net 4/5] net/smc: atomic SMCD cursor handling

2018-11-12 Thread Ursula Braun
Running uperf tests with SMCD on LPARs results in corrupted cursors. SMCD cursors should be treated atomically to fix cursor corruption. Signed-off-by: Ursula Braun --- net/smc/smc_cdc.c | 24 ++-- net/smc/smc_cdc.h | 56 ++-