[Bug 271371] e1000 driver falsely reports that it supports LRO

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 May 2023 22:19:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271371

Eric Joyner <erj@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erj@freebsd.org

--- Comment #1 from Eric Joyner <erj@freebsd.org> ---
I don't understand this bug?

The IFCAP_LRO capability gets passed to iflib via the
isc_capenable/isc_capabilities fields via the driver's if_softc_ctx_t object,
then those are used in a if_setcapabilities/if_setcapenable() call in iflib
when the driver loads. Then iflib sets up the lro context and handles sending
packets via LRO's tcp_lro_rx() instead of the regular if_input() routine.

iflib ends up handling most of it, but the driver still needs to set IFCAP_LRO
if it wants iflib to use LRO.

-- 
You are receiving this mail because:
You are the assignee for the bug.