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, Dec 28, 12:03 AM
Unknown Object (File)
Thu, Dec 25, 3:13 PM
Unknown Object (File)
Mon, Dec 22, 9:05 PM
Unknown Object (File)
Dec 20 2025, 5:56 PM
Unknown Object (File)
Nov 30 2025, 4:18 AM
Unknown Object (File)
Nov 23 2025, 5:27 AM
Unknown Object (File)
Nov 20 2025, 9:41 PM
Unknown Object (File)
Nov 20 2025, 9:39 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.