diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-06-27 01:24:48 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-29 23:35:45 +0300 |
commit | e620ebfc228dcbef7519e3d16f43c6c6f1a1d0cb (patch) | |
tree | 97d2f3b7c4f205a2c4ee606d5bfd75fac957754a /include/rdma/uverbs_types.h | |
parent | 68348441ef7d15e6a902c956e139723c99e065ed (diff) | |
download | linux-e620ebfc228dcbef7519e3d16f43c6c6f1a1d0cb.tar.xz |
IB/srpt: Support HCAs with more than two ports
Since there are adapters that have four ports, increase the size of
the srpt_device.port[] array. This patch avoids that the following
warning is hit with quad port Chelsio adapters:
WARN_ON(sdev->device->phys_port_cnt > ARRAY_SIZE(sdev->port));
Reported-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Steve Wise <swise@opengridcomputing.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: <stable@vger.kernel.org>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/uverbs_types.h')
0 files changed, 0 insertions, 0 deletions