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 55500A04F1; Mon, 9 Dec 2019 11:41:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7B5112C17; Mon, 9 Dec 2019 11:41:20 +0100 (CET) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20053.outbound.protection.outlook.com [40.107.2.53]) by dpdk.org (Postfix) with ESMTP id 5027C2BAB for ; Mon, 9 Dec 2019 11:41:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BNXjxfVREiE5SNDi1a0UI3l/+nEXhip0/kjHOH2GGyMe/29Up3ZVOYTZZiqa7r36OWNLdznXOcH+N46gfQlYL0d/JHLsOYpaT5QOg/Et06REjnhb9w5UWnBShO5JWOrl1SHsGlWSmm2RXOaHF9mDQliJaqnddo5Op7S+x7WpPCRQQeRrJO98kbA/ynHTo8HwrZJFcxizcMNdo/Um52n9Jo6RPoYMaaebLW/7vC1R0iMwi27G5yyCzskVkTWXNjGHNcCWy/E3ZBgtCgDIDNzvo4ZGvrIa8TBW3wRqkggPc8athXqRRBdTQjYIkoI3a6TT7l2zb7RGTf+9gxUwL1QGsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2tt54Tm8Fx82mhZoHTMTdJnublP/vcwIEAM4U61Aqiw=; b=TKttsd3JxhU6yr2YYS3tXtuHt9MgonlfBOd2ZSP/wqyj2HtXXUeNdNybfgaX8fnH1xKQcxdb8k9T/f5OJl2l0yP0vFu3u+JGmXwk8l1BxORINYcoC+oZYY6tvtvQ9Jx1wvGYTosbgufhwm+/Cen68YbQuSQFOTMgE2eJUWXKCTfBd9NlxY3ZEC40yDa9MEYFvtc/ttHC0uDnBFZ6cXkt6jdwG/ZnKl7VMVySssKtTR3dI6QEyIVbA4F5RcjakVHUzhiyitnMoR0CmG/H3gm4N09z9wSY2lhlAi0ju4k8o5EV/alIvzj3dkWnxxRvTww7RI9nruOKx0EHoRZ8NZKPfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2tt54Tm8Fx82mhZoHTMTdJnublP/vcwIEAM4U61Aqiw=; b=oB562LlHIQj1aHK1EOjF/MPa3kqrfyePrhPmaoGBC17zMa6fV0Ul3T+cF0WeOso6m/GqLqTewzpt6duI2ZW8+jH4DQ5980D88QLnGmm7yBUS6x92jQwDcT1Ru3RlONgQs7iQC6pVm3NwElWACtJR3KP5xChylaqerrzukG+EkVA= Received: from AM4PR05MB3425.eurprd05.prod.outlook.com (10.171.190.15) by AM4PR05MB3331.eurprd05.prod.outlook.com (10.171.190.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Mon, 9 Dec 2019 10:41:18 +0000 Received: from AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::d877:95ed:5f94:a4a]) by AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::d877:95ed:5f94:a4a%3]) with mapi id 15.20.2516.018; Mon, 9 Dec 2019 10:41:18 +0000 From: Ori Kam To: Andrew Rybchenko , Matan Azrad , "Liang, Cunming" , "Bie, Tiwei" CC: "Wang, Xiao W" , Thomas Monjalon , "maxime.coquelin@redhat.com" , "Wang, Zhihong" , "Yigit, Ferruh" , Shahaf Shuler , "dev@dpdk.org" , Slava Ovsiienko , Asaf Penso , Olga Shern Thread-Topic: [dpdk-dev] discussion: creating a new class for vdpa driversxiao.w.wang@intel.com Thread-Index: AdWrb4MuZAzWYxCvQo62v8jcxBatZQAff6WAAAI/ogAAB3DQgABgQcWAADPIp4AAAkrisA== Date: Mon, 9 Dec 2019 10:41:17 +0000 Message-ID: References: <20191206042745.GA706462@___> <0c1e0a93-321a-4307-8493-b76c9c75c290@solarflare.com> In-Reply-To: <0c1e0a93-321a-4307-8493-b76c9c75c290@solarflare.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: fc7d577d-1589-4bcb-4b28-08d77c9452c8 x-ms-traffictypediagnostic: AM4PR05MB3331:|AM4PR05MB3331: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 02462830BE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(366004)(39860400002)(376002)(346002)(13464003)(53754006)(189003)(199004)(7696005)(110136005)(316002)(52536014)(86362001)(107886003)(8676002)(55016002)(71190400001)(186003)(8936002)(81156014)(54906003)(26005)(9686003)(71200400001)(222073003)(81166006)(6506007)(305945005)(53546011)(66476007)(66556008)(4326008)(64756008)(66446008)(76116006)(66946007)(5660300002)(2906002)(478600001)(229853002)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3331; H:AM4PR05MB3425.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AHxm87dz6JKR9HI9KVQ6qVRd3wGWSXoh0WFoYyww4Yxhz45a363pTkvsf78qyh7W+MRomqlOtCDpWsXKwiW0z+JHptuioU4EHdcLtndP5vpdtKeY4jEUqtYB0qfIz1JpfCvXqbGSsEhQa/GAf+zL3abLV6cv/3+WRVfHklJJRC4THpVnnjHlaMXVHRD8tIvD8TzVPp9OXw1g1SfI3SBve4Prhtuupcxc1mN2EUsd6Z5c3dwrv69wZfoa+puJ8XChknm/hi0tPSODfDTYStCxL2whyL6+h04YhshytWrCCOLfBLQmxB0SfQVL4gecbq3v9BlPKvjLQJnRw+mT0Om1HzLfJxfUw2/F0VTChyWBA5SKOHBXItUGft0elo5CatiDAuRD+53kZiLyA2SDwBl7VtB6iVje4asP9JZYSsrnWYXHdmINmywqj/2GUKDO+xeVCEi9L0g2i0teJBILSW5MIRXfaio/8L+MYLxDpcuEtG13E4OD4kqjve4wANStKu1XmWnfj68eGbRPQeOSinyvCg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc7d577d-1589-4bcb-4b28-08d77c9452c8 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2019 10:41:17.9838 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YFNxLrZC2bcRAg/RSh90wnuAIRxxarBgDDqu1HkJg+XvCJP3aLiTQYwBST2cmg/aVyVLHyNxeNTZnH+bdfVN4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3331 Subject: Re: [dpdk-dev] discussion: creating a new class for vdpa driversxiao.w.wang@intel.com 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-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