Page MenuHomeFreeBSD

sfxge(4): fix GET_RXDP_CONFIG usage for multi-PF on Medford
ClosedPublic

Authored by arybchik on Dec 28 2016, 1:18 PM.
Tags
None
Referenced Files
F101361510: D8933.diff
Mon, Oct 28, 10:35 AM
Unknown Object (File)
Sep 20 2024, 7:18 AM
Unknown Object (File)
Sep 9 2024, 1:04 PM
Unknown Object (File)
Sep 9 2024, 12:01 AM
Unknown Object (File)
Sep 1 2024, 7:06 PM
Unknown Object (File)
Aug 29 2024, 4:07 PM
Unknown Object (File)
Aug 24 2024, 10:46 PM
Unknown Object (File)
Aug 10 2024, 11:03 AM
Subscribers

Details

Summary

On Medford, using MC_CMD_GET_RXDP_CONFIG to query the RX end
padding setting is in the ADMIN group, and so fails for
unprivileged functions. In that case, assume the largest size
supported by Medford hardware (256bytes) to prevent overrun.

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

Test Plan

amd64 kernels tinderbox build tested

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 6411
Build 6644: arc lint + arc unit

Event Timeline

arybchik retitled this revision from to sfxge(4): fix GET_RXDP_CONFIG usage for multi-PF on Medford.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz.
gnn edited edge metadata.
This revision is now accepted and ready to land.Dec 28 2016, 4:32 PM
This revision was automatically updated to reflect the committed changes.