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
F170998359: D8939.id23327.diff
Tue, Sep 8, 2:33 AM
Unknown Object (File)
Sun, Sep 6, 9:29 PM
Unknown Object (File)
Fri, Sep 4, 8:50 AM
Unknown Object (File)
Tue, Aug 18, 8:34 PM
Unknown Object (File)
Sun, Aug 16, 6:30 PM
Unknown Object (File)
Thu, Aug 13, 8:42 PM
Unknown Object (File)
Thu, Aug 13, 8:38 PM
Unknown Object (File)
Aug 8 2026, 7:44 PM
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.