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, Nov 28, 11:17 AM
Unknown Object (File)
Oct 3 2024, 2:28 AM
Unknown Object (File)
Sep 28 2024, 7:57 AM
Unknown Object (File)
Sep 27 2024, 12:05 PM
Unknown Object (File)
Sep 26 2024, 3:07 AM
Unknown Object (File)
Sep 22 2024, 9:55 AM
Unknown Object (File)
Sep 16 2024, 4:57 AM
Unknown Object (File)
Sep 14 2024, 10:42 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.