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)
Apr 25 2024, 8:31 PM
Unknown Object (File)
Apr 23 2024, 3:45 AM
Unknown Object (File)
Feb 5 2024, 2:16 AM
Unknown Object (File)
Feb 2 2024, 3:16 PM
Unknown Object (File)
Jan 12 2024, 12:35 AM
Unknown Object (File)
Nov 17 2023, 9:17 AM
Unknown Object (File)
Sep 1 2023, 6:48 PM
Unknown Object (File)
Aug 31 2023, 7:14 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.