Page MenuHomeFreeBSD

sfxge(4): support runtime VI window size
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 30, 4:18 AM
Unknown Object (File)
Sun, Nov 23, 5:27 AM
Unknown Object (File)
Thu, Nov 20, 9:41 PM
Unknown Object (File)
Thu, Nov 20, 9:39 PM
Unknown Object (File)
Thu, Nov 20, 9:39 PM
Unknown Object (File)
Thu, Nov 20, 9:31 PM
Unknown Object (File)
Wed, Nov 19, 3:19 AM
Unknown Object (File)
Tue, Nov 18, 1:23 PM
Subscribers

Details

Summary

Medford2 uses a configurable VI window size, and requires
updates to register accesses to use a runtime VI window size
rather than the *_STEP register constants used for earlier
controllers.

Update the common code to query the VI window size via MCDI,
and add new EFX_BAR_VI_* accessor macros for per-VI registers.

The existing EFX_BAR_TBL_* macros can be used for non-VI
register tables (and for code that can never be called for
a Medford2 controller e.g. Siena-only code).

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

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 27 2018, 12:23 PM
This revision was automatically updated to reflect the committed changes.