HomeFreeBSD

LinuxKPI: napi_schedule() requires return value, implement napi_is_scheduled()

Description

LinuxKPI: napi_schedule() requires return value, implement napi_is_scheduled()

A newer version of iwlwifi requires a return value from napi_schedule();
unclear if the function always should have been bool. Add the bool to test
based on the napi_schedule_prep() result.

Also add napi_is_scheduled() for rtw89.

Sponsored by: The FreeBSD Foundation
Reviewed by: emaste (previous version)
Differential Revision: https://reviews.freebsd.org/D44591

(cherry picked from commit 21761f2ede4ebad13e78112b9409c1f20f946781)

Details

Provenance
bzAuthored on Mar 31 2024, 5:27 PM
Reviewer
emaste
Differential Revision
D44591: LinuxKPI: napi_schedule() requires return value
Parents
rG425edb6fc2d5: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init()
Branches
Unknown
Tags
Unknown