Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the 
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=11245



(In reply to comment #32)
> *kiblnd_tunables.kib_ib_mtu gets the mtu in use. Not necessarily the initial
value.

> On the active side it gets back the requested one (if it was OK) or the 
> default.

> On the passive side it gets the mtu in use.

OK, got it, still the giant switch statement/logic can be moved to the startup
code and be under if(mtu/mod/param/is/not/zero) so you only either set
cmid->route->path_rec->mtu if the mod param is not zero and you are at
active/connect state or set the kiblnd_tunables.kib_ib_mtu value if you are 
at the IBLND_CONN_PASSIVE_WAIT state.

_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

Reply via email to