Re: IFCAP_LRO on FreeBSD 7




On Thu, 27 Nov 2008, Yony Yossef wrote:

Is there a native interface for LRO in FreeBSD 7? I can't find any use for IFCAP_LRO but notifying the driver if to use or not to use this offload.

If not, is it planned for FreeBSD 8?

IFCAP_LRO is a capability/policy flag allowing drivers to declare support for LRO, and for administrators to enable/disable it if present. Drivers can either provide their own implementation (mxge, nxge) or use the system implementation (cxgb, igb). I'm slightly surprised to see that igb references tcp_lro_init() but not IFCAP_LRO -- perhaps lro isn't yet fully hooked up, or perhaps there's a bug? I believe all of the above applies to 7.1 but not 7.0, except possibly mxge supporting LRO in 7.0.

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: IFCAP_LRO on FreeBSD 7
    ... IFCAP_LRO but notifying the driver if to use or not to use this offload. ... I'm slightly surprised to see that igb references tcp_lro_init() but not IFCAP_LRO -- perhaps lro isn't yet fully hooked up, ... I believe all of the above applies to 7.1 but not 7.0, except possibly mxge supporting LRO in 7.0. ...
    (freebsd-net)
  • Re: [RFC 0/3] lro: Generic Large Receive Offload for TCP traffic
    ... I'm the primary author of the Myricom Myri10GE driver, and its LRO mechanism ... accumulate the pages to the frags array. ... we have 16 1/2 4KB pages and a single skb holding them. ...
    (Linux-Kernel)
  • Re: [RFC 0/1] lro: Generic Large Receive Offload for TCP traffic
    ... I've ported myri10ge to use the new LRO interface. ... performance is on-par with my own LRO used by our out-of-tree driver. ... field in the lro_mgr struct to specify napi / non-napi. ... int len, int true_size, ...
    (Linux-Kernel)
  • Re: driver packet coalesce
    ... I guess it would only be able to coalesce TCP packets that are adjacent in the same session. ... are a number of obvious and non-obvious interaction issues with LRO ... The LRO implementation (in the driver) has to be aware of all these ... issues and how the TCP stack treats them. ...
    (freebsd-net)
  • Re: [PATCH 0/4][RFC] lro: Generic Large Receive Offload for TCP traffic
    ... LRO is analogous to a receive side version of TSO. ... driver) merges several consecutive segments from the same connection, ... frames, ... CPU usage? ...
    (Linux-Kernel)