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

Or Gerlitz ogerlitz at voltaire.com
Tue Jun 24 02:41:36 PDT 2008


Vladimir Sokolovsky wrote:
> add "ipoib_use_lro" module parameter to enable LRO.
How about that for this one we'll go on a finer granularity of being 
able to set it per device through sysfs?

> +    priv->lro.lro_mgr.get_skb_header = get_skb_hdr;
> +    priv->lro.lro_mgr.ip_summed = CHECKSUM_UNNECESSARY;
> +    priv->lro.lro_mgr.ip_summed_aggr = CHECKSUM_UNNECESSARY;
Looking in _lro_proc_skb() which is the code that would be processing 
ipoib skbs, it seems that the values of lro_mgr.ip_summed and 
lro_mgr.ip_summed_aggr should correlate to whether the HCA is capable of 
doing checksum offload or not.

Or.





More information about the general mailing list