[ofa-general] [PATCH] mlx4: implement MOD_STAT_CFG command to use for changing ConnectX page size

Or Gerlitz or.gerlitz at gmail.com
Mon May 19 07:44:03 PDT 2008


On 5/18/08, Vladimir Sokolovsky <vlad at dev.mellanox.co.il> wrote:
>
> There is a bug in the OFED 1.3 mlx4 driver in mlx4_alloc_fmr which
> hardcoded
> the minimum acceptable page_shift to be 12. However, new mlx4 firmware has
> a
> minimum page_shift of 9 (log_pg_sz of 9 returned by QUERY_DEV_LIM) -- so
> that
> ib_fmr_alloc fails for ULPs using the device minimum when creating FMRs.
>
> To preserve firmware compatibility with released OFED drivers, the firmware
> will continue to return 12 as before for log_page_sz in QUERY_DEV_CAP for
> these
> drivers.


Hi Vlad, Roland,

To start with, the bug is in the Linux kernel mlx4 driver, there's nothing
like "OFED 1.3 mlx4 driver" (who's the maintainer? why there's need to be
another instace of a driver merged into the mainline kerel, etc). This bug
was fixed last week or so by a patch sent by someone from Mellanox.

To continue with, maybe we just state that kernels < X = 2.6.26 are not
compatible with FW version > Y = 2.3? or have the patch that fixes the
problem be sent to -stable versions of older kernels?

If those solutions are not enough, I think that the default behaviour of FW
AND the mainline driver would be to get the actual minimal driver supported,
namely nine.

Or.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080519/22b07b11/attachment.html>


More information about the general mailing list