linux_dsm_epyc7002/drivers/infiniband/hw/vmw_pvrdma
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 IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
Makefile IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
pvrdma_cmd.c IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
pvrdma_cq.c IB/vmw_pvrdma: Expose vendor error to ULPs 2017-02-19 09:27:28 -05:00
pvrdma_dev_api.h RDMA/vmw_pvrdma: Activate device on ethernet link up 2017-03-24 20:49:53 -04:00
pvrdma_doorbell.c IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
pvrdma_main.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
pvrdma_misc.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
pvrdma_mr.c IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
pvrdma_qp.c IB/PVRDMA: Rename ib_ah_attr related functions 2017-05-01 14:32:43 -04:00
pvrdma_ring.h IB: Add vmw_pvrdma driver 2016-12-14 14:55:10 -05:00
pvrdma_verbs.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
pvrdma_verbs.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
pvrdma.h IB/PVRDMA: Rename ib_ah_attr related functions 2017-05-01 14:32:43 -04:00