Page MenuHomeFreeBSD

Make tcp_hpts compile with option RSS
ClosedPublic

Authored by bz on Aug 24 2018, 10:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 7:30 PM
Unknown Object (File)
Jan 18 2024, 1:18 AM
Unknown Object (File)
Dec 22 2023, 10:28 PM
Unknown Object (File)
Dec 21 2023, 5:06 AM
Unknown Object (File)
Dec 12 2023, 5:24 PM
Unknown Object (File)
Oct 30 2023, 2:55 AM
Unknown Object (File)
Sep 16 2023, 5:50 PM
Unknown Object (File)
Sep 16 2023, 5:47 PM
Subscribers

Details

Summary

Make tcp_hpts.c compile a LINT kernel with options RSS and PCBGROUPS added by adding the missing include files and changing a the type of cpuid which would otherwise cause a false comparison with NETISR_CPUID_NONE.

Side note:
Makes me wonder why this code uses a uint16_t rather than a uint_t we use everywhere else?

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Because in order to conserve space the fid in the in_pcb (IIRR) is a uint16_t.. I was thinking
64k cpu's is probably enough for now :)

But I am find with the change as long as the return type does not change itself.

This revision is now accepted and ready to land.Aug 27 2018, 2:55 PM
This revision was automatically updated to reflect the committed changes.