> > if (skb_shinfo(skb)->nr_frags) {
> 
> I would take the above condition instead of this:
> 
> if (ipoib_ud_need_sg(priv->max_ib_mtu)) {

Thanks Eli. I will create a patch for the code optimization. This patch
might not be picked up since it doesn't belong to critical bug.

Shirley

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to