From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8006CA0C4D for ; Thu, 7 Oct 2021 07:19:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0390541199; Thu, 7 Oct 2021 07:19:09 +0200 (CEST) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) by mails.dpdk.org (Postfix) with ESMTP id 5DAB141137 for ; Thu, 7 Oct 2021 07:19:07 +0200 (CEST) Received: by mail-yb1-f172.google.com with SMTP id d131so10649963ybd.5 for ; Wed, 06 Oct 2021 22:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Y2LJVy6A19QYMuPYiOkPZeR7KLmOcfi1NDjBzXd6dm0=; b=Yq9l8/8ul77SHMpx1Oio8RWIAvYdGQO0Mj1Vd91jMqr1fgNXLQuEmkeBkiebzScGUT yQRXo8kzpGEw9imKCN+MfrRfJCxRWNMgGA1V4LCcJ9q/ttD7TWwWivpObhG0L6OlGzWL 4Gg4KiwBKKbA1kl1pKuA23zl6+lAX3yppwlnLPzqnVqWVW/BRjPp40HDt8r1Yst8uWA+ D26AgfPBY5IwFRB7ERR7k6bOIhCBaSzKU6EW/IYztItUuvjU710yAsusbGpA6w2mMqIj rPuv6LpfenVdoJdiwPxitajXo9KPFdh1VfB6sVo7sTtPQJ20F/dM7kiFNwNK3XHUWtQ4 SVIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Y2LJVy6A19QYMuPYiOkPZeR7KLmOcfi1NDjBzXd6dm0=; b=eBckF2vlKkBEe5LBkSMa02aVCFeWZM1GcPYIsp0+suV3gq37sAwXK4RLrPbeO0hjww VFF6n1ujVnAPk7Lty2hBhENUm2OtGJgFjCX4qIEUyTpyXwbghwX6reJ3cXXH5eCwYsd+ XpKs7hnzKGpNQTqll5K228xqcirxbQfUbBi0W5rm/Mr8wsG/0cBBmYhnyhON6Sr4IABg zLc977gru9oV78onuBTQHVCbGB1C2+7E3eQFQaOWglILC1VOsI5vjw+lNTL/fhqfh5nD nW64asGeHrVl2J8LEC8LlR9nUxSU30Fui8aXLPLbN9cnEqNu0DGYNh2HD+XURBJAd7s2 yZiQ== X-Gm-Message-State: AOAM532ET3e7uo4jokeRVAy+ohwyhg5a8lceSdbWgLkSkQ6B+jqVkSDi 3pgtw9x+rPfq9sbduGBrPTcQcLBdHQ8yqGeaaj04Mipq+mxtgg== X-Google-Smtp-Source: ABdhPJy+WigRg4v5oYOX79tbfKPbPRqBNnntTdUp8poT/wlryh/7ydfeDFw+VLymMiOp/A0KFPbYXlyKIPyQhB1RQgE= X-Received: by 2002:a25:24c1:: with SMTP id k184mr2528749ybk.2.1633583946434; Wed, 06 Oct 2021 22:19:06 -0700 (PDT) MIME-Version: 1.0 From: animesh tripathi Date: Thu, 7 Oct 2021 10:48:55 +0530 Message-ID: Subject: Mellaox nic binding to driver. To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Team, Do I need to bind the mellanox nic to any driver to use it with dpdk. In case of intel, I am binding the pcie with igb_uio driver. In case of mellanox nic, if I am binding the mellanox nic to igb_io, I am getting the following error: EAL: Detected 24 lcore(s) EAL: Detected 1 NUMA nodes EAL: Auto-detected process type: PRIMARY EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/nr_dpdk/mp_socket EAL: Selected IOVA mode 'PA' EAL: VFIO support initialized EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:b5:00.0 (socket 0) mlx5_net: no Verbs device matches PCI device 0000:b5:00.0, are kernel drivers loaded? mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:b5:00.0 cannot be used EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:b5:00.1 (socket 0) mlx5_net: no Verbs device matches PCI device 0000:b5:00.1, are kernel drivers loaded? mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:b5:00.1 cannot be used TELEMETRY: No legacy callbacks, legacy socket not created No of ports : 0 Calling DPDK-Init for PDCP But when I do not bind the mellanox nic to any driver, it is working fine. Please let me know if my approach is correct. Thanks, Animesh Tripathi