From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) by dpdk.org (Postfix) with ESMTP id B9BF5FA6E for ; Thu, 9 Feb 2017 17:19:20 +0100 (CET) Received: by mail-wr0-f172.google.com with SMTP id k90so86976902wrc.3 for ; Thu, 09 Feb 2017 08:19:20 -0800 (PST) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=llIxZvfcRvHrdY+mel1WUxKdfU2KxJBfxRqjMan/5ag=; b=QWg5m+wN/eKFS9gMfoAg6v7qWkLvMsLeyl3LYRp+AEM9qRQ/W3AuD8lCHovfsvXv4t Tj3anTYuyfQCeZtK39ptgLzNo3M1RJuX0d6o9oyEGN4wpvNBYtU9ESp7nI1fUcyCx4xz 1qdo8R/DguBbVHm2xMXMG5gWWAMd4bEfubSV2QEtrpgLOqrgbYxhTSKcdRevOYhnFV1n cYTPxRyiszwc36u7F0gbU2SRZfEdRAFnTgCXDr/6v5VNO01Zjm+f0gOURasO6SeMDw86 JsqdvGfuzKZ5+lZw+OK+Ms1/khV+udRU3znhFY+yMK0x+VoIacbKI17pQlGnSzJQc8Ad cCyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=llIxZvfcRvHrdY+mel1WUxKdfU2KxJBfxRqjMan/5ag=; b=Dfp2PlY0QXl9MHekPWCSDJdEMdj58GQakm9IrjT+C7nW9osE9RBezPD/fKnkOk1KaG wADSOTOkT83E5rvFyID8Fswdlgg+grlYGl80Yg8D+Dx+11Nxhaj0RLKsNW2BfqHsj970 qfnJztU7VguLKn498TO0SQ16yQLOY4VSANZAi7MWwJijEKFvug1bd7/CxE1hQnias+Pe sENNID0kXAUFDIZiS0J47hb03eW7a8y0uK755sOnE5W6cEeGU5nePWopdZJQgBeSSncB 67gkRh8LFPN6uuX0VUot9iIKydpblxtHQU3QfgF3kFVGawT/Txc33u8uPckl2x2+HFjz F9GQ== X-Gm-Message-State: AMke39m2qOXV260TKyg6CzlH9yI5K+ZJMkRQYQRTM0jmC6iV1kxgDuu2fUHBogw87uJw/ta8 X-Received: by 10.223.146.34 with SMTP id 31mr3569448wrj.201.1486657160490; Thu, 09 Feb 2017 08:19:20 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id e74sm9630813wmd.2.2017.02.09.08.19.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 08:19:19 -0800 (PST) From: Thomas Monjalon To: "Ido Barnea (ibarnea)" Cc: dev@dpdk.org, Yuanhan Liu Date: Thu, 09 Feb 2017 17:19:19 +0100 Message-ID: <1524443.RGCIa5yWyV@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <329CA03F-B2B1-4187-945D-59973EEDF368@cisco.com> References: <20170202092357.58508-1-ibarnea@cisco.com> <329CA03F-B2B1-4187-945D-59973EEDF368@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] Fill speed_capa for virtio X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 16:19:20 -0000 2017-02-02 12:05, Ido Barnea: > From: Ido Barnea > > Signed-off-by: Ido Barnea > --- > drivers/net/virtio/virtio_ethdev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c > index d1ff234..1d572b5 100644 > --- a/drivers/net/virtio/virtio_ethdev.c > +++ b/drivers/net/virtio/virtio_ethdev.c > @@ -1869,6 +1869,7 @@ virtio_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) > (1ULL << VIRTIO_NET_F_HOST_TSO6); > if ((hw->guest_features & tso_mask) == tso_mask) > dev_info->tx_offload_capa |= DEV_TX_OFFLOAD_TCP_TSO; > + dev_info->speed_capa = ETH_LINK_SPEED_10G; Why 10G ? Yuanhan, any opinion?