From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0081.outbound.protection.outlook.com [104.47.41.81]) by dpdk.org (Postfix) with ESMTP id 0A1062A5E for ; Tue, 14 Feb 2017 04:21:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WeGaW5rLp0JyMD3YUBKj8mhPRacoliiyMhtekvFNz7g=; b=FRleaeocsD2lMm9qvXM19SMuCDhn0spucgs5KqyxCWR+jIMbHeSg2yKyRboobFOFVWs3cZUJTbMXEHeKyoDBdtdR53cisk5IK3gBY12h5S0y6TcW6ubFNabQnWrcylXFD3cdJLwZ3wbhJJrlNnUivIwUhwvrOOVIhqz8NG01+A0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (111.93.218.67) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Tue, 14 Feb 2017 03:21:22 +0000 Date: Tue, 14 Feb 2017 08:51:05 +0530 From: Jerin Jacob To: Thomas Monjalon Cc: Yuanhan Liu , dev@dpdk.org, Maxime Coquelin , John McNamara , Ben Walker Message-ID: <20170214032105.GC3131@localhost.localdomain> References: <1485176682-12379-1-git-send-email-yuanhan.liu@linux.intel.com> <11273851.Pnx70jxc9N@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11273851.Pnx70jxc9N@xps13> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0023.INDPRD01.PROD.OUTLOOK.COM (10.164.137.30) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-MS-Office365-Filtering-Correlation-Id: 78207bdb-547d-4f9f-92ec-08d454888df6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 3:xgM5C4eo8C2KGyizkOqM41Aetj0dTqNrRvdAPYfha00iMWsBEwGofHKE+y8vMi1xoRXx0511KMDCy4CqEeNVgI8cbpoFQtcxx4f6VI4mmBpWtSHEeB6iy9j6H7f0C1vwyQ/gUmbrtP29oNU0Sruj1HE8oAJdSttDKdva7DDlBpI/af3P6XA8I1T8oFjKkV1kOO0PSE6ojbWSASk0jfxWGfj5KkKedyppSumruvcb18LUMNan0bgngnYun/DX+M0YC5w2dJ23fH2M9o0gcXrFJQ==; 25:rO35ZSaBy/0u6ZY19xoZkdTuYYtt16Rc0NB87D/lTTINM0t9x2/kU3gkazoCqFEHu2CmX6ZUhkl8FdmSNxr+sBMjB3a3LZEEPH6eLVQLuvlLBtKZSu6B0oari+ft+ZVt+zKpZX+1IARLLre+9yjTCi9qEqT2y9lxz0er9waQhtst+JHSOVUOY2pPlGh9n4qzA7yFoLUzuMRKAFBGXCj/oSuYhXDCXaLp/eFmYLdbLCmGCKEfnWpv3sg1vvsn9CRTvNInGH71HYXDIxEKGwzk4gbbOS8fTLxtCgetdYhyMYOnlWvboyB+PB1EnFoymt/BNdr3Lfgywbv2u/V57nUAZrKV6hb9D914XmltyUolIhwFHT5es9YG9Nw4w0BTO3iO/HYjBxcxuShNbZ9Ztv/onJJBQzqOkF3zuO1tNWRNFoYk9wg0ui+TcMAJH02sOypFOztlg7CwOdk9IKtdgNoHJA== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 31:OK0yZpCzdnbKF1gTQIBVAhb6O3eQ/yFsAZHMDnGWQWrc17o2kzRmvuuKWTOfMNn6D15FF25kQdkxbphYZfPHrGpzwQ5ExKbuF9CHe90OyGxSbz8tV6umKlvM+OoMI1OvTc1frSVH/22ZVoFAdck7nN8tNdepMntpFrvblEmvGzOqI4YgEZmn5827MdHy7WCYjix2utEVbqjMjz3RJGMwn+NOmHSZL/y8arQ6MRdxpWgaBw1cJIEBE0pUdFImTsfTOXNSmH0usc4tTP1yKkCjySFRzTRA9iktOxa7F4MEgVk=; 20:Zg+ToWpNsI0/oNaoOOXnKZ6FvOxkkMuddxVtRepG0RuaXK0WsMeTf4IRfjLpk0RckxjEFRbYtwVV0pR7aGKTnWN9dXSa/SOjOPkhVtqj4L3AEef2NLv9orCfu+jD9T2DqsD3jVyUwf0/a/Yh7Hs4o5yUL5riAZhFTKBQbDYDgvdlOKa3KoBoCvPPF/Eovo18wcrk0jRArJ+SPdTamCX8VLZVrESgK/S+xmdjFhvsHQZCrUckOhvT7Ls1NunWojYTTUyU2CkOYQQg/C+lMRY/EeJ2V8qDvySJ7iSdO9pWzErMCDmMiHGX4nD1J2m69qivSJUMmBcIzHqiP8pKvokKBMAi0KrtYQ3P3yFA33JJD6svUAnSd9Tz/mayqVby1H//ThZsEA14N4VoolB8lvgPGUX1Dc4uNg+TJr11jYvfZTXyiP552fiSk8O1fsiNehjNGIUPlpAeHt7ka2gUCrS5sZbP2uVnOi/NyBYKuGSiYdMYdwRc7YDnp8qvQoNm/b6AofWgEiIBvsGQR75S+Ub0KYvu2wTy+K1n9oeEqmuDDgQDn5rfoDXSjdCJciQo65WnYnQeLFUA2HORVkOtGCHlo6Topa3HoopqAAzspqKmlaM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(20161123558025)(6072148); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 4:YjRmBEDYSZxiA9xYvsjWF4BaOMtD3PEgtOZ4iOqfpmQMvKj3RnHv/rkgzJN+aeamlmISEVC4JU34RI2kNPIVQUTEdBDz0rCkdvAx9gJbeW0YsyacRrHc6MMvGZLRwTWxmVlJNrzM8wb8yNUU0Aml8D1+pIAWFumqmTK9YdPH3yItBRQzKA3CAQOwRVeEmObOju/IutUVyvtuOzf5GTBGz8SaeBJFmaRM4PrzLX6w+AKL94wYHxmTmJZVdk2r4EGoTCTjmLoxO1eN0NiYNhci4kh+eW7lz70jzihL61Th1CGMk3HJj9DxlDdxhmEYg2W7btjERNy/RAP6VaEZVA1AX9OKFRC0tHLUlY71oCYtgDJCqM3NykKoSgQgCmAi9n6aUgDntDCaAi7yoyoejB66fd4qsFKUPu989N9h06oGzrfYo9HUNFhiD0auLSGl50wC4YlUHIaxAq3+PC4fB3Lrj0bZSFKv68fhgI+VgJjSwHVGQlRAJ77igjKV0MCoxjRHEnlxUvqcyqX4CGnodLjojdrYdi5sJj1ZFH15DdRyAp+EL2vM5Tcyjh2lgjBgdF6PwUeOoZ95AAdmsQV6ugyWR2qkb2QRlv/cc3bvkKeVS+ZXmUkIUbVAjWyjUaa68TsEgqQ2sDbmdkteLiuOTup9PQ== X-Forefront-PRVS: 0218A015FA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(189002)(199003)(377424004)(24454002)(54356999)(76176999)(5660300001)(50986999)(61506002)(6246003)(4326007)(92566002)(68736007)(25786008)(50466002)(229853002)(8676002)(42186005)(47776003)(4001350100001)(66066001)(2906002)(81156014)(81166006)(105586002)(106356001)(53936002)(305945005)(101416001)(38730400002)(7736002)(9686003)(6506006)(54906002)(5009440100003)(2950100002)(6116002)(3846002)(97736004)(83506001)(33656002)(189998001)(1076002)(23726003)(42882006)(6916009)(6666003)(55016002)(110136004)(81003)(7099028)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1713; 23:cU8/Ludm3BiZOnjs7vnfTFhv+Hpsfs1vJUBEoqt?= =?us-ascii?Q?DgF8cHivcfUPFNM/4S44paAdnf1IRj7mERc3gwG05BDt5+cQ9+j/mVAQjDA9?= =?us-ascii?Q?W3PQf3bCEztqTv0mrFswVdUR2ebE2JadAe07CKqmm37BWxhDf1szLB5unVG0?= =?us-ascii?Q?8Zllu9ntgHxgl7yyjQDU73ucUeToYLdGT7oI+MUTQNMQrjkV2IdjbDY+KcrX?= =?us-ascii?Q?bvV7CZuVpSZZxiTFNlQL6hLpm1nJqxqHYf4tH5XO1+HGP4aqe6ZlsWpOg3tY?= =?us-ascii?Q?nGb8aA4oN5nxvDKzm9B/1qkj5PgL3fLNNvyiiY5JThJfw9LkzFemXsQsWdKs?= =?us-ascii?Q?gk93IC/bNJswylO+5nMutVwaBvruI7paDyqyWF0V3jejFMBK/OSy9o9ugUxO?= =?us-ascii?Q?vej5Nk1/wic5NLjKP8MXXc6ObMbHHHZB2skjkpHanlmsnE22HUxkpCxRRXdC?= =?us-ascii?Q?KXeNvM7Owvpn3TnR89mu7GXKBKk1R9awQ4Q3L/Mb+O1+drsYnW6KSqUUB7uY?= =?us-ascii?Q?3TZ0h0LaSWOUZ9amTyP2w8esmUYd1X8gtI37M22kKmK/0VBbMJpShbdiU2Nm?= =?us-ascii?Q?m64YqqtV/X7ZVwoNj4IQTF33ei1wfr6PiVbAAAEfgKCTrgZHORIw96Jb9KnV?= =?us-ascii?Q?j8S5VTS4YHYXg2Y3mqryxgakFZ7vh5dchP54xHQtvVuM5OEp5kSb879PnsB9?= =?us-ascii?Q?ND+UA34yXTCNdT98lKjDBmILbDXvonPpBCE0I58Zo8fM5hH1ds6Og88mYCKz?= =?us-ascii?Q?FZRd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8KnhqDe9gce2gQFOwjOBebJlwjym795Sk1xTimfcwdAkjzxkXQltqlswv3BG+7w9l/rrxAmQoMOxK9H+EV8Uzv0un8caGEUodIHfQ7MyB92t7xhfpbg==; 5:96uvTAakGRIJyqqH3t+1tkbc12KDkHx8aCSXbW1gGDoAb2xCYmPzOQoM7xVfflSVMPcP7nji7TX8NfN2Sov3WGM9crp0TS4GJZUAxOmr6423acAJ083aMProIcCbSuPZmTsyK0wjq8ELdf3qf6pD0Q==; 24:BgMZrfAtxTPyj3iYFbT5ZJ0666U/Qt7T0JF2toRqdnLzGX+WubwsAyDJ3DZrSgflWCMDLHpSb5EFCprn1hR+H6zpDl+uK3nti7i072Xj9Vg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 7:D1cyNcepYkIWHLZMQgTvgSg63m7WodN/btAqgbrgWB/fB8LIoxSU40uWZggy42FvXq01LvT0iThNaEZwjUV5/mGUJLYma9ec/ojKny+IsRFkKNRqFpaYi74prQF54xF/aDtXbB1IuHcxodo3z5eVc/7xNSO12wNftSC5oiCZk7JYpfKEusKY7DhYdkx9Y2Ku98Dn3c0zokodCTM8jp6jUG8iPML9a9fDzu6H899KvAgAxTShG7bfiCsY+dAYQjXNnyVJFOBcmuJ7P92ZsRsR2wrMs4IpsXRvR8LjCCCPGrM1bSQjvK0guw7xOG4QBMbaNevDMGPhOkm0PAjKahqvoDJBPPshJ7xBHaKKTKxPct4T8gymixqNirs8vVFwlq43AgwFDdIB++he2tv91KaAhKpx+1+VYPtbrswaZHJ+IDbpJEU+xjim/D5q429wdhpzwPq+09edVrIvO/tbZ7poj0xv7z2929Qz+lbvjjxO6/yS3wsddMyj/Dh8RKlpMHB8zvahFhcTHYTbPcVikdZOew== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2017 03:21:22.1207 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 Subject: Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for vhost 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: Tue, 14 Feb 2017 03:21:26 -0000 On Mon, Feb 13, 2017 at 07:02:56PM +0100, Thomas Monjalon wrote: > 2017-01-23 21:04, Yuanhan Liu: > > I made a vhost ABI/API refactoring at v16.04, meant to avoid such issue > > forever. Well, apparently, I lied. > > > > People are looking for more vhost-user options now days, other than > > vhost-user net only. For example, SPDK (Storage Performance Development > > Kit) are looking for chance of vhost-user SCSI and vhost-user block. > > > > Apparently, they also need a vhost-user backend, while DPDK already > > has a (mature enough) backend, they don't want to implement it again > > from scratch. They want to leverage the one DPDK provides. > > > > However, the last refactoring hasn't done that right, at least it's > > not friendly for extending vhost-user to add more devices support. > > For example, different virtio devices has its own feature set, while > > APIs like rte_vhost_feature_disable(feature_mask) have no option to > > tell the device type. Thus, a more proper API should look like: > > > > rte_vhost_feature_disable(device_type, feature_mask); > > > > Besides that, few public files and structures should be renamed, to > > not let it bind to virtio-net. Specifically, they are: > > > > - virtio_net_device_ops --> vhost_device_ops > > - rte_virtio_net.h --> rte_vhost.h > > > > Signed-off-by: Yuanhan Liu > > Acked-by: Thomas Monjalon Acked-by: Jerin Jacob