Page MenuHomeFreeBSD

sfxge(4): simplify the code to parse RSS hash type
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 23 2023, 1:57 AM
Unknown Object (File)
Sep 4 2023, 3:29 PM
Unknown Object (File)
Sep 1 2023, 5:51 AM
Unknown Object (File)
Aug 30 2023, 2:31 AM
Unknown Object (File)
Aug 30 2023, 2:28 AM
Unknown Object (File)
Aug 30 2023, 2:07 AM
Unknown Object (File)
Apr 8 2023, 12:14 AM
Unknown Object (File)
Mar 21 2023, 8:08 PM
Subscribers

Details

Summary

RSS mode bits can be accessed a lot easier in the hash
type value provided that the variable type is uint32_t.
The macro helper can be removed to enhance readability.

Submitted by: Ivan Malov <ivan.malov at oktetlabs.ru>
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 30 2018, 7:07 AM
This revision was automatically updated to reflect the committed changes.