diff options
author | Yan Burman <yanb@mellanox.com> | 2013-02-19 15:40:23 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-02-19 08:21:36 -0800 |
commit | 4b48680b5572ee78834c276548e16ac5316908cb (patch) | |
tree | 26d37ba4ef4176b438188697d5a17aee9bf6a7a2 /drivers/infiniband/ulp/ipoib/ipoib.h | |
parent | 9d1ad66e3eae0faf3f19a618da74b4c377474845 (diff) | |
download | op-kernel-dev-4b48680b5572ee78834c276548e16ac5316908cb.zip op-kernel-dev-4b48680b5572ee78834c276548e16ac5316908cb.tar.gz |
IPoIB: Add version and firmware info to ethtool reporting
Implement version info as well as report firmware version and bus info
of the underlying IB HW device.
Signed-off-by: Yan Burman <yanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index a7ac097..eb71aaa 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -762,4 +762,6 @@ extern int ipoib_debug_level; #define IPOIB_QPN(ha) (be32_to_cpup((__be32 *) ha) & 0xffffff) +extern const char ipoib_driver_version[]; + #endif /* _IPOIB_H */ |