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)
Fri, Dec 6, 11:49 AM
Unknown Object (File)
Tue, Dec 3, 8:24 AM
Unknown Object (File)
Nov 21 2024, 10:01 AM
Unknown Object (File)
Nov 21 2024, 10:01 AM
Unknown Object (File)
Nov 15 2024, 4:42 AM
Unknown Object (File)
Nov 14 2024, 2:08 PM
Unknown Object (File)
Nov 13 2024, 10:35 PM
Unknown Object (File)
Nov 3 2024, 8:36 PM
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