hololink::emulation::RoCEv2DataPlane
hololink::emulation::RoCEv2DataPlane
The DataPlane implementation for RoCEv2 UDP transport.
Inherits from: hololink::emulation::DataPlane (public)
Constructors
RoCEv2DataPlane
Construct a new RoCEv2DataPlane object.
python:
def __init__(self: hemu.RoCEv2DataPlane, hsb_emulator: hemu.HSBEmulator, source_ip: hemu.IPAddress, data_plane_id: int, sensor_id: int)
Parameters
hsb_emulator
The HSBEmulator object to attach to.
source_ip
The IP address of the DataPlane.
data_plane_id
The identifying index of the DataPlane.
sensor_id
The identifying index of the sensor interface associated with the DataPlane.
Destructor
~RoCEv2DataPlane
Methods
update_metadata
Update the TransmissionMetadata for the RoCEv2DataPlane.
Only one thread may call RoCEv2DataPlane::send at a time. DataPlane::send() ensures thread safety.