From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [108.178.24.170]) by dpdk.org (Postfix) with ESMTP id F12861EDB0 for ; Wed, 13 Jun 2018 11:46:57 +0200 (CEST) Received: from ns1.es18.siteground.eu ([37.60.250.193] helo=es18.siteground.eu) by se3.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fT2Mf-0003a6-Qw for users@dpdk.org; Wed, 13 Jun 2018 04:46:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wgw0qJDJ6MKPbfleUYhfvFSd2bvo2CnDqcLfp6X1oKw=; b=KtTOObgKLGtH4NfVpHaubevNdI oDMncXmlMOqnTg7yEFG6d4zIRIsDefGspiLYD53z11lZEEjK5VvVntmOW8JlX9W/T1iRtcs/geFQ1 VPeGkBlno0EhBnQSR6I2pU0hN7AFmzD9SL8ZQlnF0VJPQ0ePbgpf1DiJLPbmP+Y12bHSqPQQbXc35 jo1HZfrQ9rV0LPXflMWg2sEKC+zB3fWgLE/iWw9ajjoZ7RBX2vrTg061NLNSuOuET3b2HLwhDIQoM Fkt5LzyDZ/ZoCQ3XN1KxK5mP+POfhjxgQXTA6dNOkgfj8kM/otIDDrotm39qQgHLcbrsIBgchdEIJ GoenTrtA==; Received: from [89.71.152.167] (port=45740 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_34-9f6032f-XX) (envelope-from ) id 1fT2Me-0004JO-Cx for users@dpdk.org; Wed, 13 Jun 2018 11:46:52 +0200 To: users@dpdk.org From: Filip Janiszewski Message-ID: <8e8c477b-066f-f909-d678-6623464b51c0@filipjaniszewski.com> Date: Wed, 13 Jun 2018 11:46:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 37.60.250.193 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 37.60.250.193 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=37.60.250.193@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.29) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5iK5nsKgbM6/ScSS5k67dxp602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO1v+PcEVtX7KZY7H5dkGCkxVjyn5UrUp4n4yKOOaq9AxrW8WYr44yGoiy8cLzHPzW1Dj fzzJ6O8jiVhZi+WiYeCsScX6I9Dl5i6VrUM1b/j5UkKLmtZb26ZOBNZRVM8aKeM0SnoZX29Ppjgp pjrn+Yq1umcuh1GvkHLZ8OnZHyNWPMpNXxpZuiYRs23iVM0el8g6NTTd2ar8H7FVMTvlrjiix59s TWOZYSnnMjQ31wvFVPTxUfTKKOeFu/oqiIZGN/NnDBDoKcsVac5Xn8LuQ8GAgCyxP9G+Y5LcO+ge l2RLsv0UzXAsY+zERVuxdQzDKY0OB8GxeGlmkZdGsQOduaLlgTl6fJxyntEfhZCKje4Zd6gSHf25 Zu5TWzMlXa5JrS7/+fOTvqVqTiiM4NskccQzKD2ZWwq7u/LhKSiDPRHd0B6JUJVXX9AN9l7ZeRQF g4IZeNiWKqg0N2OIklA5t9qtI4g+l6rCWbY0MZcgnbHsPBcQ82rNKmvVfTY39q17DpHApCZqlL+8 AmrYWkKUS8PUk3oPjOO6BKWXrNfcAsVveV2jVlxkKgb3mTTgsNumAUoZJ2VYrPywFqhhkhZxNNKW KI0H0KClJehlyoipz3KmZfmvXmwuB7TcTFd72kTHX9F4KYy1lXFV/zS/k1dSJ3E0cbMyShL3fnSx D1XshMEg0OivoVp9tF2u8JtxRAJgyGzAiZzQELRaJh0V182XriT3Y80OmAux3oN13+ztUzneKsMC OJAa4CwcQavbYUtmbQ5uZFCDkIE/6TRgsTSAaMZtYQYnpwtdcp8wtoph7+k1ao8o8rO/WAjIPFRH BBlecWbjO41FyBEqIaDudcVplPEvx1wm/tciJ2OmKLDWG50xOPbskl2Dzs+MnMSPc9bgJc9BfIX7 T1lxjbGB92ZjOXge6BcXzsTgqc27P59VCpbs7m7rIVmiXKLr00SBi+PP+FfRAiMiMKfXO9C5TEIH DgkdGWXvy1iW9OQqVDgdt7uRSR1GX3cL3+n26paL4Ar1VFHy4A1GDh4BjJHk5pSlfEW9x7lsssuZ /53sObhu0YJN X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [dpdk-users] Correct setup of sfc 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: Wed, 13 Jun 2018 09:46:58 -0000 Hi, I'm trying to test a SF card (Flareon Ultra SFN7142Q Dual-Port 40GbE) in our testing box, the details of the device are: . Solarstorm firmware update utility [v7.1.1] Copyright Solarflare Communications 2006-2018, Level 5 Networks 2002-2005 enp101s0f0 - MAC: 00-0F-53-2C-3A-10 Firmware version: v7.1.1 Controller type: Solarflare SFC9100 family Controller version: v6.2.7.1000 Boot ROM version: v5.1.0.1005 The Boot ROM firmware is up to date The controller firmware is up to date enp101s0f1 - MAC: 00-0F-53-2C-3A-11 Firmware version: v7.1.1 Controller type: Solarflare SFC9100 family Controller version: v6.2.7.1000 Boot ROM version: v5.1.0.1005 The Boot ROM firmware is up to date The controller firmware is up to date . The DPDK lib (version 18.05) has been build with CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y as per instructions, the sfc driver seems to be loaded, the output of 'lsmod | grep sfc' is: . sfc 470393 0 . In the kernel logs i see that the card links are ready: . [ 178.496825] sfc 0000:65:00.0 enp101s0f0: link up at 40000Mbps full-duplex (MTU 1500) [ 178.496856] IPv6: ADDRCONF(NETDEV_CHANGE): enp101s0f0: link becomes ready [ 178.497789] sfc 0000:65:00.1 enp101s0f1: link up at 40000Mbps full-duplex (MTU 1500) [ 178.498356] IPv6: ADDRCONF(NETDEV_CHANGE): enp101s0f1: link becomes ready . But DPDK seems to not recognize properly the card, it is visible in the initial EAL logs: . EAL: Detected 28 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Probing VFIO support... EAL: PCI device 0000:00:1f.6 on NUMA socket 0 EAL: probe driver: 8086:15b8 net_e1000_em EAL: PCI device 0000:65:00.0 on NUMA socket 0 EAL: probe driver: 1924:923 net_sfc_efx EAL: PCI device 0000:65:00.1 on NUMA socket 0 EAL: probe driver: 1924:923 net_sfc_efx EAL: PCI device 0000:b3:00.0 on NUMA socket 0 EAL: probe driver: 15b3:1015 net_mlx5 net_mlx5: MPLS over GRE/UDP tunnel offloading disabled due to old OFED/rdma-core version or firmware configuration EAL: PCI device 0000:b3:00.1 on NUMA socket 0 EAL: probe driver: 15b3:1015 net_mlx5 net_mlx5: MPLS over GRE/UDP tunnel offloading disabled due to old OFED/rdma-core version or firmware configuration . but perhaps the driver probe net_sfc_efx seems to not work as rte_eth_dev_count_avail returns only 2 instead of 4 (there's another MLX card on board). Any suggestion on what might be missing here? Thanks -- BR, Filip +48 666 369 823