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
Unknown Object (File)
Wed, Dec 4, 10:19 AM
Unknown Object (File)
Wed, Dec 4, 9:59 AM
Unknown Object (File)
Nov 18 2024, 5:12 AM
Unknown Object (File)
Nov 17 2024, 8:39 PM
Unknown Object (File)
Nov 13 2024, 7:31 PM
Unknown Object (File)
Nov 11 2024, 7:38 AM
Unknown Object (File)
Nov 11 2024, 4:25 AM
Unknown Object (File)
Oct 31 2024, 3:05 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
Lint Not Applicable
Unit
Tests Not Applicable

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.