From patchwork Fri Nov 23 15:40:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Haakon Bugge X-Patchwork-Id: 10696103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 24E9C16B1 for ; Fri, 23 Nov 2018 15:40:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 144EB2BC9D for ; Fri, 23 Nov 2018 15:40:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0862D2BEA1; Fri, 23 Nov 2018 15:40:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0D342BC9D for ; Fri, 23 Nov 2018 15:40:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436655AbeKXCZT (ORCPT ); Fri, 23 Nov 2018 21:25:19 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:36244 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436679AbeKXCZS (ORCPT ); Fri, 23 Nov 2018 21:25:18 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wANFOCOf171451; Fri, 23 Nov 2018 15:40:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=OXlkY5PMq2loVnGRqABSvF6KUANsBPeolQd/F4siLjs=; b=qwHyV9uwAxLybBf8Mm1Z90fAMhqAJdP4Hlcs9EjjVl65s8EToMY65mfjMwmqPOdxXg0o GA3AKguT0UPzasxrpYAcErgPj7lju6FyxHO2CLsfM4cH3vnAkk70ZmCUHeFqXOQPAF6L pn2g6HH7UYqO/GfctLK7+8iiar8Ty45QGQ8L58boC19rfPJoEeiAL/dgM8nzqCQV0mId lEDxd5beeDCl6SwjEOngRIU8OYXkDXafHg2+C+mjjWqTS/Adx+IhqWTkTT63PdLcxrkQ UfqUAwn6ceZ7BQM0Nc5TncKfyEg5pJW+WwFg1v6c1ilud3j3J7u0r4TRiG+mjGnWLz40 tw== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2ntbmr3b46-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 23 Nov 2018 15:40:28 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id wANFeR0K021359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 23 Nov 2018 15:40:28 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id wANFeRDm024392; Fri, 23 Nov 2018 15:40:27 GMT Received: from lab02.no.oracle.com (/10.172.144.56) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 23 Nov 2018 07:40:27 -0800 From: =?utf-8?q?H=C3=A5kon_Bugge?= To: Sean Hefty , Hal Rosenstock Cc: Doug Ledford , Leon Romanovsky , Jason Gunthorpe , linux-rdma@vger.kernel.org Subject: [PATCH ibacm 0/4] Allocate EP addresses dynamically Date: Fri, 23 Nov 2018 16:40:13 +0100 Message-Id: X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9085 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=469 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811230128 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series is based on the patch series "Ibacm fix address compare issues", which currently is a PR in github. This in order to be able to test the series and avoid too much conflict resolution. The series removes the restriction that the number of addresses associated with an end-point is limited to four (4). Documentation is updated. The series (*) has been tested by adding 250 IP addresses to an ipoib device whilst ibacm is running, reading them out with "ib_acme -e", thereafter deleting them. It is also tested by having the 250 addresses already present when ibacm starts. No regressions have been detected by our test suite. * This series on top of the github's PRs "Ibacm fix address compare issues" (PR #432) and "ibacm: Fix improper refcnt" (PR #431). HÃ¥kon Bugge (4): ibacm: Allocate end-point addresses dynamically - v2 ibacm: Allocate end-point addresses dynamically in provider - v2 ibacm: Remove trailing blanks ibacm: Update documentation ibacm/man/ibacm.1 | 28 ++++---- ibacm/prov/acmp/src/acmp.c | 55 +++++++++++----- ibacm/src/acm.c | 155 +++++++++++++++++++++++++++++++-------------- ibacm/src/acm_util.c | 2 +- ibacm/src/libacm.c | 50 ++++++++++----- 5 files changed, 193 insertions(+), 97 deletions(-) --- 2.14.3