linux_dsm_epyc7002/drivers/infiniband/hw
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
..
bnxt_re RDMA/bnxt_re: Allow posting when QPs are in error 2017-07-24 08:45:12 -04:00
cxgb3 RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
cxgb4 RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
hfi1 RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
hns IB/hns: include linux/interrupt.h 2017-07-31 14:44:47 -04:00
i40iw RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
mlx4 RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
mlx5 RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
mthca RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
nes RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
ocrdma RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
qedr RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
qib IB/{rdmavt, hfi1, qib}: Fix panic with post receive and SGE compression 2017-07-31 15:18:38 -04:00
usnic RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
vmw_pvrdma RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00