Re: [PATCH net-next v4 10/18] net/smc: implement ID-related operations of loopback
From: Alexandra Winter <wintera@linux.ibm.com>
Date: 2023-10-18 13:24:24
Also in:
linux-s390, lkml
From: Alexandra Winter <wintera@linux.ibm.com>
Date: 2023-10-18 13:24:24
Also in:
linux-s390, lkml
On 24.09.23 17:16, Wen Gu wrote:
This patch implements GID/CHID/SEID related operations of SMC-D loopback device. In loopback device, GID is generated by UUIDv4 algorithm, CHID is reserved 0xFFFF, SEID is generated using the same algorithm as ISM device under s390 architecture, and is 0 and disabled under non-s390 architecture. Signed-off-by: Wen Gu [off-list ref] ---
IMO, get_system_eid should not be part of smcd_ops. And should not be provided by an smcd device. It is a system_eid is a global value that is valid for all smcd interfaces of this system (os instance). So I think it should be provided by the smc module. I agree it needs to be architecture dependent and same as today for s390.