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 38A23A0563; Wed, 15 Apr 2020 22:04:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D36171DA00; Wed, 15 Apr 2020 22:04:40 +0200 (CEST) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 956781C195 for ; Wed, 15 Apr 2020 22:04:39 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200415200438euoutp01abe41d5e162735741e06933dc9faefc9~GFuHz6gXf1620416204euoutp01g for ; Wed, 15 Apr 2020 20:04:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200415200438euoutp01abe41d5e162735741e06933dc9faefc9~GFuHz6gXf1620416204euoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1586981078; bh=a047YPJcevy9d96mdjejKJwsuyNXkqt4fIIgGN6hAGw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dYFTGzlSaFWCoHOgdD/dN1r+vijqDJUheL+oApNTADpBrU0rQ8r5+IPF0ifZlMOyc 0OzdU1rZhZ56Hv87yiZBIBDrqFxlJlZ5krRvtUYb2NnsegCj2k88Ep8fWU72cDrEHs grtHASwz5syffprZfDtJLJXDteCq2vAXp51K3HzQ= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200415200437eucas1p21c9d80a8cf806f265fc44184cb5272f3~GFuHMyrG40429304293eucas1p2P; Wed, 15 Apr 2020 20:04:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 61.59.61286.5D8679E5; Wed, 15 Apr 2020 21:04:37 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200415200437eucas1p2d57f1d9d3e924fc4425538e19bd2c95a~GFuG0Dqxc0429304293eucas1p2O; Wed, 15 Apr 2020 20:04:37 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200415200437eusmtrp26214965fae120c7f6f118ce2cdc7af71~GFuGzblH-3157831578eusmtrp2L; Wed, 15 Apr 2020 20:04:37 +0000 (GMT) X-AuditID: cbfec7f2-ef1ff7000001ef66-39-5e9768d5382c Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CC.27.07950.5D8679E5; Wed, 15 Apr 2020 21:04:37 +0100 (BST) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200415200436eusmtip1f17a7cdfc7bdda21e1b9d810d55f52d6~GFuGORxQB1865818658eusmtip1I; Wed, 15 Apr 2020 20:04:36 +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: Wed, 15 Apr 2020 23:03:52 +0300 Message-Id: <20200415200423.6410-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+NgFlrIKsWRmVeSWpSXmKPExsWy7djPc7pXM6bHGUw8r2XRuuMBi8W7T9uZ LGZdamK3ONa5h8Wi79dVRovTNzezW/x5Y2qx+eIkJgcOj18LlrJ6LN7zksnj/b6rbB59W1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7uinUz+pgaGFdxdjFyckgImEhcfNnH1sXIxSEksJRRovvEf/YuRg6ghITE 6yfMEDXCEn+udUHVfGaUWL5wExtIgk1AQ+J0xzwmkISIwHFGid5Z/5lAEsICVhIdW+6zgQxi EVCVaN/ODWLyClhIbPhoAzFTXmL1hgNg8zkFLCWaNixhAbGFgEru9G9mBbF5BQQlTs58wgLS yiygLrF+nhBImBmotXnrbOYJjAKzkFTNQqiahaRqASPzKkaR1NLi3PTcYiO94sTc4tK8dL3k /NxNjMB42Xbs55YdjF3vgg8xCnAwKvHwdryeFifEmlhWXJl7iFGCg1lJhHeH//Q4Id6UxMqq 1KL8+KLSnNTiQ4ymQI9NZJYSTc4HxnJeSbyhqaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU 1ILUIpg+Jg5OqQbGBZcmHK83FXa78WfXop03zijOzvlQ8cQl3OOw1nyFJEHzB5JcEzo2xJ69 9ujSyijNqD5t0V/Saj9svi88OH1JujqThDBr3CbFf7sETgjXXZ/ZZ9l/If2jo9j88xf2OR2O WVkh7nqq89jJ2aHMkm7Vm9PXHIkI0W1c+fHb+bVBpSw8vVntnU3nlViKMxINtZiLihMB7NTh Na0CAAA= X-CMS-MailID: 20200415200437eucas1p2d57f1d9d3e924fc4425538e19bd2c95a X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200415200437eucas1p2d57f1d9d3e924fc4425538e19bd2c95a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200415200437eucas1p2d57f1d9d3e924fc4425538e19bd2c95a References: <20191212085012.9170-1-i.dyukov@samsung.com> Subject: [dpdk-dev] [PATCH v10 0/6] 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 | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------- 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, 183 insertions(+), 39 deletions(-) v10 changes: * [PATCH 1/6] unknown speed is moved to first patch * [PATCH 3/6] rebased to latest changes * [PATCH 4/6] updated commit message * [PATCH 6/6] rebased to latest changes 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