Previous generation HCAs needed the last byte of the GID set to 2 for
non-global address vectors, but ConnectX just ignores the remote GID
field for non-global AVs, so remove the unnecessary code that sets it.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
htonl((attr->grh.traffic_class << 20) |
attr->grh.flow_label);
memcpy(ah->av.dgid, attr->grh.dgid.raw, 16);
- } else {
- /* XXX needed?? low byte of GID must be 2 */
- ah->av.dgid[3] = htonl(2);
}
return &ah->ibv_ah;