From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 8221C1E35 for ; Fri, 2 Feb 2018 16:16:46 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id t74so13375104wme.3 for ; Fri, 02 Feb 2018 07:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=7z1NPsahWlH6SdhK9wTzoYYBavvunbqYM2U8vllVSr8=; b=aOIMlWOaJDnHs5xRvhlgKuQ0QcdEJIeh1kvSLQmMWK5VKQL+jS3wvF8ELDFGKikxaY +zTuxbBBZZP/XzlxX7SbfpkEuYLNZcEGn2ADPRJLbMWjNT22+8Qs4xXoRvyPaiGEpl8N SgSbxRsJ33QIG948FgxScJFRTzg3rNp2i09c+/iyP6rhvTY7iFKHKIJzzMjrUOIwwXg6 gFL4vND3xJd/m/AjZJ5L3Ma0apy9tAFyq6wC6M8QMxvVPkE85vjABwQ/hkLgm9E1Hma1 x6mqN7jxJrdXLZhnWneLmZ3b/mw7ULHz+GBdvsvQ80kBslWIiTg+wwa0Fm/gb635UjO5 L59w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=7z1NPsahWlH6SdhK9wTzoYYBavvunbqYM2U8vllVSr8=; b=S3iz+teX2yVgDwSMM6BiiV5azt/DGCEvvPxorhdP1eiW/8DJ4nIzeSafkjqJY6NBgQ 7JCxYNpz4M8jFNr5RwwDxAX6IPaKD39aNRr6hIqjXB9HklR1Cv0bIk6bGgZE5tYlb+K3 ycn5LuBJHLvALcGKegURkHzZMUZiugvBXCjDwwrxEta4tdPe+9dMuCyLG1bIeem6JWEB 1hV5vGQHJQcoKcwEEc5nxPK+bak51LSLjad/+4HvMDurgN5C8sxeS6+MDPRM2C9Vz2jO 8J2YVjxoML9pNNelb4YjFD7eB51vFzLJCcpyxRtNCEwOeYw8bSRgtQ4NR72q1+JJPxXG V7/g== X-Gm-Message-State: AKwxytdAXz0nGDheYVbaZmMJCOCwgvmcX1/uf8jaDjxsYWydWcrmmdc4 1YVThIkghUn7c2o3HPD2cJUuX7Dy X-Google-Smtp-Source: AH8x2277pfsKDJlwhiXzA35sm2wOU7+DHXJk+x/7bpVsXxX38slvoV2o/FelGe0grrZOnVUi08s4+A== X-Received: by 10.80.159.175 with SMTP id c44mr19557484edf.136.1517584606263; Fri, 02 Feb 2018 07:16:46 -0800 (PST) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id e12sm1754797edi.29.2018.02.02.07.16.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 07:16:45 -0800 (PST) Date: Fri, 2 Feb 2018 16:16:32 +0100 From: Adrien Mazarguil To: Shahaf Shuler Cc: Nelio Laranjeiro , dev@dpdk.org, Marcelo Ricardo Leitner Message-ID: <20180202144736.8239-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v1 0/4] net/mlx: enhance rdma-core glue configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 15:16:46 -0000 The decision to deliver mlx4/mlx5 rdma-core glue plug-ins separately instead of generating them at run time due to security concerns [1] led to a few issues: - They must be present on the file system before running DPDK. - Their location must be known to the dynamic linker. - Their names overlap and ABI compatibility is not guaranteed, which may lead to crashes. This series addresses the above by adding version information to plug-ins and taking CONFIG_RTE_EAL_PMD_PATH into account to locate them on the file system. [1] http://dpdk.org/ml/archives/dev/2018-January/089617.html Adrien Mazarguil (4): net/mlx: add debug checks to glue structure net/mlx: fix missing includes for rdma-core glue net/mlx: version rdma-core glue libraries net/mlx: make rdma-core glue path configurable doc/guides/nics/mlx4.rst | 17 ++++++++++++ doc/guides/nics/mlx5.rst | 14 ++++++++++ drivers/net/mlx4/Makefile | 8 ++++-- drivers/net/mlx4/mlx4.c | 57 ++++++++++++++++++++++++++++++++++++++- drivers/net/mlx4/mlx4_glue.c | 4 +++ drivers/net/mlx4/mlx4_glue.h | 9 +++++++ drivers/net/mlx5/Makefile | 8 ++++-- drivers/net/mlx5/mlx5.c | 57 ++++++++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_glue.c | 1 + drivers/net/mlx5/mlx5_glue.h | 7 +++++ 10 files changed, 176 insertions(+), 6 deletions(-) -- 2.11.0