linux-stable/drivers/infiniband/hw/qedr
Leon Romanovsky 9abb0d1bbd RDMA: Simplify get firmware interface
There is a need to forward FW version to user space
application through RDMA netlink. In order to make it safe, there
is need to declare nla_policy and limit the size of FW string.

The new define IB_FW_VERSION_NAME_MAX will limit the size of
FW version string. That define was chosen to be equal to
ETHTOOL_FWVERS_LEN, because many drivers anyway are limited
by that value indirectly.

The introduction of this define allows us to remove the string size
from get_fw_str function signature.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2017-08-10 13:28:10 +03:00
..
Kconfig
main.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
Makefile
qedr.h RDMA/qedr: notify user application if DPM is supported 2017-07-27 08:59:52 -04:00
qedr_cm.c qed*: Rename qed_roce_if.h to qed_rdma_if.h 2017-06-21 15:32:59 -04:00
qedr_cm.h IB/core: Use rdma_ah_attr accessor functions 2017-05-01 14:32:43 -04:00
qedr_hsi_rdma.h
verbs.c RDMA/qedr: notify user application of supported WIDs 2017-07-27 08:59:52 -04:00
verbs.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00