Function switchml::GIDToMAC

Function Documentation

inline uint64_t switchml::GIDToMAC(const ibv_gid gid)

Extract the MAC address from a GID address.

See

MACToGID()

Parameters

gid[in] GID to extract from.

Returns

uint64_t The MAC address as a 64 bit integer (The two most significant bytes are ignored).