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 374C4A0588; Thu, 16 Apr 2020 07:53:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EEE051DA94; Thu, 16 Apr 2020 07:53:23 +0200 (CEST) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 6ECF11DA90 for ; Thu, 16 Apr 2020 07:53:22 +0200 (CEST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200416055321euoutp028d440efe759bd6b32c4e51e701633536~GNwJCdIfM3071130711euoutp022 for ; Thu, 16 Apr 2020 05:53:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200416055321euoutp028d440efe759bd6b32c4e51e701633536~GNwJCdIfM3071130711euoutp022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1587016401; bh=SZHg5/ZXSv0fN05qj8mkqozXn0nduCkKkBUEDAhBPKA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=e4nGjKg6k/AxP3UmcSt/0CBYJq/neEZdqxnXH8YJtH8bnGYeIeVBcfjIgVUqe3jy2 FvDm5X3lV95YzxQpqe99DEhjgvR9lCNYeLjhyR55WdCvohQHAn5EV0x3yvi8sOJjPc QXvhUrQ6RfEpjZCwlo+zj4f7Rp6jhffa7DC9bF88= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200416055320eucas1p2cf25d4f738448423da279af5930153fb~GNwIhxxHk1360513605eucas1p2Q; Thu, 16 Apr 2020 05:53:20 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 6B.91.61286.0D2F79E5; Thu, 16 Apr 2020 06:53:20 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200416055320eucas1p145da3f096ae1c9e3ee9c5473e95e79e3~GNwIOUYmc2529025290eucas1p1x; Thu, 16 Apr 2020 05:53:20 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200416055320eusmtrp18416075692bf9173b077b4527df99b50~GNwINqRUH2642726427eusmtrp1b; Thu, 16 Apr 2020 05:53:20 +0000 (GMT) X-AuditID: cbfec7f2-ef1ff7000001ef66-11-5e97f2d03961 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id D0.FE.08375.0D2F79E5; Thu, 16 Apr 2020 06:53:20 +0100 (BST) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200416055320eusmtip247248665b2a8c442d629264823059207~GNwHopMKA2602726027eusmtip27; Thu, 16 Apr 2020 05:53:19 +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: Thu, 16 Apr 2020 08:53:00 +0300 Message-Id: <20200416055309.19679-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+NgFlrEKsWRmVeSWpSXmKPExsWy7djP87oXPk2PM3j+x8yidccDFot3n7Yz Wcy61MRucaxzD4tF36+rjBanb25mt/jzxtRi88VJTA4cHr8WLGX1WLznJZPH+31X2Tz6tqxi 9Dj1q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5GBRFyMnh5DAUkaJA3NiIMISEq+fMIOE JQSEJf5c62LrYuQCKvnMKNH+7TUrSIJNQEPidMc8JpCEiMBxRoneWf+ZQBLCAlYSPXeOMYLY LAKqEv+fd4BN4hWwlJgw+QMLxFR5idUbDoDFOYHiTRuWsEAcYSFxp38zK0S9oMTJmU9YQA5i FlCXWD9PCCTMDNTavHU28wRGgVlIqmYhVM1CUrWAkXkVo0hqaXFuem6xoV5xYm5xaV66XnJ+ 7iZGYLxsO/Zz8w7GSxuDDzEKcDAq8fB2vJ4WJ8SaWFZcmXuIUYKDWUmEd4f/9Dgh3pTEyqrU ovz4otKc1OJDjKZAr01klhJNzgfGcl5JvKGpobmFpaG5sbmxmYWSOG+HwMEYIYH0xJLU7NTU gtQimD4mDk6pBsbwZS8lzgYtaBPk/uD2YaFnY9+ki89Pcwd9Pu/FaWGTf+5Guapj+LSbWZrv WMRuqWf/esz/7/ELh63MR5v0xNYfeN6z8LnJkzVK37r0k513hP94r3paefax925zazp/au5u XTrr5ZXG9PNrN/gsZzLa33TEadmUWUbMebYqobml1+cUilX37bdXYinOSDTUYi4qTgQAfTPf 160CAAA= X-CMS-MailID: 20200416055320eucas1p145da3f096ae1c9e3ee9c5473e95e79e3 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200416055320eucas1p145da3f096ae1c9e3ee9c5473e95e79e3 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200416055320eucas1p145da3f096ae1c9e3ee9c5473e95e79e3 References: <20191212085012.9170-1-i.dyukov@samsung.com> Subject: [dpdk-dev] [PATCH v11 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(-) v11 changes: * [PATCH 6/6] changed sign-off 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