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)
Fri, Apr 19, 2:07 PM
Unknown Object (File)
Fri, Mar 29, 8:33 AM
Unknown Object (File)
Dec 23 2023, 2:26 PM
Unknown Object (File)
Nov 26 2023, 5:01 AM
Unknown Object (File)
Nov 22 2023, 1:32 PM
Unknown Object (File)
Nov 22 2023, 11:11 AM
Unknown Object (File)
Nov 22 2023, 11:03 AM
Unknown Object (File)
Nov 14 2023, 7:51 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.