From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 2FC097E6A for ; Wed, 17 Dec 2014 15:44:48 +0100 (CET) Received: by mail-wi0-f174.google.com with SMTP id h11so15995293wiw.1 for ; Wed, 17 Dec 2014 06:44:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=WVX4hp6exWJBACtQM+CCd64vmtEUaFsucpjsh8T0MW8=; b=JL8XPbBAm+vCcLS7U7XuAMLOGSk5VSDu4ExJ1nVtgG8+sb2W4y3kp/SYXcFunmj67j oVatdLMB2MuiS3gmeO3tGzyp7bLc4ZHkRPYZWfUR41ShXtRfMe5OOeHXlfzWY0eNrmzJ /ZXccO1Tc5mz4UwnAoDG+wOmNvaHO2z/HQbT96SdssXH6WxNU6ASY8G5LaYYSETSHrwk xTSaeeLenizsSDU4ukT+OiKVoztlNaAsBahKe2tiWDM8WiQL7DOrCjfsv6CwLNECE/ao IzdINGyUUomMqTu0vUtitjvcy/CJ5/HUhpdYxY9ovjS4+RJfl1X5QIyyoWbObCAca1b7 YxJA== X-Received: by 10.194.71.203 with SMTP id x11mr73322839wju.131.1418827487939; Wed, 17 Dec 2014 06:44:47 -0800 (PST) MIME-Version: 1.0 Sender: obiphil@gmail.com Received: by 10.27.78.141 with HTTP; Wed, 17 Dec 2014 06:44:27 -0800 (PST) From: Philip Clapham Date: Wed, 17 Dec 2014 14:44:27 +0000 X-Google-Sender-Auth: wc9mXFrwp3kBMm9th7ItJ-cE7y8 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] i40e Non-Intel QSFP X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 14:44:48 -0000 Hi, While working with the i40e adaptor on dpdk-1.7.1 I've run into an issue where it only supports Intel QSFPs. There is a compilation option of CONFIG_RTE_LIBRTE_I40E_ALLOW_UNSUPPORTED_SFP which would seem to indicate that this is possible, but the flag (or a derivative) isn't referenced anywhere in the source code of the i40e. When using testpmd the ports always show as 'down', and the QSFPs stay dark. Other devices (XL710) successfully initialise and work. There's also a compiler flag CONFIG_RTE_LIBRTE_IXGBE_ALLOW_UNSUPPORTED_SFP (ixgbe) which sets the flag RTE_LIBRTE_IXGBE_ALLOW_UNSUPPORTED_SFP which is used in lib/librte_pmd/ixgbe_ethdev.c to set a flag on the ixgbe_hw struct of 'allow_unsupported_sfp'. This leads me to think that I'm looking in the right places for this flag for the i40e, but that it's not there. The intel i40e driver itself (from http://sourceforge.net/projects/e1000/files/i40e%20stable/) also doesn't appear to allow any support for non-Intel QSFPs, unlike the official ixgbe driver which has a modprobe flag for allow_unsupported_sfp. Can anybody confim my suspicions that i40e cannot be set to use non-intel QSFPs, or provide any insight into whether that's likely to change? Thanks very much, Phil