From mboxrd@z Thu Jan 1 00:00:00 1970 From: gowrishankar muthukrishnan Subject: Re: [PATCH v6 0/5] new mlx4 datapath bypassing ibverbs Date: Tue, 24 Oct 2017 11:59:11 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Ferruh Yigit , dev@dpdk.org, Matan Azrad , Ophir Munk , Moti Haimovsky , Pradeep Satyanarayana To: Adrien Mazarguil Return-path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 545911B734 for ; Tue, 24 Oct 2017 08:29:21 +0200 (CEST) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9O6O4BQ089110 for ; Tue, 24 Oct 2017 02:29:20 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2dsyhkj6r9-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 24 Oct 2017 02:29:19 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Oct 2017 07:29:17 +0100 In-Reply-To: Content-Language: en-GB List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Adrien, I am trying to compile mlx4 (and later to try mlx5) pmd in RHEL 7.4 (ppc64le) without Mellanox OFED, using current master (which has below patch series). As I do so, I hit with below compile error:   dpdk/drivers/net/mlx4/mlx4.c:53:31: fatal error: infiniband/mlx4dv.h: No such file or directory    #include                                  ^   compilation terminated.   make[6]: *** [mlx4.o] Error 1 I tried to find rpm for this directverbs include, but I could not. Could you advice if I have to install any additional rpm in RHEL 7.4 ? To note, I have rdma-core and libibverbs installed. Thanks, Gowrishankar On Thursday 12 October 2017 05:59 PM, Adrien Mazarguil wrote: > Hopefully the last iteration for this series. > > v6 (Adrien): > - Updated features documentation (mlx4.ini) in the relevant patches. > - Rebased on the latest changes brought by RSS support v2 series. > > v5 (Ophir & Adrien): > - Merged Rx scatter/Tx gather code back into individual Rx/Tx commits > for consistency due to a couple of issues with gather-less Tx. > - Rebased on top of the latest mlx4 control path changes (RSS support). > > v4 (Ophir): > - Split "net/mlx4: restore Rx scatter support" commit from "net/mlx4: > restore full Rx support bypassing Verbs" commit > > v3 (Adrien): > - Drop a few unrelated or unnecessary changes such as the removal of > MLX4_PMD_TX_MP_CACHE. > - Move device checksum support detection code to its previous location. > - Fix include guard in mlx4_prm.h. > - Reorder #includes alphabetically. > - Replace MLX4_TRANSPOSE() macro with documented inline function. > - Remove extra spaces and blank lines. > - Use uint8_t * instead of char * for buffers. > - Replace mlx4_get_cqe() macro with a documented inline function. > - Replace several unsigned int with uint32_t. > - Add consistency to field names (sge_n => sges_n). > - Make mbuf size checks in RX queue setup function similar to mlx5. > - Update various comments. > - Fix indentation. > - Replace run-time endian conversion with static ones where possible. > - Reorder fields in struct rxq and struct txq for consistency, remove > one level of unnecessary inner structures. > - Fix memory leak on Tx bounce buffer. > - Update commit logs. > - Fix remaining checkpatch warnings. > > v2 (Matan): > Rearange patches. > Semantics. > Enhancements. > Fix compilation issues. > > Moti Haimovsky (5): > net/mlx4: add Tx bypassing Verbs > net/mlx4: add Rx bypassing Verbs > net/mlx4: restore Tx checksum offloads > net/mlx4: restore Rx offloads > net/mlx4: add loopback Tx from VF > > doc/guides/nics/features/mlx4.ini | 6 + > drivers/net/mlx4/mlx4.c | 11 + > drivers/net/mlx4/mlx4.h | 2 + > drivers/net/mlx4/mlx4_ethdev.c | 10 + > drivers/net/mlx4/mlx4_prm.h | 151 +++++++ > drivers/net/mlx4/mlx4_rxq.c | 156 +++++-- > drivers/net/mlx4/mlx4_rxtx.c | 768 ++++++++++++++++++++++++--------- > drivers/net/mlx4/mlx4_rxtx.h | 54 +-- > drivers/net/mlx4/mlx4_txq.c | 63 +++ > 9 files changed, 948 insertions(+), 273 deletions(-) > create mode 100644 drivers/net/mlx4/mlx4_prm.h >