mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 18:17:12 +07:00
9abb0d1bbd
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pvrdma_cmd.c | ||
pvrdma_cq.c | ||
pvrdma_dev_api.h | ||
pvrdma_doorbell.c | ||
pvrdma_main.c | ||
pvrdma_misc.c | ||
pvrdma_mr.c | ||
pvrdma_qp.c | ||
pvrdma_ring.h | ||
pvrdma_verbs.c | ||
pvrdma_verbs.h | ||
pvrdma.h |