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
F115695906: D8933.diff
Sun, Apr 27, 7:04 AM
Unknown Object (File)
Sat, Apr 19, 1:22 PM
Unknown Object (File)
Thu, Apr 17, 2:34 AM
Unknown Object (File)
Tue, Apr 15, 2:33 AM
Unknown Object (File)
Mar 13 2025, 5:30 AM
Unknown Object (File)
Feb 1 2025, 2:33 PM
Unknown Object (File)
Feb 1 2025, 1:11 PM
Unknown Object (File)
Jan 29 2025, 2:44 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
Lint Not Applicable
Unit
Tests Not Applicable

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.