From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by dpdk.org (Postfix) with ESMTP id 18B721B395 for ; Tue, 26 Mar 2019 16:36:39 +0100 (CET) Received: by mail-lf1-f54.google.com with SMTP id a6so9032493lfl.5 for ; Tue, 26 Mar 2019 08:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QBbZKRRjbHegDyhhsmK/SfDcu7ho5TbZe9FsA52Hi5M=; b=a/fZgbXoepcy1QDjkrFcugAlO54znoQaMrzVMtQLzQFMtovgbW+2BNtKdQ1eWHxmNH xuh5AU9v49YqYGseo5hSUsXG/4P+4qnwsizflCE4d4jxlyOv37O7OAtlmr+BB+SA23+i 6FkrWVnJK66P5ST8GA5ELnjVfR7nGu36Esfc4edlPkXXz016RPG4ddNHxloLE5ycITqQ 0bxvuN2lEZGFRu0o9CjvGMBJkdFpMdyc19/oN5wsVIVeEP+P9CljcsvemQO7w2PmPBoY MwinMBmTo03Fe4c2ywCM/ndc8+tZfcsPbxAcx7TwvazrJ6C1AuLWN3cf+UVauo5dC2kE 4dFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QBbZKRRjbHegDyhhsmK/SfDcu7ho5TbZe9FsA52Hi5M=; b=T25DMnDV0qWh0onYynTFFQnCS6GGZAThYdvHWA5FlusGSfqnCIDKsqrqnfmfvkLM5R O3KgJr7RRajajuw0lPGoHtC9VwG7oaStVoDaXNJ/qqRkpBlNx3XjMCJsEqIyJ8Hs+cl2 wrIH4aPI/WCZi19seremQE6QRqkws8fi1QBLORi/6mluEiQZVmiUXkmxVewPYpNhjRBE GRjK8Zuhluu/BQpIkbCTSAeXon+IYWhzmoIf/hBFQJcRZ6RNZ2s6o7MKoTAEXYNC5j4b EPJjAqIjYRgLqB4n/5ntji+fihpTlgEi5MNWc1nvJSlFfnVs/C6sBlSFwveQgpikIDa7 1fUQ== X-Gm-Message-State: APjAAAUZGcWKK+sRTpPoD1vJcEv+8nuo03tzIU1qkdVjnYAycIFQ7PCi R71E7K+lRyo/q/1tZievMlAHVZeP99WoTk3vfGCUm8z1kHM= X-Google-Smtp-Source: APXvYqxq9paAeEcgZnxvUzI86/rXqtTQZR4BPORkmwR42AdRpGuWUsa41kAr3Y4DbFaVg7FChhcKut0zhHD3oU1scic= X-Received: by 2002:a19:4f06:: with SMTP id d6mr15782614lfb.125.1553614598282; Tue, 26 Mar 2019 08:36:38 -0700 (PDT) MIME-Version: 1.0 From: chetan bhasin Date: Tue, 26 Mar 2019 21:06:26 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] How to use mlx4 as bond 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, 26 Mar 2019 15:36:39 -0000 Hi, I am using DPDK 17.11.4 with a Mellanox ConnectX-3 Pro dual port card, one of the features of this card is that both ports have the same PCI address. i.e. there are two ports here but only one PCI reported: # lspci | grep -i mell 0a:00.0 Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] Is there any way to configure DPDK to set up bonding with this card? Bonding requires two unique PCI addresses, is there a way to tell DPDK about the two interfaces other than via PCI? I am using VPP to interface with DPDK and set up the bonding via vdev configuration. Is bonding just not possible using the two interfaces on this device? Thanks, Chetan Bhasin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E03A3A05D3 for ; Tue, 26 Mar 2019 16:39:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A10CB1B3B4; Tue, 26 Mar 2019 16:36:47 +0100 (CET) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by dpdk.org (Postfix) with ESMTP id 18B721B395 for ; Tue, 26 Mar 2019 16:36:39 +0100 (CET) Received: by mail-lf1-f54.google.com with SMTP id a6so9032493lfl.5 for ; Tue, 26 Mar 2019 08:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QBbZKRRjbHegDyhhsmK/SfDcu7ho5TbZe9FsA52Hi5M=; b=a/fZgbXoepcy1QDjkrFcugAlO54znoQaMrzVMtQLzQFMtovgbW+2BNtKdQ1eWHxmNH xuh5AU9v49YqYGseo5hSUsXG/4P+4qnwsizflCE4d4jxlyOv37O7OAtlmr+BB+SA23+i 6FkrWVnJK66P5ST8GA5ELnjVfR7nGu36Esfc4edlPkXXz016RPG4ddNHxloLE5ycITqQ 0bxvuN2lEZGFRu0o9CjvGMBJkdFpMdyc19/oN5wsVIVeEP+P9CljcsvemQO7w2PmPBoY MwinMBmTo03Fe4c2ywCM/ndc8+tZfcsPbxAcx7TwvazrJ6C1AuLWN3cf+UVauo5dC2kE 4dFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QBbZKRRjbHegDyhhsmK/SfDcu7ho5TbZe9FsA52Hi5M=; b=T25DMnDV0qWh0onYynTFFQnCS6GGZAThYdvHWA5FlusGSfqnCIDKsqrqnfmfvkLM5R O3KgJr7RRajajuw0lPGoHtC9VwG7oaStVoDaXNJ/qqRkpBlNx3XjMCJsEqIyJ8Hs+cl2 wrIH4aPI/WCZi19seremQE6QRqkws8fi1QBLORi/6mluEiQZVmiUXkmxVewPYpNhjRBE GRjK8Zuhluu/BQpIkbCTSAeXon+IYWhzmoIf/hBFQJcRZ6RNZ2s6o7MKoTAEXYNC5j4b EPJjAqIjYRgLqB4n/5ntji+fihpTlgEi5MNWc1nvJSlFfnVs/C6sBlSFwveQgpikIDa7 1fUQ== X-Gm-Message-State: APjAAAUZGcWKK+sRTpPoD1vJcEv+8nuo03tzIU1qkdVjnYAycIFQ7PCi R71E7K+lRyo/q/1tZievMlAHVZeP99WoTk3vfGCUm8z1kHM= X-Google-Smtp-Source: APXvYqxq9paAeEcgZnxvUzI86/rXqtTQZR4BPORkmwR42AdRpGuWUsa41kAr3Y4DbFaVg7FChhcKut0zhHD3oU1scic= X-Received: by 2002:a19:4f06:: with SMTP id d6mr15782614lfb.125.1553614598282; Tue, 26 Mar 2019 08:36:38 -0700 (PDT) MIME-Version: 1.0 From: chetan bhasin Date: Tue, 26 Mar 2019 21:06:26 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] How to use mlx4 as bond 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190326153626.O5aTMC0BIYjNb-0LcQaLsuoKAylRFDyy83VuCsaoJLg@z> Hi, I am using DPDK 17.11.4 with a Mellanox ConnectX-3 Pro dual port card, one of the features of this card is that both ports have the same PCI address. i.e. there are two ports here but only one PCI reported: # lspci | grep -i mell 0a:00.0 Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] Is there any way to configure DPDK to set up bonding with this card? Bonding requires two unique PCI addresses, is there a way to tell DPDK about the two interfaces other than via PCI? I am using VPP to interface with DPDK and set up the bonding via vdev configuration. Is bonding just not possible using the two interfaces on this device? Thanks, Chetan Bhasin