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)
Sat, Nov 23, 5:42 PM
Unknown Object (File)
Mon, Oct 28, 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
Unknown Object (File)
Sep 7 2024, 9:02 PM
Unknown Object (File)
Sep 7 2024, 12:02 PM
Unknown Object (File)
Sep 1 2024, 3:48 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 Not Applicable
Unit
Tests Not Applicable

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.