From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.177]) by dpdk.org (Postfix) with ESMTP id C15D92BF7 for ; Thu, 23 Aug 2018 21:54:15 +0200 (CEST) Received: by mail-qt0-f177.google.com with SMTP id m13-v6so7720196qth.1 for ; Thu, 23 Aug 2018 12:54:15 -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=f02G9pt7U0fMGvAj1CuvZUl6u2v20ivUGXsE24n0qmU=; b=R1ZPIV0iTqC7rUhMBrGHKJAfGyZHwkPijLnSViEp37C4wskI35XAonmLY7zg30XPKY 8aoCYxufFGMTLsocJU84ZIDPbB4oKo9DtgwkZYxJ3NRdmv5oOsvDXRS6N5Ta8uV6Htdg y9Ejd2bJTvxVkjFXJNV36I1W4yRVIRps8zoD3uRt1oGKhYyVbFjQG6SIbpyvoQP3315N O8oYOk1MUesR2hAqIuw1uGI0uZzCUmCMkbpEHZn04CXqjTa54QNAdgD+WowuF2AsPtj2 fwM29Vfii4Glm/gp36AkYQ09qSVoJ/1KmTbW04QRR9w6cZ+RIQAiqTeKYdb9RtMqroZ8 YG1w== 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=f02G9pt7U0fMGvAj1CuvZUl6u2v20ivUGXsE24n0qmU=; b=SKQGy2XxecIN8EozUTWQ0mEW9taPvrjwfnV+MY2t3vJLFsmYjqGb44kX3nvWP1LTtH 7pe7LyY3fzC2EOceu5wTNrewadHJ6UaWf5ZygNbYx7+4BVHaww6bQlAqXYKOqENXmJ2B tbI/6UiCt5M+MZPenYyfTD/mh/zBidez63rlvgHKLKa0JiecxJUG2Kmd1BLscZ1DlpHu t5irjvpCqqcSeTUEvdH331zusHLXjl66LyG1xvm48YU0n7FC7N+RHNMeYTCVOaJM41gT AS1vnrsK9toANQM0I0/WOpX+pppiFcwXGIzQkYdMs5p9KVOu4t97wgB41zxb9L2tswag 9CEQ== X-Gm-Message-State: APzg51BoG1qI85qJ8zh18J4gUGo62IFFBqQFHo2jsF8t0XE8EZRGJ4SZ jVk1cadxrkvHhfRK1324IgajYCmgu+02PFhS9lb5xC7c X-Google-Smtp-Source: ANB0Vdbhsu5/fwei4+lrhHsXSoq11a1QnOtSWRsoE1BZnkXC6zFjr8hQk3CZQjw307a7Ueo+CKmdbluyYULkGyQF6hs= X-Received: by 2002:ac8:21dc:: with SMTP id 28-v6mr1305203qtz.70.1535054054717; Thu, 23 Aug 2018 12:54:14 -0700 (PDT) MIME-Version: 1.0 From: Aaron Hughes Date: Thu, 23 Aug 2018 19:54:03 +0000 Message-ID: To: users@dpdk.org, masutani.hitoshi@lab.ntt.co.jp Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Failed to initialize one specific port of X710-DA4 in i40e pmd 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, 23 Aug 2018 19:54:16 -0000 Hi Hitoshi, Did you ever figure out a solution to your problem with the X710? I'm seeing the same problem with an XL710 using DPDK version 17.05 on Redhat 7.5: validate_tcmap_parameter(): Enabled TC map 0x80 not applicable to HW support 0x1 i40e_vsi_setup(): Failed to update TC bandwidth i40e_pf_setup(): Setup of main vsi failed eth_i40e_dev_init(): Failed to setup pf switch: -63 Thanks, Aaron I am facing a failure of dpdk(16.11.3) initialization with testpmd > using i40e pmd on a specific physical port of X710-DA4. > > Without such specific port, testpmd can run successfully. > > My server box has two X710-DA4 cards and > these two cards have the same failure. > > To clarify whether it is caused by hardware failure or > by the lack of appropriate nic configuration, > the following build options of dpdk are enabled. > > -------------- > CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=y > CONFIG_RTE_LIBRTE_I40E_DEBUG_INIT=y > CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER=y > -------------- > > My server box spec. is as follows : > > CPU : Intel(R) Xeon(R) Gold 6136 > MEMORY : 128GB (16G x 8) > Motherboard: SYS-1029U-TR4 > NIC1 : I350 x 4 (onboard nic) > NIC2 : XL710 dual > NIC3 : X710-DA4 > NIC4 : X710-DA4 > ------------------------------------------------------------ > OS : ubnutu 16.04.3 LTS(linux-image-4.4.0-87-generic) > DPDK : 16.11.3 > > testpmd's boot message is as follows : > -------------------------------------------- > $ sudo ./testpmd -- -i > > EAL: Detected 24 lcore(s) > EAL: Probing VFIO support... > EAL: PCI device 0000:18:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:18:00.1 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:18:00.2 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:18:00.3 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:86:00.0 on NUMA socket 1 > EAL: probe driver: 8086:1583 net_i40e > EAL: PCI device 0000:86:00.1 on NUMA socket 1 > EAL: probe driver: 8086:1583 net_i40e > EAL: PCI device 0000:af:00.0 on NUMA socket 1 > EAL: probe driver: 8086:1572 net_i40e > PMD: i40e_set_symmetric_hash_enable_per_port(): Symmetric hash has > already been disabled > PMD: eth_i40e_dev_init(): FW 5.0 API 1.5 NVM 05.00.05 eetrack 80002919 > PMD: i40e_update_default_filter_setting(): Cannot remove the default > macvlan filter > PMD: i40e_pf_setup(): i40e_vsi_setup finished > PMD: i40e_pf_setup(): Hardware capability of hash lookup table size: 512 > > PMD: i40e_update_flow_control(): Link auto negotiation not completed > EAL: PCI device 0000:af:00.1 on NUMA socket 1 > EAL: probe driver: 8086:1572 net_i40e > EAL: PCI device 0000:af:00.2 on NUMA socket 1 > EAL: probe driver: 8086:1572 net_i40e > PMD: i40e_set_symmetric_hash_enable_per_port(): Symmetric hash has > already been disabled > PMD: eth_i40e_dev_init(): FW 5.0 API 1.5 NVM 05.00.05 eetrack 80002919 > PMD: validate_tcmap_parameter(): Enabled TC map 0x80 not applicable to > HW support 0x1 > PMD: i40e_vsi_setup(): Failed to update TC bandwidth > PMD: i40e_pf_setup(): Setup of main vsi failed > PMD: eth_i40e_dev_init(): Failed to setup pf switch: -63 > rte_eth_dev_pci_probe: driver net_i40e: eth_dev_init(vendor_id=0x8086 > device_id=0x1572) failed > EAL: Error - exiting with code: 1 > Cause: Requested device 0000:af:00.2 cannot be used > --------------------------- > > If you have solutions, could you tell me how this problem can be resolved ? > > Regards, > Hitoshi > >