[openib-general] [PATCH] mthca - read byte count & read request size

Roland Dreier rdreier at cisco.com
Mon Mar 6 20:10:55 PST 2006


    Grant> Why is this an enum?

    >> +static int pcix_max_rbc = PCIX_MAX_RBC_INVALID;

    Grant> It's declared an int and is "user visible".  I think the
    Grant> user interface would be better served if the user could
    Grant> just specify "pcix_max_rbc=2048" instead of some magic
    Grant> value.

Yes, makes sense, and any invalid value (including a default value of
say 0) would mean for the driver to ignore the module parameter.

 - R.



More information about the general mailing list