On Fri, Nov 09, 2018 at 01:08:21PM +0000, Parav Pandit wrote: > 1. RoCE default GIDs are constructed out of mac address and not from > the port GUID. (spec violation section 3.5.10) > 2. two default GIDs are constructed v1 and v2 for those HCAs which > support it. Nothing wrong there, but as side effect, RoCE Annex > standard A16.5.1 cannot be followed ("resolving destination by > standard ARP or ND"). > 3. In order to adhere to A 16.5.1 (that is - to always call > rdma_addr_find_l2_eth_by_grh(), regardless of GID type), GIDs has to > be based on IP addresses. This contradicts with the base IB spec to > have GID based out of port_GUID. Doing so will also make IB stack > rely on IPv6 functionality, which is not a problem, but then default > GID has to be constructed out of IP address and not mac address. I > have seen Ubuntu platform where link local IPv6 address by default > is not a function of MAC address. I always thought this ment that the IP address should be resolved to a MAC using ND, and then the MAC should be constructed into a GID and used for RoCEv1 addressing. Not that RoCEv1 GID's should contain IP addresses - v1 does not support IP addressing on the wire Jason