Re: IFCAP_LRO on FreeBSD 7



On Thu, Nov 27, 2008 at 4:51 AM, Robert Watson <rwatson@xxxxxxxxxxx> wrote:


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.


Been so busy internally that I did not even realize that this
capability had been created, I need to change both igb and
ixgbe to use it.

Thanks for pointing this out,

Jack
_______________________________________________
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
    ... Is there a native interface for LRO in FreeBSD 7? ... I'm slightly surprised to see that igb ... except possibly mxge supporting LRO in 7.0. ...
    (freebsd-net)
  • [patch 47/87] igb: fix LRO warning
    ... 2.6.29-stable review patch. ... This fix is only needed for 2.6.29.y tree, since in 2.6.30 and later IGB ... has moved to using GRO instead of LRO. ...
    (Linux-Kernel)
  • [patch 25/60] igb: fix LRO warning
    ... -stable review patch. ... This fix is only needed for 2.6.29.y tree, since in 2.6.30 and later IGB ... has moved to using GRO instead of LRO. ...
    (Linux-Kernel)
  • Re: Ethernet NIC drivers depending unconditionally on INET
    ... Be prepared in case LRO will arrive for IPv6. ... > FreeBSD infrastructure for LRO/v4 help and work for you (and the ... For "port our LRO", I actually meant the LRO code itself, the IPv4 ...
    (freebsd-net)
  • IFCAP_LRO on FreeBSD 7
    ... Is there a native interface for LRO in FreeBSD 7? ... for IFCAP_LRO but notifying the driver if to use or not to use this ...
    (freebsd-net)