aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2025-02-12 00:29:46 +0000
committerNavdeep Parhar <np@FreeBSD.org>2025-02-25 19:33:40 +0000
commite19d84979a183deb37ce6d7e385c3ccf02a3c8c7 (patch)
tree7effb9928ff19fed13b20907540c33114d8365d7 /clang
parent709348c21351a783ff0025519d1f7cf884771077 (diff)
cxgbe(4): Block most access to the hardware as soon as the adapter stops.HEADmain
Add a new hw_all_ok() routine and use it to avoid hardware access in the public control interfaces (ifnet ioctls, ifmedia calls, etc.). Continue to use hw_off_limits() in the private ioctls/sysctls and other debug code. Retire adapter_stopped() as it's of no use by itself. This fixes problems where ifnet slow-path operations would enter a synch_op just before set_adapter_hwstatus(false) and touch the hardware when it's not safe to do so. MFC after: 1 week Sponsored by: Chelsio Communications
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions