linux_dsm_epyc7002/drivers/infiniband/hw/cxgb3
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
..
cxio_dbg.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_hal.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
cxio_hal.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_wr.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
iwch_cm.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
iwch_cm.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_cq.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_ev.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_mem.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_provider.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
iwch_provider.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_qp.c networking: convert many more places to skb_put_zero() 2017-06-16 11:48:35 -04:00
iwch.c RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
iwch.h IB/cxgb3: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
tcb.h