Re: [PATCH rdma-next V2 20/27] RDMA: Simplify get firmware interface

2017-07-17 Thread Dennis Dalessandro
On 7/3/2017 2:28 AM, Leon Romanovsky wrote: From: Leon Romanovsky 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 limi

[PATCH rdma-next V2 20/27] RDMA: Simplify get firmware interface

2017-07-02 Thread Leon Romanovsky
From: Leon Romanovsky 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 w