HomeFreeBSD

cxgbe: fix enabling lro & rxtimestamps

Description

cxgbe: fix enabling lro & rxtimestamps

A recent change caused iq flags, like LRO, to be set before
init_iq(). However, init_iq() clears those flags, so they
became effectively impossible to set. This change moves
the initializion of these flags to after the call to init_iq().
This fixes LRO.

Differential Revision: https://reviews.freebsd.org/D30460
Reviewed by: np, rrs
Sponsored by: Netflix
Fixes: 43bbae19483fbde0a91e61acad8a6e71e334c8b8

(cherry picked from commit df8437a93dd5268e5bfd06411c01a5cbdb38c6ac)
(cherry picked from commit 392d7f026962b273cdcd3b230403efaa05f29efe)

Approved by: re@ (gjb@)

Details

Provenance
gallatinAuthored on May 26 2021, 1:54 PM
npCommitted on Apr 4 2022, 8:05 PM
Reviewer
rG43bbae19483f: cxgbe(4): Separate the sw- and hw-specific parts of resource allocations
Differential Revision
D30460: cxgbe: set iq flags only after it has been initialized
Parents
rGf5196112e8bd: lib/libz: remove ZLIBprivate_1.0 namespace.
Branches
Unknown
Tags
Unknown