Vladimir Sokolovsky wrote:
+static int get_skb_hdr(struct sk_buff *skb, void **iphdr,
+               void **tcph, u64 *hdr_flags, void *priv)
+{
...
+    if (unlikely(skb->ip_summed != CHECKSUM_UNNECESSARY))
+        return -1;

This will return -1 if HCA is not capable of doing checksum offload.
Is there any reason to relate the checksum offload capability with LRO?

Or.

_______________________________________________
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