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 DE877A04FF; Tue, 24 May 2022 05:09:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8623440A84; Tue, 24 May 2022 05:09:07 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 5256F400D6 for ; Tue, 24 May 2022 05:09:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653361746; x=1684897746; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=AAFOMIHhAdrkOKeBhl4ZC6R7EQyeW+IMzK+JSxXolLA=; b=F49hwpQrbFkvEn/y1M5ovJwT/x8p7bqwheR6MsvLLYOH/YUERS8bpBSf 88ECl1hs4XzhzxfPXpEFD6YFIQvL7mLBWtCXDveXXFOlLjqUPCOVMx2sU AQmXq71DhCahBIjIzIjPoeZeyy1vyW08zCrqVClnChRNlck1/Yy/1qvi4 V7bea0LJclDCqeeLmM7zKLTdTYNGO+bXt23ndrMh76KjhdEibgX+1irNN m17CwuoF2lMycb+sABkBxG3b6vv/nakTFJi6sel9EDstUfWAJHyi3uDe6 oqSumYYMGNiYh6vCgWW+dDgnV/l/nxR9GA+6h9SgydH2FtyYBNRfRbANr Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="273411222" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="273411222" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 20:09:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="716990690" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 23 May 2022 20:09:04 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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:09:04 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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:09:03 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.43) by edgegateway.intel.com (192.55.55.70) 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:09:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LtZWVIeXWNIARnyxTleaC4ceN/05RbxDMLBm9FWX11MPEYfDBgKOLokP7aG+kpdXDsmlJDGR5CqHY/vNrhHVHWhbtHcQhFkYZ+3I1t+3qbYMphcuYHCeJuiAoCM2SBOwmfVzcE/D9dUppt5n8GbmnAQJO43vrDHEYhxInTfTgHdSry+e/PpmjTvidqMNJ4sw6MKE6uSutC418Pb+mX91soLq6gL3FrAkfEwKdrRbx11GKzUDY1JNn3e7XU3acx61EN6gksgUsenkfxkFHHXN8QrRdHsZ1+sjoc9N2G4Z1TAV3PaqiSNNFn1oN5zd6Yc9AU+aBpB4fBAdrT1AMYeGug== 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=VC8/KaAD6YF8qYW2NlW1dadGVGaTHiKyVRpEVStvi1A=; b=kxwtY7FuclPlIMDlqtOytjrFql1DJzEhNE8kuUnKbTJCOsqngqCZ+miqjYRCggXDHFIkHSwGsyWFTHe6w5G3+UkmHk+lP0pG9TYzvwTAEv8VgVNHXx2ymPqsDrCEaQ6o6OJHnFfjs9CSv2eixwmKjTTXte9CCD2RM1OG0VHywfD+c8PiV4042TgCDv+wvL0f8LFfQ8XdwjSuuxd69WD/kD8FWPmKrT5Yn6ZIg2DGLL0gNevJNpzbxJ5CTtNHTKVmanejJhwbvCM2D9abvVH0aNx75oVf3wgELX7LFhA1RLckFgqP6lsFsSAQUG75Jg8iS1V3F8/ZNo3UO55g4QqNBg== 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 BYAPR11MB2677.namprd11.prod.outlook.com (2603:10b6:a02:cd::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.13; Tue, 24 May 2022 03:09:02 +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:09:01 +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 12/13] vdpa/ifc: add interrupt handling for config space Thread-Topic: [PATCH v9 12/13] vdpa/ifc: add interrupt handling for config space Thread-Index: AQHYbo8bQ88fgwkbf0elgpaBnXuJfK0tWg9w Date: Tue, 24 May 2022 03:09:01 +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-13-git-send-email-andy.pei@intel.com> In-Reply-To: <1653298524-232138-13-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: c64bb138-ab18-404c-0a4a-08da3d32c0bf x-ms-traffictypediagnostic: BYAPR11MB2677: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: veSCCiPQgsSQR3xXuwpt5K8InSOB9oGsDqQ2TUm/jErvqmjiUYvIc2r3e3IiTqrNT4OH+VnQgMjGr4t8TkBVO7ZzZyd/SjlJePlDlFCxD1zIAV5xOWM0J3a1O+A/dBfMBggVTsiaTBwp0L8JigwHCeMIfnSLTrP1M3f6e84qLsRnLT14BTJr6t+vdM+hpJ9vVG9EkaHyFJYKG6y3Dn0NSEWs5EXH9KmSXsx2c8d286rqolt6PaaM1SnEU5NUOKY6dwF5fE0LqvdapLRdzFFnWrLOW1l/7mCv7efKMx24x+kw9QyUf77eaNEAEJDV7NXfmxf/6nLSiaVwyK8EWrQlVDFGPYCQvU5Ltn1dBaGBCWXhivNXrKkDujeBGcBtAetjusB92ucBBUU9RIJe3QtxaoJBie09beI0Vzvh462k/VOX/eHKLo4E4eLkW506anxMPQul8Db26WBzMStRZzCtuU324KJuIO8cHjAHlgYoMXSTq92fAsajmV4m5SrHCt8gVLqT+904NIVEHWpUeOxwSewgETx99txkKFTT1Wj8ZpaYG74xJ72exohKLjqoGrY8m2+8bQ/fnOPRGRmcfbDtU3AXZrFM9ajA20r988crGJkcuCz01uLFTErtcKlfxqmGwEKonG0/FZrQccME7dOd0HCtPpC24X9WkjyGSix4vSKV7wpkE01aLSlNudz91vLwfICXhhZryDabOoVdzhpS2yY1P/RBV9OmFz2uYUyHgLkx1yivdydapmpGKHDs1YuC 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)(107886003)(2906002)(9686003)(26005)(71200400001)(110136005)(82960400001)(316002)(54906003)(186003)(52536014)(8936002)(4326008)(122000001)(38100700002)(38070700005)(55016003)(5660300002)(7696005)(33656002)(508600001)(53546011)(4744005)(6506007)(86362001)(83380400001)(64756008)(76116006)(66446008)(8676002)(66946007)(66476007)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?uqrGoi0Wg6SDsQKtpfNUm/C4N4TEeHoSOQK7fCA6UzhUaC9cj/mSHdIq3hVy?= =?us-ascii?Q?RYhtyLime1ZGu17+VcL9fN+NESX35jdal+54mRgbeT+vDILSXgWFeSGnANXz?= =?us-ascii?Q?3vCwnGPKrw1n2/7P0hI2gVHCCnZodCOzjDy6AfZNCzuWbLd6RmbooV2c5Lbi?= =?us-ascii?Q?ymimwqqT8o8QbrrKrV+pf7TFemUk4EmtcBvzsJQetwSueTFYHKLzpJXwwTmz?= =?us-ascii?Q?SdRPE6dqftOS1yR62c5F8hS4zxkoGON86pRq2PGO2G5n00+tOeGhFoWbsJYI?= =?us-ascii?Q?Hcme3KFDVWnTfftBRZiIp6UQCvrtD2y3pOBOj9FdAHOuEWbD0qS4B3SZ33gd?= =?us-ascii?Q?FbUNmGr+5O8cOSEzvoRWn2F3WOvUcwelkMQ7FC5iawRSnRhR0FgtZGBSB6rB?= =?us-ascii?Q?dWQ3B35ZhbMpAfmJ0Z1H5K31KtHNdHkyjTPrUegkmtCTVVWTf0dbsqU/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I8MvfBT8CYpDCEicvPIfine+bGnK+i5?= =?us-ascii?Q?rNuaRZH0RhPCAV91HGWq/tex3uvsAN55PIFtIZUAL/CuVhgucaGDBh+i4bh0?= =?us-ascii?Q?a9mLyGGvpumgFWpIUMFQuzhITjfne8aBNdfR0G3+KbmkDWqFmHotbuGm5rpD?= =?us-ascii?Q?+MKwPd0B08t0zA8E8OU23WWOkII8ikEO2z5m9shLuwZqmnEw92IoriimWagk?= =?us-ascii?Q?JJMG2T6lUXh6KsVTa/NMXzl656htxMpesUMx5ApW6gfdtxH1K6u5FawE4fQJ?= =?us-ascii?Q?I1Uf6Nz0S09wDWw5cNlgfm2Z/aS41ROLrhmYbNHaTubgvQtj9dfSWUW46cBJ?= =?us-ascii?Q?rjG1Ekq6xbEcu1Rh0k3ZbFXUvcQxMDpr6zytASKChGEU8LWb5vUyfsDdDcbj?= =?us-ascii?Q?jdgx2hZ4rA=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: c64bb138-ab18-404c-0a4a-08da3d32c0bf X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 03:09:01.7594 (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: QQkc6KPxbGFFE8Ra/ZNDOjW7XMJZ/PQhwSmcr+EDZZa8MUjuX+Mca+7dE4BtEPJxpeyafJsOdnW0c4zOmuinmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2677 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 12/13] vdpa/ifc: add interrupt handling for config > space >=20 > Create a thread to poll and relay config space change interrupt. > Use VHOST_USER_SLAVE_CONFIG_CHANGE_MSG to inform QEMU. >=20 > Signed-off-by: Andy Pei > --- > drivers/vdpa/ifc/ifcvf_vdpa.c | 121 > +++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 120 insertions(+), 1 deletion(-) Reviewed-by: Chenbo Xia