HomeFreeBSD

Make ntb_set_ctx() always generate fake link event.

Description

Make ntb_set_ctx() always generate fake link event.

It allows application driver get initial link state without racing with
hardware interrupts, thanks to the context rmlock held here.

MFC after: 1 week
Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on Aug 31 2017, 10:59 AM
Parents
rGba4b25cbba5f: Make ntb_transport(4) ready receive early link events.
Branches
Unknown
Tags
Unknown

Event Timeline