]>
git.openfabrics.org - ~shefty/libmlx4.git/commit
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>