>  int ib_init_ah_from_path(struct ib_device *device, u8 port_num,
 > -                     struct ib_sa_path_rec *rec, struct ib_ah_attr *ah_attr)
 > +                     struct ib_sa_path_rec *rec, struct ib_ah_attr *ah_attr,
 > +                     int force_grh)

Rather than this change in API, could we just have this function look at
the link layer, and if it's ethernet, then always set the GRH flag?
Seems simpler than requiring the upper layers to do this and then pass
the result in?
-- 
Roland Dreier <rola...@cisco.com> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to