Page MenuHomeFreeBSD

cxgbetool(8): User interface to round-robin queue selection via COP.
ClosedPublic

Authored by np on Apr 14 2022, 10:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 2, 4:03 AM
Unknown Object (File)
Mar 12 2024, 1:05 AM
Unknown Object (File)
Mar 8 2024, 6:19 PM
Unknown Object (File)
Mar 8 2024, 6:19 PM
Unknown Object (File)
Mar 8 2024, 4:10 AM
Unknown Object (File)
Jan 25 2024, 10:28 PM
Unknown Object (File)
Jan 4 2024, 3:48 PM
Unknown Object (File)
Jan 4 2024, 2:56 AM
Subscribers

Details

Summary

Queue "roundrobin" in a COP rule means the driver should select queues
for new tids in a round-robin manner.

MFC after: 1 week
Sponsored by: Chelsio Communications

Diff Detail

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

Event Timeline

jhb added inline comments.
usr.sbin/cxgbetool/cxgbetool.c
3153–3157

Perhaps in general we might consider using strcasecmp? I also tend to prefer an idiom of strcmp() == 0 or strcmp() != 0 as the operator matches the logic of the expression, but the existing code uses the !strcmp pattern so the current patch is fine.

This revision is now accepted and ready to land.Apr 14 2022, 10:51 PM