From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 726C537B4 for ; Fri, 18 Mar 2016 09:08:26 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id l68so57307030wml.0 for ; Fri, 18 Mar 2016 01:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=odtXme9nyfWgs+UnUbb2qFlJ9bTNN4koW0JAs3qzr8c=; b=IsBB7VUkk+jqzCteka0H8aZrgbshDXQiJ3WB+onxL+SjCbEEFMOkg4ue5ScM3Dp2Wy AVlaBiDIU+xqegUmS4AWVxv9vAUkyNipx8b3HNv7mSKiUult0JXGlkRkPU+hRh8y6X7k IqKXDhYlN8/wbcJOr+nrqc2nScNDhXGADhqaBp04SrAkXK6+11iQZ//+I0/llbS64enW N+XpWd+juRi4nnj+2dcsCY4iB032L79/ofPe/+o81Em0xfu6sVvsJMSoBDv1E1OObPoc ujVH1FQ5N/Gg6JyOm1myMYTt7D9jDfi8hHGMYsKybawmaWZ/J0rN3pWDlmkgoN2Zg5e5 YanQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=odtXme9nyfWgs+UnUbb2qFlJ9bTNN4koW0JAs3qzr8c=; b=WiQKzCaMrT/9fOieXomT4ZQCDt3rGmSlzome3l5emQP/5r2ictKuE6H9wa4Kgpgu1l ycY21LLjpHzGWfXt60UKbZtu0QUpqTj9/81Byp0ZA+CsxmBmTmovYNM7Ecll+solHN52 +9xjQennCOl1lpfY+Pl+4GcKUcxgkqPDkkXfiZGCiuxgYX2ilROAdxD1VGasDz3awdZz SYX/u7EwsyHBE75q3/QXyVqxwGH2mwHd/T9qosO+Lbzxh5WbYUH9CWu37lrlFBivEb8d qynfb2FGxBIK69t1b+7IRJWWRHJwfqux77wIA1i1Ba6HM3m3ARYBg3LoDCkRBpasbsjd Cg5A== X-Gm-Message-State: AD7BkJKixdM51i6Fq/L2uxZDlBnTWgg1r6MR8Sv+wci3pz8QDy7QuVIlfdasgH+4wFwcNK+4 X-Received: by 10.28.6.71 with SMTP id 68mr15695089wmg.41.1458288506287; Fri, 18 Mar 2016 01:08:26 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id wr2sm11100071wjc.49.2016.03.18.01.08.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Mar 2016 01:08:25 -0700 (PDT) From: Thomas Monjalon To: "Chen, Jing D" Cc: marcdevel@gmail.com, bruce.richardson@intel.com, dev@dpdk.org Date: Fri, 18 Mar 2016 09:06:55 +0100 Message-ID: <2399180.zOrjuTQXm8@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D0446055D@shsmsx102.ccr.corp.intel.com> References: <1457992546-32230-1-git-send-email-thomas.monjalon@6wind.com> <1458238145-7496-6-git-send-email-thomas.monjalon@6wind.com> <4341B239C0EFF9468EE453F9E9F4604D0446055D@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v11 5/8] ethdev: add speed capabilities 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: Fri, 18 Mar 2016 08:08:26 -0000 2016-03-18 05:18, Chen, Jing D: > > --- a/drivers/net/fm10k/fm10k_ethdev.c > > +++ b/drivers/net/fm10k/fm10k_ethdev.c > > @@ -1410,6 +1410,10 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev, > > .nb_min = FM10K_MIN_TX_DESC, > > .nb_align = FM10K_MULT_TX_DESC, > > }; > > + > > + dev_info->speed_capa = ETH_LINK_SPEED_1G | > > ETH_LINK_SPEED_2_5G | > > + ETH_LINK_SPEED_10G | ETH_LINK_SPEED_25G | > > + ETH_LINK_SPEED_40G; > > } > > > > Fm10k has 100G capability, we'd better to add ETH_LINK_SPEED_100G here. The 100G capability is added in patch #8.