alistair23-linux/drivers/infiniband/hw/cxgb4
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
..
cm.c net: introduce __skb_put_[zero, data, u8] 2017-06-20 13:30:14 -04:00
cq.c cxgb4: Fix error codes in c4iw_create_cq() 2017-07-20 11:20:49 -04:00
device.c RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
ev.c cxgb4: Convert PDBG to pr_debug 2017-04-20 16:14:13 -04:00
id_table.c
iw_cxgb4.h cxgb4: Convert PDBG to pr_debug 2017-04-20 16:14:13 -04:00
Kconfig libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() 2016-09-15 20:49:19 -04:00
Makefile libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() 2016-09-15 20:49:19 -04:00
mem.c net: introduce __skb_put_[zero, data, u8] 2017-06-20 13:30:14 -04:00
provider.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
qp.c iw_cxgb4: don't use WR keys/addrs for 0 byte reads 2017-07-20 11:20:50 -04:00
resource.c cxgb4: Convert PDBG to pr_debug 2017-04-20 16:14:13 -04:00
t4.h cxgb4: Convert PDBG to pr_debug 2017-04-20 16:14:13 -04:00
t4fw_ri_api.h iw_cxgb4: add fast-path for small REG_MR operations 2016-10-07 16:54:40 -04:00