Page MenuHomeFreeBSD

Reject new sessions if the necessary queues aren't initialized.
ClosedPublic

Authored by jhb on Dec 7 2018, 7:29 PM.
Tags
None
Referenced Files
F139650937: D18478.id51735.diff
Sun, Dec 14, 2:35 PM
Unknown Object (File)
Thu, Nov 20, 5:18 PM
Unknown Object (File)
Thu, Nov 20, 5:15 PM
Unknown Object (File)
Thu, Nov 20, 5:15 PM
Unknown Object (File)
Thu, Nov 20, 5:06 PM
Unknown Object (File)
Oct 27 2025, 7:09 PM
Unknown Object (File)
Oct 26 2025, 6:27 PM
Unknown Object (File)
Oct 26 2025, 6:27 PM
Subscribers

Details

Summary

ccr reuses the control queue and first rx queue from the first port on
each adapter. The driver cannot send requests until those queues are
initialized. Refuse to create sessions for now if the queues aren't
ready. This is a workaround until cxgbe allocates one or more
dedicated queues for ccr.

PR: 233851

Test Plan
  • kldload ccr and cryptodev and run cryptocheck -d ccr0. Previously panicked, now fails with ENXIO.
  • do ifconfig cc0 up and verify that cryptocheck still works.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 21435
Build 20757: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 15 2019, 6:53 PM
This revision was automatically updated to reflect the committed changes.