Page MenuHomeFreeBSD

e1000: Clean up igb_txrx
ClosedPublic

Authored by kbowling on May 1 2021, 11:34 PM.
Tags
None
Referenced Files
F141985193: D30073.id88483.diff
Wed, Jan 14, 12:44 PM
Unknown Object (File)
Sun, Dec 28, 4:07 AM
Unknown Object (File)
Nov 22 2025, 1:36 AM
Unknown Object (File)
Nov 18 2025, 1:19 AM
Unknown Object (File)
Nov 13 2025, 1:14 AM
Unknown Object (File)
Nov 12 2025, 4:57 AM
Unknown Object (File)
Nov 9 2025, 10:37 AM
Unknown Object (File)
Nov 6 2025, 11:13 PM
Subscribers
None

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kbowling created this revision.
sys/dev/e1000/igb_txrx.c
530

Maybe this is also worth a __predict_false()

534

I would not use a __predict here, as there is no v6 l3 checksum, so I assume that v6 packets would take the unpredicted path, and be penalized.

Thanks for catching those mistakes. Can you take a look, I'm happy with this at the moment.

Looks ok to me aside from the comments.

sys/dev/e1000/igb_txrx.c
495

This assignment isn't needed.

544

Indentation here should be by four spaces.

This revision is now accepted and ready to land.May 10 2021, 2:52 PM