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 32356374E; Mon, 20 Feb 2017 12:11:33 +0100 (CET) Received: by mail-io0-f181.google.com with SMTP id j18so24453455ioe.2; Mon, 20 Feb 2017 03:11:33 -0800 (PST) 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=JmrSGwAQPLpSHPDE1JYFiPBuOgbZ1ziENTxb11d6+Yg=; b=FuGT+ylVzbncArWTXXzO5gmkK1l5WlCkp8QipoL6Q2dWJZbzoLovn4atyFPY+MCq5a u8JlKEdgFrZomCwxrx6677DCQhkfJzZf8m+rO0B3i434Nxp6m4XGvfHE9NlR+xawpYyt JSZJZgwSPCJxTrmCCaXUyoNqqIrSy/JCIhSHyJbhyoOEmK/olLxmRdfMGvpgkm+cuEy7 cCX3B71RKarpV8i0OB/dMuxIP42zWzv53vxWeLomn3D/L54FYpWdCEFx+WgzOZJtwdfA XTLn4GKuM6L3g7BhJpO0b6QSmwFtmcxRoe/0/LhdDscSOemsJZC29MXmYcfiTxFXcjNp LZ4g== 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=JmrSGwAQPLpSHPDE1JYFiPBuOgbZ1ziENTxb11d6+Yg=; b=lkRAjqFI+tGfvHIB5hJXD2n12/IRa+DJnGtWIsYS1Ak57OrWtiPOqBgq1RQA27Z4xn LlQgiBQm942gxKchb7opL16U0kssuLvFPBXf18NFrM0mazAthAjzSLObejN8bOUowO5K lfpW+6Cm5c9XxhVXeAadCf3AzCCTPtYbxt+XUt/GfqLhz0IhU6LwYZEJkwjj7Pf/epIx TKauoPg4JBjCYNscUWmJgJvdjjl/zmt1ew0MFUHB2r9H/+cr1PtbujhCDI337WPliGPn MZ+pNtGGcGWcBNjfEKomcgSyqyBYMOcEyT1nztVs+bBWZ3/BlW4pp74nXzvB9nJqrzzv pFww== X-Gm-Message-State: AMke39lySXqsz1r8vTfsWh03ZgP4T3G+h2eFjrnkBPpZzdQ48rDWD3S4fc/BuM7DZCDI6M1Q2NPpW+0Lcvgmsg== X-Received: by 10.107.59.148 with SMTP id i142mr18769626ioa.84.1487589092560; Mon, 20 Feb 2017 03:11:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.128.203 with HTTP; Mon, 20 Feb 2017 03:11:32 -0800 (PST) From: Pankaj Joshi Date: Mon, 20 Feb 2017 16:41:32 +0530 Message-ID: To: dev@dpdk.org, users@dpdk.org, qat-linux Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Problem running dpdk-qat example in SR-IOV mode 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: Mon, 20 Feb 2017 11:11:33 -0000 Hello All, I am trying to run dpdk-qat example code in SR-IOV mode. Steps done by me so far are : 1. Enable SR-IOV, virtualization, VT-d in bios setup. 2. Boot file settings are like : /boot/vmlinuz-3.13.0-24-generic.efi.signed root=UUID=67d49074-1cca-490d-9626-bfda8b789ff7 ro default_hugepagesz=1G hugepagesz=1G hugepages=16 intel_iommu=on iommu=pt quiet splash security=selinux selinux=1 vt.handoff=7 isolcpus=1-15 3. Install QAT1.6 software using below configuration : d1 Set SRIOV Mode to "Host" 4. There is one coletocreek device and device state is up : service qat_service start There is 1 acceleration device(s) in the system: icp_dev0 - type=dh895xcc, inst_id=0, node_id=1, bdf=83:00:0, #accel=6, #engines=12, state=up 5. The output of the "lspci -d:443" command giving as below output : 83:01.0 Co-processor: Intel Corporation Device 0443 83:01.1 Co-processor: Intel Corporation Device 0443 83:01.2 Co-processor: Intel Corporation Device 0443 83:01.3 Co-processor: Intel Corporation Device 0443 .... .... 83:04.7 Co-processor: Intel Corporation Device 0443 6. "lsmod | grep qat " gives no output. 7. "lspci -d :435" command gives output as : 83:00.0 Co-processor: Intel Corporation Coleto Creek PCIe Endpoint 8.The is no such folder : /sys/bus/pci/drivers/dh895xcc/ 9. Output of the below command is 32. cat /sys/bus/pci/drivers/qat_1_6_adf/0000:83:00.0/sriov_numvfs 10. After these steps, while running the dpdk-qat example in host m/c (As The QAT1.6 is install as host with SR-IOV mode). The number of crypto instances are getting as 0 and getting error as : Crypto: get_crypto_instance_on_core failed with status: -1 Please suggest a way, how I can proceed for the same. Regards, Pankaj Joshi