Eli> Using an enum confines the set of valid values the user can
Eli> specify to the range 0-3 and it is easier to filter out
Eli> invalid values. If I used raw values for the parameters then
Eli> questions like how do I interpret a value of 1000 would rise:
Eli> As invalid value so the parameter is ignored? Or maybe I
Eli> would configure rbc to 512? or 1024?
I think it's really unfriendly that a user has to read the source to
figure out how to set these values. I'm not sure what the best
interface is though -- maybe print a warning and ignore invalid
values?
- R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general