Hello Talat,

This is the type of information needed whenever you target a bug to us:

The support for ConnectX-4 was added in the following commit:

----
>From f329d397899592e1e87bb646ba31e74f0d870b7d Mon Sep 17 00:00:00 2001
From: Adham Masarwah <ad...@mellanox.com>
Date: Tue, 19 May 2015 17:31:35 +0300
Subject: [PATCH] Update the files with latest from MFT-4.0.0

Signed-off-by: Adham Masarwah <ad...@mellanox.com>
---
 flint/subcommands.cpp              |  12 ++
 mflash/mflash_pack_layer.c         |  10 +-
 mlxconfig/mlxcfg_lib.cpp           |  66 +++---
 mlxconfig/mlxcfg_lib.h             |   6 +-
 mlxconfig/mlxcfg_param_lib.cpp     | 222 +++++++++++++++++++
 mlxconfig/mlxcfg_param_lib.h       |  48 +++++
 mlxconfig/mlxcfg_parser.cpp        |   4 +-
 mlxconfig/mlxcfg_ui.cpp            |   7 +-
 mlxfwops/lib/fs2_ops.h             |   2 +-
 mlxfwops/lib/fs3_ops.cpp           | 423 ++++++++++++++++++++++++++++++++++--
 mlxfwops/lib/fs3_ops.h             |  17 +-
 mlxfwops/lib/fw_ops.cpp            |  54 ++++-
 mlxfwops/lib/fw_ops.h              |   7 +-
 mstdump/mstdump_dbs/SwitchIB.csv   |  60 ++++--
 mtcr_ul/mtcr_ul.c                  |  35 +--
 tools_layouts/tools_open_layouts.c | 426 ++++++++++++++++++++++++++++++++++++-
 tools_layouts/tools_open_layouts.h | 153 +++++++++++++
 17 files changed, 1437 insertions(+), 115 deletions(-)
----

And judging by its size (1437 insertions/115 deletions) we can see it is
probably NOT suitable for a SRU (Stable Release Updates).

Checking rmadison:

----

$ rmadison mstflint

 mstflint | 1.4-OFED-1.4.2-1               | precise/universe        | source, 
amd64, i386, powerpc
 mstflint | 1.4-OFED-1.4.2-1               | trusty/universe         | source, 
amd64, i386, powerpc
 mstflint | 1.4-OFED-1.4.2-1ubuntu1        | trusty-updates/universe | source, 
amd64, arm64, armhf, i386, powerpc, ppc64el
 mstflint | 3.7.0+1.18.gcdb9f80-3ubuntu1   | vivid/universe          | source, 
amd64, i386, powerpc, ppc64el
 mstflint | 3.7.0+1.18.gcdb9f80-3ubuntu2   | vivid-updates/universe  | source, 
amd64, arm64, i386, powerpc, ppc64el
 mstflint | 3.7.0+1.18.gcdb9f80-3.1ubuntu2 | wily/universe           | source, 
amd64, arm64, i386, powerpc, ppc64el
 mstflint | 3.7.0+1.18.gcdb9f80-3.1ubuntu2 | xenial/universe         | source, 
amd64, arm64, i386, powerpc, ppc64el
----

We can see that our Wily (latest stable release) & Xenial (the
development one) have, both, the same version:

3.7.0+____

I started bisecting code from 3.7.0 to HEAD and UNFORTUNATELY mstflint
doesn't follow the "versioning best practices" and does not maintain
TAGS for versioning (This makes hard for distributions to keep up with
versioning).

I discovered that:

----
f329d397899592e1e87bb646ba31e74f0d870b7d is the first bad commit
commit f329d397899592e1e87bb646ba31e74f0d870b7d
Author: Adham Masarwah <ad...@mellanox.com>
Date:   Tue May 19 17:31:35 2015 +0300

    Update the files with latest from MFT-4.0.0

    Signed-off-by: Adham Masarwah <ad...@mellanox.com>

:040000 040000 d2d11985279e2d835de8f2513ce79fc2f8a7bc54 
3c5a082f8a8c23bcdd277e87c8f82aaaed589287 M      flint
:040000 040000 a3d2d6529de85cfc8a1caebd368e1c2ac94b9dfe 
3fa775bd41946b3275f2f4d4b6495ed0d296ba97 M      mflash
:040000 040000 19431959d7cda6ff9551885a6f08adfddcb24f24 
d4ff86278b2f7fc114b0e5bc37f37bac7d65a7bd M      mlxconfig
:040000 040000 db8239a6b2c1c27801d5ac2519e93066efb2fbee 
7019f4da28d7dc452d0b98416f950ccc0c06a9be M      mlxfwops
:040000 040000 e92a3c3911c357b4d65374943be837d4945896f2 
3b04c77c572c19c3e4cc2b93c04c50e05ca7f55d M      mstdump
:040000 040000 4be22a919e4cf3935aa2ddc2bd6c870224a332f3 
22ddfdab6fc30291c8d6a39b352ac8f3fdfb0091 M      mtcr_ul
:040000 040000 24bce91b06bb8c75073c351ec4fd41d4c7bdf744 
974172cf3a8b979444fc8b3fcfdc7bdc791edb5e M      tools_layouts
----

Is the commit that makes "mstflint" to support ConnectX-4 (this
information is best given when you open the case).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1470167

Title:
  mstflint doesn't support Mellanox ConnectX-4 HCAs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mstflint/+bug/1470167/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to