RE: Is ib_mtu iboe_get_mtu() slightly off?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commit/?h=rdma-next&id=51ed6735dd59008aea4d7308416ed994b277f168
> 
> commit 51ed6735dd59008aea4d7308416ed994b277f168
> Author: Parav Pandit <parav@xxxxxxxxxxxx>
> Date:   Thu Oct 5 10:33:12 2017 -0500
> 
>     IB/core: Take into account optional XRC header and mandatory ICRC for RoCE MTU
> 
>     This fix considers optional XRC header size and mandatory ICRC 4 bytes in
>     calculation of path MTU, by considering additional 8 bytes, path MTU calculation
>     is more accurate.
> 
>     Link: https://www.spinics.net/lists/linux-rdma/msg54558.html
>     Fixes: 3c86aa70bf67 ("RDMA/cm: Add RDMA CM support for IBoE devices")
>     Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx>
>     Reviewed-by: Daniel Jurgens <danielj@xxxxxxxxxxxx>
>     Reported-by: Roland Dreier <roland@xxxxxxxxxxxxxxx>
>     Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx>

Hi Parav, All,
Shouldn't the overhead calculation take into account RoCEv2 too,
i.e. include the UDP header length?

Thanks,
Ram

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux