]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Add get FW version string to the core
authorIra Weiny <ira.weiny@intel.com>
Wed, 15 Jun 2016 06:21:56 +0000 (02:21 -0400)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 16:08:33 +0000 (12:08 -0400)
commit16b38a76bb194c6bb1cff13f9a0047d84e84a5cf
tree7a89109008cb97c1f26e66a44de22214b0f124eb
parentac906ebd33f34471dcc16d6e467abbc77a95d2c8
IB/core: Add get FW version string to the core

Allow for a common core function to get firmware version strings
from the individual devices.

In later patches this format can then then be used to pass a
properly formated version string through the IPoIB layer.

The problem with the current code in the IPoIB layer is that it is
specific to certain hardware types.

Furthermore, this gives us a common function through which the core
can provide a common sysfs entry.  Eventually we may want to
remove the sysfs export but this provides for user space backwards
compatibility.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/device.c
include/rdma/ib_verbs.h