Page MenuHomeFreeBSD

gre: simplify RSS ifdefs
ClosedPublic

Authored by franco_opnsense.org on Aug 17 2021, 9:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 23 2024, 9:38 PM
Unknown Object (File)
Oct 22 2024, 6:06 PM
Unknown Object (File)
Sep 28 2024, 3:33 PM
Unknown Object (File)
Sep 16 2024, 11:34 PM
Unknown Object (File)
Sep 15 2024, 12:25 PM
Unknown Object (File)
Sep 15 2024, 12:25 PM
Unknown Object (File)
Sep 15 2024, 11:34 AM
Unknown Object (File)
Sep 14 2024, 4:08 PM

Details

Summary

Use the early break to avoid else definitions. When RSS gains a
runtime option previous constructs would duplicate and convolute
the existing code.

While here init flowid and skip magic numbers and late default
assignment.

Diff Detail

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

Event Timeline

sys/net/if_gre.c
658

this one always wins

sys/net/if_gre.c
658

no, RSS inserts an early break statement above

This revision is now accepted and ready to land.Aug 18 2021, 7:24 AM