From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by dpdk.org (Postfix) with ESMTP id 6F8B64C57 for ; Thu, 22 Jun 2017 11:06:17 +0200 (CEST) Received: by mail-io0-f181.google.com with SMTP id t87so19125493ioe.0 for ; Thu, 22 Jun 2017 02:06:17 -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=wJL9P5kLWCyupkkkK0vM7xTha+pJktWWjLHZgLlmBlI=; b=gGk4+Qvsb0vPyO+9rhSKp3nT2u7Vp9+yMDBwdecDyqhC2WVYa1X4cVtEotNbCFEcex 0EcWAFpEuxHJHorjnEywIXHN36JizUffDCRZAqnlMGGZvuHW8YxxTMJoFCl+EdgvUhi9 s5LE1VhFZS+LIc0RIdblAUlyO5gh2qH2MCOiAE1X7SnnhxFDIX9Oapeg3ppyqsazkM3I +Zwwf5YDenCT5ZJrwReaF1NpE1RCOEX/RxrjrmVDPqbpWzr330ThvnVWYKdB3BfZV4f+ xOQnHIHszgL+4sdw2Yusk+rB4MYBDtu3pRDjmTMxIZipVaebPKnNeWwAW7GQLcG1x6Xk KKlw== 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=wJL9P5kLWCyupkkkK0vM7xTha+pJktWWjLHZgLlmBlI=; b=PM/AMKh9DOQC7JkHens5kprloT6eNsKztN7vs45XKFnAbpQ98PP+Wc+/DmdzLxJNvl SJesklz5PaHnrBGyqCxqpG70e7PGZ+HNvnZqJ8uBsV0clUNRUVVExuCrvQ7+exIE8yrn /E3MD7dA01TpeOsxImCBLmXaNIeHxvdLIkbeLJ9S1v+ICF6AbPAz6wRZIdmSJ8qmEuqJ z1/rXzejm2T814zUluwG0naBgumRxZuRhGkqYmPcO84i1p5qfmtq1LjmI6eZ1ifIOoXx GPEw06L7l7W+MpdBa9ONkcWpFoDTHl03B21K2gV6HKTQr8B6kOxdSLJm6WiXQLaYciMV srsg== X-Gm-Message-State: AKS2vOx0kO+AJuZ2RgiQjZwqRkOLXMWR/J+FmC8lMYTRtQIF9MLdo62S zu4yi3Gi2UR3b/8pbjLNokbDkMFxlvJL X-Received: by 10.107.35.14 with SMTP id j14mr1235071ioj.228.1498122376088; Thu, 22 Jun 2017 02:06:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.10.89 with HTTP; Thu, 22 Jun 2017 02:06:15 -0700 (PDT) From: Alex Kiselev Date: Thu, 22 Jun 2017 12:06:15 +0300 Message-ID: To: users Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-users] KNI interfaces at bonding ports 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: , X-List-Received-Date: Thu, 22 Jun 2017 09:06:17 -0000 Hello. Is it possible to create a KNI interface at a bonding port? My code that works perfectly fine with usual dpdk ports fails when I try to use it with bonding ports. rte_eth_dev_info_get(port_id, &dev_info); conf.addr = dev_info.pci_dev->addr; ... return rte_kni_alloc(pktmbuf_pool, &conf, &ops); The code fails because pci_dev member of variable dev_info is NULL. Is there any workarounds for this problem? Thanks. -- Alexander Kiselev