Page MenuHomeFreeBSD

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

Authored by kgalazka on Jul 1 2019, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 6:21 AM
Unknown Object (File)
Sun, Oct 12, 6:21 AM
Unknown Object (File)
Sun, Oct 12, 6:21 AM
Unknown Object (File)
Sun, Oct 12, 6:21 AM
Unknown Object (File)
Sat, Oct 11, 11:26 PM
Unknown Object (File)
Sat, Oct 11, 9:35 PM
Unknown Object (File)
Sat, Oct 11, 8:08 PM
Unknown Object (File)
Sat, Oct 11, 12:33 PM

Details

Summary
  • 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'.
Test Plan

Respectfully requesting our Validation Team to perform a test pass before committing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable