linux_dsm_epyc7002/drivers/infiniband/ulp
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
..
ipoib RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
iser RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
isert RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
opa_vnic Merge branch 'misc' into k.o/for-next 2017-07-27 09:00:38 -04:00
srp RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
srpt IB/srpt: Make a debug statement in srpt_abort_cmd() more informative 2017-07-06 22:58:01 -07:00
Makefile IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00