]> git.openfabrics.org - ~shefty/libmlx4.git/commit
Align the list of supported ConnectX devices with kernel
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 19 Jul 2011 09:36:13 +0000 (09:36 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 26 Jul 2011 20:15:57 +0000 (13:15 -0700)
commit1488631df283f03aefb1a7f67367c6e4e371a9a3
tree3e9c888c1bfc76226c40eb8d82f2b3c21d0eaea6
parent3e73678e88d2ea414a9f4ae187f6412593bd0a1f
Align the list of supported ConnectX devices with kernel

Align the list of ConnectX devices supported by the library to be the
same as the mlx4 driver from the upstream kernel.

These two simple awk/cut commands can be used to actually validate the
claim made by the changelog:

    grep MELLANOX libmlx4.git/src/mlx4.c | grep HCA | awk '{ print $2 }' | cut -d ")" -f 1 > lib
    grep MELLANOX linux-2.6.git/drivers/net/mlx4/main.c | awk '{ print $3 }' | cut -d ")" -f 1 > ker
    diff lib ker

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
src/mlx4.c