From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28AB3A0577; Mon, 6 Apr 2020 10:59:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 61EE92BE2; Mon, 6 Apr 2020 10:59:14 +0200 (CEST) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 16C6F2B96 for ; Mon, 6 Apr 2020 10:59:13 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200406085912euoutp01369d5f7ef7c5b3176f3572c12751280f~DL1jgCYMG2484124841euoutp01T for ; Mon, 6 Apr 2020 08:59:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200406085912euoutp01369d5f7ef7c5b3176f3572c12751280f~DL1jgCYMG2484124841euoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1586163552; bh=gIjgatBkJIBE8RSrN1vwHBJslPCKV8pDjjapjM5Omws=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DJEFZ1gY1KDzJ9JaD5xloIFRhglWWK7dFNBDmTsxGv7qbxKxHjz5zMjU+kI1+TtPx lL/8y+7WYSvvOXYlUV0E+gQe8jxfccpdt8Ojf1gY/OYGKygXSYKp0SzhISPy31oo35 aDJks3ge362ncDhHzhQe4nhxR08b20OCmX4kGFiE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200406085912eucas1p16a01a6f0f8513739969f9af22d891d12~DL1jWQfIE1359913599eucas1p1X; Mon, 6 Apr 2020 08:59:12 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id FB.27.61286.06FEA8E5; Mon, 6 Apr 2020 09:59:12 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200406085911eucas1p21c560c2b5908872e457e5f83ea9824fd~DL1i3JtoO2925429254eucas1p2D; Mon, 6 Apr 2020 08:59:11 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200406085911eusmtrp29004e5837dad02da9cb3d12e3a537317~DL1i2X71p1429014290eusmtrp2Z; Mon, 6 Apr 2020 08:59:11 +0000 (GMT) X-AuditID: cbfec7f2-ef1ff7000001ef66-b6-5e8aef603c84 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 7D.AB.07950.F5FEA8E5; Mon, 6 Apr 2020 09:59:11 +0100 (BST) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200406085911eusmtip2400f0e1c31b46fddfdc0be0bb7897fed~DL1iNLuWe2530225302eusmtip2T; Mon, 6 Apr 2020 08:59:11 +0000 (GMT) From: Ivan Dyukov To: dev@dpdk.org, maxime.coquelin@redhat.com, i.dyukov@samsung.com, v.kuramshin@samsung.com, amorenoz@redhat.com, zhihong.wang@intel.com, xiaolong.ye@intel.com, mb@smartsharesystems.com Date: Mon, 6 Apr 2020 11:57:58 +0300 Message-Id: <20200406085855.25773-1-i.dyukov@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191212085012.9170-1-i.dyukov@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIKsWRmVeSWpSXmKPExsWy7djP87oJ77viDE7tELJo3fGAxeLdp+1M FrMuNbFbHOvcw2LR9+sqo8Xpm5vZLf68MbXYfHESkwOHx68FS1k9Fu95yeT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oYp3B0MXJySAiYSLQd6GXvYuTiEBJYyiix6edF1i5GDqCEhMTr J8wQNcISf651sUHUfGaU2Di/kwkkwSagIXG6Yx4TSEJE4DijRO+s/2AJYQFLia2b1rGB2CwC qhIP/r8Gm8QLFH/btJYJYqq8xOoNB8DinEDxpg1LWEBsIQELiTv9m1kh6gUlTs58wgJyELOA usT6eUIgYWag1uats5knMArMQlI1C6FqFpKqBYzMqxhFUkuLc9Nzi430ihNzi0vz0vWS83M3 MQIjZtuxn1t2MHa9Cz7EKMDBqMTDy3C7M06INbGsuDL3EKMEB7OSCK9UL1CINyWxsiq1KD++ qDQntfgQoynQaxOZpUST84HRnFcSb2hqaG5haWhubG5sZqEkztshcDBGSCA9sSQ1OzW1ILUI po+Jg1OqgbH4rEz9pjn9fHpWmTvOmn333L+WZ8Ii4XeF954veL0mcuPmX47PZ8WcUHrTyyP4 uttaW+x12J1m3/1zGg9/KvlubGNidv3JS5G316Wv/IvS5u2r8VsjI8fZVyGzaeXBLyoXFr94 KFO9ZtUr4b16yukv+69Kbxb/W/WWWXD6mpplu67+vch54XKwEktxRqKhFnNRcSIAQu0Wda4C AAA= X-CMS-MailID: 20200406085911eucas1p21c560c2b5908872e457e5f83ea9824fd X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200406085911eucas1p21c560c2b5908872e457e5f83ea9824fd X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200406085911eucas1p21c560c2b5908872e457e5f83ea9824fd References: <20191212085012.9170-1-i.dyukov@samsung.com> Subject: [dpdk-dev] [PATCH v9 0/5] net/virtio: add link speed devarg 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" doc/guides/nics/virtio.rst | 15 +++++++++++++++ drivers/net/virtio/virtio_ethdev.c | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------- drivers/net/virtio/virtio_ethdev.h | 3 ++- drivers/net/virtio/virtio_pci.h | 16 ++++++++++++++++ drivers/net/virtio/virtio_user_ethdev.c | 18 +++++++++++++----- lib/librte_ethdev/rte_ethdev.h | 27 ++++++++++++++------------- 6 files changed, 184 insertions(+), 39 deletions(-) v9 chagnes: * [PATCH 2/5] remove limited set of acceptable speeds [10G, 20G, 40G, 56G, 100G], now all natural numbers are acceptable * [PATCH 2/5] returns speed_capa as maximum available capability for specified speed * [PATCH 5/5] remove duplex negotiation * [PATCH 5/5] set default speed to 0xffffffff v8 changes: * fix code style v7 chagnes: * rebased to latest master * added support of VIRTIO_NET_F_SPEED_DUPLEX v6 changes: * fix code style v5 changes: * fixed code style * fixed commit message and logging text v4 changes: * link_speed renamed to speed devarg * speed devarg is added to virtio-user driver v3 changes: * link_speed devarg is added to virtio documentation