aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_verbs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 7e440d41487a..1dc3d0d90202 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1956,6 +1956,7 @@ struct ib_device {
1956 * in fast paths. 1956 * in fast paths.
1957 */ 1957 */
1958 int (*get_port_immutable)(struct ib_device *, u8, struct ib_port_immutable *); 1958 int (*get_port_immutable)(struct ib_device *, u8, struct ib_port_immutable *);
1959 void (*get_dev_fw_str)(struct ib_device *, char *str, size_t str_len);
1959}; 1960};
1960 1961
1961struct ib_client { 1962struct ib_client {
@@ -1991,6 +1992,8 @@ struct ib_client {
1991struct ib_device *ib_alloc_device(size_t size); 1992struct ib_device *ib_alloc_device(size_t size);
1992void ib_dealloc_device(struct ib_device *device); 1993void ib_dealloc_device(struct ib_device *device);
1993 1994
1995void ib_get_device_fw_str(struct ib_device *device, char *str, size_t str_len);
1996
1994int ib_register_device(struct ib_device *device, 1997int ib_register_device(struct ib_device *device,
1995 int (*port_callback)(struct ib_device *, 1998 int (*port_callback)(struct ib_device *,
1996 u8, struct kobject *)); 1999 u8, struct kobject *));