HomeFreeBSD

ixgbe(4): Fix enabling/disabling and reconfiguration of queues

Description

ixgbe(4): Fix enabling/disabling and reconfiguration of queues

  • Wrong order of casting and bit shift caused that enabling and disabling queues didn't work properly for queues number larger than 32. Use literals with right suffix instead.
  • TX ring tail address was not updated during reinitiailzation of TX structures. It could block sending traffic.
  • Also remove unused variables 'eims' and 'active_queues'.

Submitted by: Krzysztof Galazka <krzysztof.galazka@intel.com>
Reviewed by: erj@
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D20826

(cherry picked from commit 2dc2d580354e95491a033fa9e21c8ef0cbd9bc42)

Details

Provenance
erjAuthored on Jul 23 2019, 6:14 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Oct 3 2021, 1:53 AM
Differential Revision
D20826: ixgbe(4): Fix enabling/disabling and reconfiguration of queues
Parents
rG90e279aecd64: ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc'
Branches
Unknown
Tags
Unknown