[ofa-general] [PATCH 4/6] IB/ipath - Enable use of 4KB MTU via module paramater

Ralph Campbell ralph.campbell at qlogic.com
Wed Mar 19 11:52:05 PDT 2008


On Wed, 2008-03-19 at 11:00 -0700, Roland Dreier wrote:
>  > This patch enables use of 4KB MTUs via module paramater.
> 
>  > +module_param_named(mtu4096, ipath_mtu4096, uint, S_IRUGO);
>  > +MODULE_PARM_DESC(mtu4096, "enable MTU of 4096 bytes, if supported");
> 
> When would a user ever want to set mtu4096 to 0?
> 
>  - R.

The driver uses more pinned memory for receive buffers when the
parameter is set whether or not the switch/fabric supports 4K
MTU so it seemed reasonable to allow a smaller memory footprint.




More information about the general mailing list