Lines Matching defs:gid
55 #define EHCA_VALID_MULTICAST_GID(gid) ((gid)[0] == 0xFF)
59 int ehca_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
72 if (!(EHCA_VALID_MULTICAST_GID(gid->raw))) {
73 ehca_err(ibqp->device, "invalid mulitcast gid");
80 memcpy(&my_gid.raw, gid->raw, sizeof(union ib_gid));
96 int ehca_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
109 if (!(EHCA_VALID_MULTICAST_GID(gid->raw))) {
110 ehca_err(ibqp->device, "invalid mulitcast gid");
117 memcpy(&my_gid.raw, gid->raw, sizeof(union ib_gid));