From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7B416A04FF; Tue, 24 May 2022 05:03:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B995427F0; Tue, 24 May 2022 05:03:48 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E691D42685 for ; Tue, 24 May 2022 05:03:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653361427; x=1684897427; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TZaq1C3l/uZpnix3x3gka5eyLynM4vfPp7SytdZDN6k=; b=Jf+gV4WguOvGmxp3ORpMaHofna3B+hCc+z6Qga2WDiRPyRG60OCyLAOT MfvaEAJBQndRTGOiszYMsxiU+Bu4coxJg7RJKwf2780GKG94Ee5l8pxjx RoSXzs5DyMkTyijy41EgO7f3WHd7eUfnlqP8p+bwXQoyXMvi7rB5yoaJ1 czN9lTadW+9aHbzzA6xFwNjMHSA8QMqroixBjCa5CsAqBh/nfK2lM7Zr6 NsVZ3LkeJ02pwphHXloGX1dxk/ZWvcc2qg4ueeaIzCKuW/0rUevEENHPw SQ0qJZTC4ca2JViHIGn4DASzy8cT9A5Y6YpUva04RV2aKe2vSMspTcaxH w==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="298730362" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="298730362" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 20:03:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="600997736" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga008.jf.intel.com with ESMTP; 23 May 2022 20:03:36 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 23 May 2022 20:03:36 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 23 May 2022 20:03:35 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 23 May 2022 20:03:35 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 23 May 2022 20:03:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VUnILkEjxKWsT3PMtR3Ve7t0gs+QBlKFJoQlMqXP7Z9HGFhOH0F8TGGa7ZxwphpisZhZch8UQ8gZonOaDeSG/56DE0aP2SN/vhUtb6wxsHrbIwOt9/xXFA4b9s2pvV78JU2fmpFbllpPuhW0RW7EGAR/fPBzk7fvkdaMyP3Am2VITXj6Tgyh+4GWXTGepFoM1edFd558wCvspvqF7iLo3WBORNkACinhjUp7YYnNZDcslGY9P9RuDyKiYadsv+CrkUtEYBgKFc5AEJS76DfX2ciwP7CS0NK/HgrNwl7veG2xgf8H32leMCuZJs8yC30FvNvtoZLUoViyBibSwbekgA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=INlticcsHxNPawNS0/DIantGnRrO4GywcXzD50UeSUU=; b=VZXC8a38zqIH5JW8fimxwtrID/udMr9j5E1/u8BKk2lPbwIDZNSLPvp/jU4Ovk2c1meq8hZ4evLGmFS50lnfo35WJpBZUB2BILGgUV66UHcGg8qPgg45ntjp75YTPl0dhlJlo67IqmtsBTCpEsyeXsJxGIAr/B3DFkTl51F+VGqTFGFa7Xm0n6Z2JfKQyc+sTmAf4Qcmz1uefsOWq5TIkGA/a+t1/3rCLaM3455ENh3v0FVVc9a5A1IpE0RCZYP/ZNABH0kiZYSA7ZbJEgm1dX17eD5SuN3vb9xFlsYh/FyUrQmo60QnCTzV1Dkh2qNItxKHzhHjGUrY0tO7AUvdQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by CH0PR11MB5267.namprd11.prod.outlook.com (2603:10b6:610:e2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.16; Tue, 24 May 2022 03:03:34 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f%7]) with mapi id 15.20.5273.023; Tue, 24 May 2022 03:03:34 +0000 From: "Xia, Chenbo" To: "Pei, Andy" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Cao, Gang" , "Liu, Changpeng" , "Xu, Rosen" , "Xiao, QimaiX" Subject: RE: [PATCH v9 09/13] examples/vdpa: add virtio blk support Thread-Topic: [PATCH v9 09/13] examples/vdpa: add virtio blk support Thread-Index: AQHYbo8VXnEI0vw1VUaeA/KhNvhhIq0tWIYQ Date: Tue, 24 May 2022 03:03:34 +0000 Message-ID: References: <1643093258-47258-2-git-send-email-andy.pei@intel.com> <1653298524-232138-1-git-send-email-andy.pei@intel.com> <1653298524-232138-10-git-send-email-andy.pei@intel.com> In-Reply-To: <1653298524-232138-10-git-send-email-andy.pei@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9d4dfe43-badc-4cee-9f69-08da3d31fd86 x-ms-traffictypediagnostic: CH0PR11MB5267:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sJWoRWwpVcZz+VejV2ayGKepCjkeZF0pOc0HFJz0rTRTdLYAw31SeBbgur6/DyX2SxllBvRnHANmyic1hw23x+OJCfFZvM+nrX1MGo72dEPGdhUDbohzUO6EdZD8fkKSIsxmuTu6ES7Ba3lWonbm40aSOQ707gO0t9EK6ZFweSho0JmVC5pICeQ8fIaCIsMpvHaMSdrPRhv6MKPXC5IvGta6Ebc8dg7wCYjpMB9ckksCcWdwo4p/oq5lrNZ8h3gcvlzr6eMdFQzVjm/Q45IhB+wZ+lqx3m30R6qldycDXB6oqRspEaVn9V2qW/+UAcoHKpn23IG8TxkFmAfloHbLN2TkAHxV1dcKXSnY0FMVpmdRhelETEHsiOuEXpB5TJAuh/6emWsvj8MEXRNf+fcr6zcMEq26KlO7Kk8L+6JV2dYbJTpvya3h8BZAplpbRSG2daZAI7ucjw60LtPlHT5/A2L5fttX1n2JEsyMRFlXMYatNjOasYjSXzARwnYxM9h/lsWdUr9EGfm71N0TG4cfpAdnfco6ypBupDON3L/T5FwfIOyzOXBsKAhlP2z9kC9eOqjvlp2yaM+soToAE8HuPQoIE46I1V+XB7pcX2MyJCf9EXDFzFtpYG6dF97NTfOOE6gwuBa6N3ShCZPaqM6F+0hA4fPDUlhEbi1FU1DnzviLl+1cdEw4HeHkuMZ0TW6gTUGjlXXbkHWXCDqxKAwjCA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38070700005)(71200400001)(55016003)(122000001)(33656002)(82960400001)(52536014)(4744005)(5660300002)(8936002)(83380400001)(86362001)(7696005)(9686003)(26005)(53546011)(6506007)(508600001)(2906002)(4326008)(186003)(54906003)(316002)(8676002)(76116006)(110136005)(66556008)(64756008)(66946007)(66446008)(66476007)(107886003)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tZP5lwTKwNUUZUpRK6yY9ZXkK5sAB6NTXEROd7rn7EnMiqni96yzjdt7NP2o?= =?us-ascii?Q?dcSC2UAFcI7GEc38Ix4A4QWIu/ZFQkGd7bZngZ5pAFjsM7CC2zHpSfP7KkpO?= =?us-ascii?Q?FhIifA1rZUXUlLaL1Gj78LhDh5xh26mCOy7Oh9cDNMbdMBJaYHG2bIP4KxPi?= =?us-ascii?Q?yK32nGEJGoqnnrf3/T9btd3jK+7hJf13EJSB/x10OF2VCF2qtwyIqRmHxof6?= =?us-ascii?Q?78+jHvKsVflc7zDT3O4Wncre0MCV3V7WFQxStoO/ddotm+KC/NjE92zHQzbz?= =?us-ascii?Q?z9lm0TcTIxcdSz+1ydJAHpa7dxrCe7qQqBOWzGJLWmisQ2CKUzckdpVV7Mkg?= =?us-ascii?Q?oqD1S7ZlcACayXh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?us-ascii?Q?hgw800Kope6WVbiFEc3qB0VZg7+W1/DUvsMnq8hEyM4vHG+suhIDNzQ7em+0?= =?us-ascii?Q?cQZNz4K2n9Q3T9atGEben3iskwRXFyOfqlcOPByRic395adH2z/UmrNw3zsl?= =?us-ascii?Q?wdfsZyClCG0TN087pXppgE08i4iKOwcNvhev23ibrxa5MYpLlvTop3DTQaWE?= =?us-ascii?Q?eTEfJNWNUMGx/Sqj8ISbmLnG26jsE1eQSGTOGWWoewchLE7KKMMrFodGlyVW?= =?us-ascii?Q?zm7qmsIIDD1gCUQP4+INsDi05YMHvHrVkmvw1XYe6KYKNa+ngrMyd0XiBUoq?= =?us-ascii?Q?0vlvTXoDzJbnUdpNlj3fnunRgJJMY7rHNCfgmpi3z44WnnTWn7RSv686NOJ5?= =?us-ascii?Q?gAgm76MDnNZUz84lOKno46e4fjl5wp4wn0QNHktb8bm924ulPMq1DlI8pXNb?= =?us-ascii?Q?b4Fb6gSKhaHykR31AzrceR1zjL7rDBro+6ZA5gAMgyTeYJVcXmNeBUuKPt4F?= =?us-ascii?Q?gF6yurFObg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d4dfe43-badc-4cee-9f69-08da3d31fd86 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 03:03:34.1871 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mTdsHN0aJsoFb17X8owjGMK/XwuufgK8TpuO41xkqeW3mSB7dPrsiIVFfAv2BoNmslyBIvgvsWdAsQ3aUUwLvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5267 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Pei, Andy > Sent: Monday, May 23, 2022 5:35 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coquelin@redhat.com; Cao, > Gang ; Liu, Changpeng ; Xu, > Rosen ; Xiao, QimaiX > Subject: [PATCH v9 09/13] examples/vdpa: add virtio blk support >=20 > Add virtio blk device support to vDPA example. >=20 > Signed-off-by: Andy Pei > --- > examples/vdpa/main.c | 56 > ++++++++++++++++++++++++++++++++++++++++ > examples/vdpa/vdpa_blk_compact.h | 50 ++++++++++++++++++++++++++++++++++= + > 2 files changed, 106 insertions(+) > create mode 100644 examples/vdpa/vdpa_blk_compact.h Reviewed-by: Chenbo Xia