Hi Doug, > -----Original Message----- > From: Doug Ledford [mailto:dledford@xxxxxxxxxx] > Sent: Monday, October 09, 2017 11:14 AM > To: Leon Romanovsky <leon@xxxxxxxxxx> > Cc: Parav Pandit <parav@xxxxxxxxxxxx>; Roland Dreier > <roland@xxxxxxxxxxxxxxx>; linux-rdma@xxxxxxxxxxxxxxx > Subject: Re: Is ib_mtu iboe_get_mtu() slightly off? > > On Mon, 2017-10-09 at 16:41 +0300, Leon Romanovsky wrote: > > On Mon, Oct 09, 2017 at 09:34:33AM -0400, Doug Ledford wrote: > > > > > > Since no one rolled a patch for this, I did. > > > > > > > Doug, > > > > Parav created, I waited for our shared code. > > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit > > .kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fleon%2Flinux- > rdma.git > > > %2Fc&data=02%7C01%7Cparav%40mellanox.com%7C38b1e48942f24ca363ab0 > 8d50f3 > > > 0c988%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636431624568 > 134878& > > > sdata=LOjuNgEAAVuKS9NgN8QO18lPdNI%2BhBFNwaBcuac5AfY%3D&reserved= > 0 > > ommit/?h=rdma-next&id=51ed6735dd59008aea4d7308416ed994b277f168 > > Ok, but if the issue has been sitting on the list a while, and I don't know a fix is > coming, then there is a not-0 percent chance I'll just fix it myself. > Sorry for not ACKing that I was doing it last week. If possible, please pick the one that Leon is sending because instead of doing calculation in half comment based and half defined based code, my patch defines all necessary header sizes in calculation, little clean way. ��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f