Page MenuHomeFreeBSD

sfxge(4): fix efx_ev_qpoll for non-Siena builds
ClosedPublic

Authored by arybchik on Dec 28 2016, 3:10 PM.
Tags
None
Referenced Files
F110960641: D8939.id23367.diff
Tue, Feb 25, 11:40 AM
Unknown Object (File)
Mon, Feb 17, 9:01 PM
Unknown Object (File)
Wed, Feb 12, 6:36 PM
Unknown Object (File)
Tue, Feb 11, 7:37 PM
Unknown Object (File)
Jan 19 2025, 1:20 AM
Unknown Object (File)
Jan 4 2025, 4:15 PM
Unknown Object (File)
Jan 4 2025, 4:12 PM
Unknown Object (File)
Jan 2 2025, 2:07 AM
Subscribers

Details

Summary

Both Siena and EF10 use the siena_ev_qpoll() implementation, but this
function is not defined in builds without EFSYS_OPT_SIENA.

Remove siena_ev_qpoll and inline it into efx_ev_qpoll to allow it
to be used in non-Siena builds.

Also remove outdated FIXME comment, as EF10 event batching/merging has
been implemented long ago without needing to modify this code.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

amd64 kernels tinderbox build tested.
Driver loaded/unloaded on Siena and EF10.
Traffic works fine.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 6418
Build 6651: arc lint + arc unit

Event Timeline

arybchik retitled this revision from to sfxge(4): fix efx_ev_qpoll for non-Siena builds.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz.
gnn edited edge metadata.
This revision is now accepted and ready to land.Dec 28 2016, 4:40 PM
This revision was automatically updated to reflect the committed changes.