From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id CF3271B768 for ; Tue, 24 Oct 2017 10:49:59 +0200 (CEST) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9O8n2UW032804 for ; Tue, 24 Oct 2017 04:49:59 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2dt1vj1tnu-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 24 Oct 2017 04:49:58 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Oct 2017 09:49:56 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 24 Oct 2017 09:49:55 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v9O8nsio28377288; Tue, 24 Oct 2017 08:49:54 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1FD2F42049; Tue, 24 Oct 2017 09:45:19 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9CB0742047; Tue, 24 Oct 2017 09:45:17 +0100 (BST) Received: from [9.109.223.0] (unknown [9.109.223.0]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 24 Oct 2017 09:45:17 +0100 (BST) To: Adrien Mazarguil Cc: Ferruh Yigit , dev@dpdk.org, Matan Azrad , Ophir Munk , Moti Haimovsky , Pradeep Satyanarayana References: From: gowrishankar muthukrishnan Date: Tue, 24 Oct 2017 14:19:51 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-TM-AS-GCONF: 00 x-cbid: 17102408-0040-0000-0000-000003E63A63 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17102408-0041-0000-0000-000025E8A5B7 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-10-24_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1710240124 Subject: Re: [dpdk-dev] [PATCH v6 0/5] new mlx4 datapath bypassing ibverbs 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: Tue, 24 Oct 2017 08:50:00 -0000 On Tuesday 24 October 2017 11:59 AM, gowrishankar muthukrishnan wrote: > 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. > I see we need rdma-core v15 atleast for mlx5 pmd (where as the version available in RHEL 7.4 is v13).   https://patchwork.kernel.org/patch/9937201/ Similar dependency might be there for mlx4 as well. So I think it is not possible to compile it in RHEL 7.4 without dependent rpms upgraded. > 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 >> > >