diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-11 18:57:42 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-15 18:29:18 +0000 |
| commit | 7fb00406ebf53e07273d0914a5f36ff6fb78c185 (patch) | |
| tree | f0f6c2d21807d8af0d78c76027c13c1b07cc14c4 /llvm/lib | |
| parent | 47b02ace19c53e72ad2290d974025292ff97464a (diff) | |
Use the context-locked datapath state for netmap initialization results,
resume completion and administrative work eligibility. Keep stopped
and failed interfaces eligible for link and mailbox recovery without
using IFF_DRV_OACTIVE as an implicit indication that initialization has
been attempted. Evaluate media and deferred admin eligibility under
the context lock rather than from an earlier IFF_DRV_ flag snapshot.
Always pass through iflib_stop() before an IOV-init callback which
changes the PF queue layout, as the IOV-uninit counterpart already does.
Neither administrative down nor a cleared IFF_DRV_RUNNING proves that
queue DMA is stopped. The private lifecycle state decides whether the
hardware stop is necessary; IFF_UP only decides whether to initialize
again afterward.
Reviewed by: iflib (gallatin)
MFC after: 2 weeks
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D59597
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
