On Tue, Feb 08, 2022 at 02:25:09PM -0500, mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx wrote: > From: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx> > > The AIP code signals the phys_mtu in the following query_port() > fragment: > > props->phys_mtu = HFI1_CAP_IS_KSET(AIP) ? hfi1_max_mtu : > ib_mtu_enum_to_int(props->max_mtu); > > Using the largest MTU possible should not depend on AIP. > > Fix by unconditionally using the hfi1_max_mtu value. > > Reviewed-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx> > --- > drivers/infiniband/hw/hfi1/verbs.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied to for-next, thanks Jason