[ofa-general] [PATCH v1 for-2.6.27] IPOIB: add LRO support

Or Gerlitz ogerlitz at voltaire.com
Wed Jun 25 01:38:12 PDT 2008


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.




More information about the general mailing list