From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from linode.aoot.com ([69.164.194.13]:39084 "EHLO linode.aoot.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932404AbeFZXem (ORCPT ); Tue, 26 Jun 2018 19:34:42 -0400 From: "Steve Wise" To: "'Bart Van Assche'" , "'Jason Gunthorpe'" Cc: "'Doug Ledford'" , , "'Christoph Hellwig'" , References: <20180626222448.11411-1-bart.vanassche@wdc.com> In-Reply-To: <20180626222448.11411-1-bart.vanassche@wdc.com> Subject: RE: [PATCH] IB/srpt: Support HCAs with more than two ports Date: Tue, 26 Jun 2018 18:10:41 -0500 Message-ID: <023901d40da2$e77255c0$b6570140$@opengridcomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Language: en-us Sender: stable-owner@vger.kernel.org List-ID: > Subject: [PATCH] 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 > Signed-off-by: Bart Van Assche > Cc: Steve Wise > Cc: Christoph Hellwig > Cc: Looks good. Reviewed-by: Steve Wise