From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f53.google.com (mail-it0-f53.google.com [209.85.214.53]) by dpdk.org (Postfix) with ESMTP id E574A6CC9 for ; Wed, 5 Oct 2016 03:08:19 +0200 (CEST) Received: by mail-it0-f53.google.com with SMTP id r192so161301759ita.0 for ; Tue, 04 Oct 2016 18:08:19 -0700 (PDT) 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=MZQ9WWkwAOpdmRs1FTDZC0v2GWq2EUKcB7QMGw0imlM=; b=gnXqfTSre7D9V63ytjZ00ino+BRzUcN1M7pLbdXk1K8eIyPXwwB71OSxEUOQLbtN1r 3mdCd1gMlsHGdnbyD6o+QtouLvehl6Fg0vD9HwqT/T82hkgZdGr5cZO7cWWU49aLsmpE UxBt4Dn+sY1TjUpzAvquq5vnxAyr37t4n6qR45syut5hz4c4i17Smdq6fB1EeAW30Ekl lspKBAJiP/1UWn1PusMACZ11LCQ8EopAIVHZIeR1cN7ZRvlmNfMxjc2a3xfdUqV/CAiu edCCfrRBPBc1vQ+iRGzaCVPwi+RH4vxPVU79Xzfg4xMJzV/htUCJVgP/hRV1c5yXkHWc qI2Q== 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=MZQ9WWkwAOpdmRs1FTDZC0v2GWq2EUKcB7QMGw0imlM=; b=bd8s6V8ZWnX3vw2nZ5EBFA53dT55ijgWayuL4StNFvUGSadPbIXBvSP2SFhXf3VLup KgNTw3Vqh1iSiHnGeeXSHurHJ2ZzNjcRoZ73lCV6BrJW41EFTHho48vY/SKhag+vgCe5 dcNrp751MQ9m6Ahvb5rGccmD+feDev2Bwc5prTAMDI2flAz/ORO4WZMhyqhYcqsv/IB9 1ZGPTr0Ve4hf1oFtl9QpikgU+SmG4888IJArc5Hn5Sd+Zx/BSXX3nwxVX4iEW0sviOEY +GfQfbmpOQMiKgW9PKNOYolhzI+CC8qvgESUJ1+LTdXZs11XMvBlpoZHd8GTrOB/LMac EWTw== X-Gm-Message-State: AA6/9RmK/rIdPvhsZv8IVimxbRxPn6O/KVotnVxIkIi4YVhqjS/p8IGvJ/2oMARTJDr781uHZGT8+JCVlE7tVQ== X-Received: by 10.36.67.2 with SMTP id s2mr7326333itb.50.1475629699096; Tue, 04 Oct 2016 18:08:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.148.1 with HTTP; Tue, 4 Oct 2016 18:07:58 -0700 (PDT) From: CH Huang Date: Wed, 5 Oct 2016 09:07:58 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Only the 1st KR of XL710 (4xKR NVRAM) can be initialized by DPDK l2fwd 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: Wed, 05 Oct 2016 01:08:20 -0000 Dear Sir: For some reason, we need to use 10Gbps PF with promiscuous mode on XL710 (so we can't use VF because of promiscuous mode and support up to 10Gbps for each port) and we update the NVRAM to support 4xKR. Then we can see there are 4xKR link up to 10Gbps in the OS. But when we tried to run the DPDK l2fwd on 2 of the 4xKR (XL710). Only the = 1 st KR port can be initialized by l2fwd. Here are the summary of our testing: 1. 1st KR and 2nd KR: 2nd KR failed to be initialized by l2fwd 2. 1st KR and 3rd KR: 3rd KR failed to be initialized by l2fwd 3. 1st KR and 4th KR: 4th KR failed to be initialized by l2fwd 4. 2nd KR and 4th KR: 2nd KR failed to be initialized by l2fwd Please check the below information and the log in RED. Does anyone has the same experience and has the solution on this issue? Thanks a lot. Information: DPDK version: dpdk-16.07 lspci: =E2=80=A6=E2=80=A6 05:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE backplane (rev 01) 05:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE backplane (rev 01) 05:00.2 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE backplane (rev 01) 05:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE backplane (rev 01) Bind the 1st and 2nd KR to DPDK: Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:05:00.0 'Ethernet Controller X710 for 10GbE backplane' drv=3Digb_uio unused=3D 0000:05:00.1 'Ethernet Controller X710 for 10GbE backplane' drv=3Digb_uio unused=3D Run l2fwd: [root@localhost build]# ./l2fwd -c 0xf0 -n 2 -- -p 0x3 EAL: Detected 12 lcore(s) EAL: Probing VFIO support... PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:01:00.0 on NUMA socket 0 EAL: probe driver: 8086:1523 rte_igb_pmd EAL: PCI device 0000:02:00.0 on NUMA socket 0 EAL: probe driver: 8086:1580 rte_i40e_pmd EAL: PCI device 0000:04:00.0 on NUMA socket 0 EAL: probe driver: 8086:1580 rte_i40e_pmd EAL: PCI device 0000:04:00.1 on NUMA socket 0 EAL: probe driver: 8086:1580 rte_i40e_pmd EAL: PCI device 0000:05:00.0 on NUMA socket 0 EAL: probe driver: 8086:1581 rte_i40e_pmd PMD: eth_i40e_dev_init(): FW 5.0 API 1.5 NVM 05.00.04 eetrack 800024ff EAL: PCI device 0000:05:00.1 on NUMA socket 0 EAL: probe driver: 8086:1581 rte_i40e_pmd PMD: eth_i40e_dev_init(): FW 5.0 API 1.5 NVM 05.00.04 eetrack 800024ff PMD: eth_i40e_dev_init(): Failed to do parameter init: -22 EAL: Error - exiting with code: 1 Cause: Requested device 0000:05:00.1 cannot be used Regards, CH Huang chhuang789@gmail.com