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)
Thu, Oct 9, 4:09 PM
Unknown Object (File)
Sat, Oct 4, 7:39 AM
Unknown Object (File)
Sep 12 2025, 11:12 AM
Unknown Object (File)
Sep 4 2025, 7:23 PM
Unknown Object (File)
Aug 15 2025, 4:31 PM
Unknown Object (File)
Aug 3 2025, 7:51 PM
Unknown Object (File)
Aug 1 2025, 1:50 PM
Unknown Object (File)
Jul 19 2025, 6:01 AM
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.