Page MenuHomeFreeBSD

cxgbe: convert to timer_setup() LinuxKPI
AbandonedPublic

Authored by bz on Tue, Sep 15, 1:32 AM.
Tags
None
Referenced Files
F172494218: D59687.diff
Fri, Sep 18, 8:37 PM
F172489452: D59687.id186743.diff
Fri, Sep 18, 7:57 PM
Unknown Object (File)
Tue, Sep 15, 4:09 PM
Unknown Object (File)
Tue, Sep 15, 9:00 AM
Unknown Object (File)
Tue, Sep 15, 2:46 AM
Unknown Object (File)
Tue, Sep 15, 2:43 AM

Details

Summary

Switch from init_timer() and manual setup of structure fields, right
past setup_timer and timer_from directly to timer_setup and
timer_container_of as part of trying to clear up the Linux pre-4.15
timer KPI from LinuxKPI.

The 2nd timer I am not sure about but it seems unused?

MFC after: 3 days

Test Plan

I HAVE NOT TESTED

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 76913
Build 73796: arc lint + arc unit

Event Timeline

bz requested review of this revision.Tue, Sep 15, 1:32 AM
emaste added inline comments.
sys/dev/cxgbe/iw_cxgbe/qp.c
1888–1890

why this rather than just removing init_timer?

sys/dev/cxgbe/iw_cxgbe/qp.c
1888–1890

For @np and @jhb to check that it is so, as they understand the underlying data structures and events hopefully better than me. I was just wondering why it was there in first place.