Page MenuHomeFreeBSD

cxgbe: convert to timer_setup() LinuxKPI
AbandonedPublic

Authored by bz on Tue, Sep 15, 1:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 9, 2:51 AM
Unknown Object (File)
Thu, Oct 8, 6:39 PM
Unknown Object (File)
Mon, Oct 5, 10:54 PM
Unknown Object (File)
Fri, Oct 2, 9:50 AM
Unknown Object (File)
Thu, Oct 1, 10:00 AM
Unknown Object (File)
Thu, Oct 1, 6:33 AM
Unknown Object (File)
Wed, Sep 30, 10:24 PM
Unknown Object (File)
Tue, Sep 29, 4:31 PM

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.