mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The first implementation of HSCI (HiperSockets Converged Interface) supports only a single static MAC address per HSCI and thus constructs like MACVTAP or OpenVSwitch cannot be used on top of it. Kernel commits f7936b7b2663 s390/qeth: Update MACs of LEARNING_SYNC device 4e20e73e631a s390/qeth: Switchdev event handler 60bb1089467d s390/qeth: Register switchdev event handler changed the behaviour of a LEARNING_SYNC HiperSockets (HS) device such that any MAC address that is added or learned on a non-isolated bridgeport of the HSCI bridge is set on the LEARNING_SYNC HS device and its isolated siblings. So no new trigger is required for a HS device with the bridge attribute LEARNING_SYNC to support multiple MACs on a northbound HSCI interface. However the first implementation of the hsci tool uses the bridge itself as northbound HSCI interface. This is not treated as a real bridgeport. So we add a veth bridgeport as northern link for HSCI. Signed-off-by: Alexandra Winter <wintera@linux.ibm.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>