From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61C0AA0524 for ; Sun, 13 Dec 2020 00:22:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC3B5A54F; Sun, 13 Dec 2020 00:22:26 +0100 (CET) Received: from mx0a-00000d04.pphosted.com (mx0a-00000d04.pphosted.com [148.163.149.245]) by dpdk.org (Postfix) with ESMTP id CF73EA54E for ; Sun, 13 Dec 2020 00:22:25 +0100 (CET) Received: from pps.filterd (m0102889.ppops.net [127.0.0.1]) by mx0a-00000d04.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0BCNMNDH008512 for ; Sat, 12 Dec 2020 15:22:23 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stanford.edu; h=mime-version : from : date : message-id : subject : to : content-type; s=pps05272020; bh=qbZi4IfnftaT0Ve9oefzWytwck2wp/4HGa43o7YD71s=; b=IZ0no1gMp++67iCDhmdBVwmqbNCV4R/5jOB4n98L3B+wdE6i4bMpWKPOqhaCkozN0umy x6a+oYH6DSjQL2hmRO9FTDWg207/1qRqdcm6kHmrWXsrFsPVbJJ0ybAoepDy8oO+qgx7 YeQyVBX8rGsB+hTMdEjiMj1LZXOAfT4Hhgft8NdJvyWC2hosdg26WylR5phIdgp2gWGN naN81UUV+Fs5ek8P9fM4ffdB1jlmSX84G/BKW2f5sYLfmYwmJly5//pnV96Z/WB9rsX7 KtgJJ9hXMczZgP13FvuoKhWLvPx6TbiXLetyZUFWf49tI4YWsh4Mz7dQsKCFF+PQFNDr Kg== Received: from mx0b-00000d03.pphosted.com (mx0b-00000d03.pphosted.com [148.163.153.234]) by mx0a-00000d04.pphosted.com with ESMTP id 35cv2ehm8w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 12 Dec 2020 15:22:23 -0800 Received: from pps.filterd (m0214089.ppops.net [127.0.0.1]) by mx0a-00000d03.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0BCNDG4Z000632 for ; Sat, 12 Dec 2020 15:22:22 -0800 Received: from mx0a-00000d06.pphosted.com (mx0a-00000d06.pphosted.com [148.163.135.119]) by mx0a-00000d03.pphosted.com with ESMTP id 35cwxb1muv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 12 Dec 2020 15:22:22 -0800 Received: from pps.filterd (m0167933.ppops.net [127.0.0.1]) by mx0a-00000d06.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0BCNMLeg007395 for ; Sat, 12 Dec 2020 15:22:21 -0800 Received: from smtp.stanford.edu (smtp4.stanford.edu [171.67.219.72]) by mx0a-00000d06.pphosted.com with ESMTP id 35ct9drh32-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 12 Dec 2020 15:22:21 -0800 Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gerryw) by smtp.stanford.edu (Postfix) with ESMTPSA id A04AB1C3E79 for ; Sat, 12 Dec 2020 15:22:20 -0800 (PST) Received: by mail-oi1-f173.google.com with SMTP id q205so1923717oig.13 for ; Sat, 12 Dec 2020 15:22:20 -0800 (PST) X-Gm-Message-State: AOAM532ykv7naaXS4kkEHjICuMWqMjUvJsKs10S79Rn1p59oVUw6BU7q bR8Np4gXIHofgjvdZ7W6dq9wK6hMIYYRS412yT0= X-Google-Smtp-Source: ABdhPJxBUYpyilUNllWe5QTGUiPlaEOfata7BuMLE98X4bsTJB9DRnjoMJYlBYpRgUZVAm3FLUG3QHalKqbt5ZhDpNI= X-Received: by 2002:aca:bb0b:: with SMTP id l11mr13817697oif.16.1607815340031; Sat, 12 Dec 2020 15:22:20 -0800 (PST) MIME-Version: 1.0 From: Gerry Wan Date: Sat, 12 Dec 2020 15:22:09 -0800 X-Gmail-Original-Message-ID: Message-ID: To: users@dpdk.org x-proofpoint-stanford-dir: outbound X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2020-12-12_12:2020-12-11, 2020-12-12 signatures=0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2020-12-12_12:2020-12-11, 2020-12-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 malwarescore=0 spamscore=0 impostorscore=0 suspectscore=0 adultscore=100 mlxscore=0 clxscore=1011 mlxlogscore=616 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012120183 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Enable MLX5 driver v20.11 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hello, I am trying to update my DPDK version from 20.08 to 20.11. I am using the mlx5 driver, and previously to enable it I had to set CONFIG_RTE_LIBRTE_MLX5_PMD=y in config/common_base. In 20.11, I see no option to do so. I was able to build my application (and the sample applications), but running rte_eth_dev_count_avail() returns 0 and cannot find any ports. The steps I did to build DPDK from source were: $ meson build $ cd build $ sudo ninja install $ sudo ldconfig Normally I would edit dpdk-20.xx/config/common_base before meson build, but that file is gone. What are the steps I need to take to enable mlx5 driver? I also recall that I don't need to bind the mlx5 driver, is that still the case? Thanks