From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) by dpdk.org (Postfix) with ESMTP id 3E6A6558B for ; Fri, 18 Nov 2016 13:48:31 +0100 (CET) Received: by mail-it0-f51.google.com with SMTP id y23so29088336itc.0 for ; Fri, 18 Nov 2016 04:48:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Tp+gbBR4uTC8rs7wDFaRR+AHF77cJu9nQeR15YjQJg0=; b=bmmdYqEsMXHzREuPDeOgDLm6kw6XcLSx9ltFhnDx7BebpIVk0u21M+i2OKSfs+/Zc4 IeQQZ6h9PBSWfiJPaFilSZ78dFzk3GjspRSk5694svdO1FldVeJZUW85sqjtgiJLyLDK Gi5iyHyouuq2ss6Fcslxu641i6ZCGD4R4srledcHKTM70mbCf/nl3bhPCL2bBHq5v+By Dba7v7ji0gRJw35awPmNNqDs3NYE+HVTgP4V0s+3EwBRQEQCpO+EXg1toRa70uu0+TP2 P98eq/WrObQ3dibbbwIoW3QnTcXkKNpaP71hWG0xB2AVAujRz5swKU/SOfBHBSOSmpsQ tv1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Tp+gbBR4uTC8rs7wDFaRR+AHF77cJu9nQeR15YjQJg0=; b=VyjCbSsHe1oz9n/y1Fv4bZhbwKF7xwPpY3JtCoBb9VE9hYZ98xb7vEcLQKyiOZHBVx 2SKpPqSFrwx2BaJJrdHY2V/yDPDjYHvWJKRQBqi9XuLnZUrBH3StwLpTp/g8WhdPTgHn ia5HS9u+gpjQGDp05H2s3DKzZaJVEszvMiuXXy2jHUlraAxsW1Z2Qsyh2hSXBWieJFPX 6lNeysLDODp7/0Bndb9vSbzL8v9QEPfMpidvJaHOGSs8VNvrGY7l5F3zW4sCEqdR576S iJHWpoekjgEpBM/CFjRDjt7JXn+fJePUkdaDSLNNrDT65W9fqBLMxgWDtM74PKLJjW34 JUDQ== X-Gm-Message-State: AKaTC02UAM1Z2Oe1WH1vyJPHmMFAcIiQyNLl0OO+osXQ+kJe6V/g8AE7KmP9CWCyZUYUAcYiTjRPDjkxqivTWA== X-Received: by 10.107.30.69 with SMTP id e66mr6995991ioe.62.1479473310339; Fri, 18 Nov 2016 04:48:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.12.66 with HTTP; Fri, 18 Nov 2016 04:48:29 -0800 (PST) From: devendra rawat Date: Fri, 18 Nov 2016 18:18:29 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] running KNI application causing seg. fault X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 12:48:31 -0000 I have written a PMD for my non-pci based ethernet device. My device is queue based (RX and TX queues). testpmd application is running successfully and I am able to transmit and receive traffic at line rate through my ethernet interface. my testpmd execution command: # ./_install/bin/testpmd -c ff -n 4 --vdev=uio_my_eth1 Now I need to export my device as a kernel network interface so that it shows up using ifconfig command, I believe KNI driver and app can help there. I inserted rte_kni.ko module in my kernel and executed kni appliation # ./app/kni --vdev=uio_my_eth1 -- -p 0x1 -P --config="(0,1,2)" At this point kni app. is crashing with seg. fault. Can I use KNI module and application for my non-pci based vdev or only DPDK supported NICs will work with them ? Do I need to build and load vhost kernel module too ?