Page MenuHomeFreeBSD

Fix egregious magic number constants
ClosedPublic

Authored by shurd on Oct 5 2018, 8:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 17, 7:40 AM
Unknown Object (File)
Wed, Jan 29, 10:00 AM
Unknown Object (File)
Dec 4 2024, 7:58 PM
Unknown Object (File)
Nov 23 2024, 5:42 PM
Unknown Object (File)
Oct 28 2024, 5:58 PM
Unknown Object (File)
Sep 18 2024, 2:21 AM
Unknown Object (File)
Sep 8 2024, 7:12 PM
Unknown Object (File)
Sep 8 2024, 1:57 AM
Subscribers

Details

Summary

em and igb supported checksum offload bits were a hex constant.
Update to use lists of defined values.

Diff Detail

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

Event Timeline

It's a reasonable change, but it's still kind of a surprise to me that em doesn't support IPv6 hardware offloads.

This revision is now accepted and ready to land.Oct 5 2018, 9:08 PM
In D17442#372066, @erj wrote:

It's a reasonable change, but it's still kind of a surprise to me that em doesn't support IPv6 hardware offloads.

I'm pretty sure that most of the modern hardware does, we just don't implement it. At least some of the chips did last time I looked.

This revision was automatically updated to reflect the committed changes.