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
Unknown Object (File)
Tue, Mar 26, 12:03 AM
Unknown Object (File)
Dec 20 2023, 3:52 AM
Unknown Object (File)
Dec 20 2023, 12:37 AM
Unknown Object (File)
Nov 6 2023, 3:45 PM
Unknown Object (File)
Oct 28 2023, 11:55 PM
Unknown Object (File)
Oct 5 2023, 2:44 PM
Unknown Object (File)
Sep 6 2023, 7:47 AM
Unknown Object (File)
Sep 6 2023, 7:47 AM
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

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

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.