[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 5/7] xen/evtchn: modify evtchn_alloc_unbound to allocate specified port


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Rahul Singh <Rahul.Singh@xxxxxxx>
  • Date: Tue, 23 Aug 2022 09:25:24 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=hXnVBSADNa5KkuADvuULYtbYoNmTpuvfn43JswcaVFM=; b=NGx5PHrG4VmdcutMnRBO3FIXC+qZb8zJY68qM4KLf+R4JT+lbXoP2olzaFSr8N3fqR4f1PwAvI7g33nJl1go+FApVL79Qf46z8Zz+imHhUdoezHa94SgC5xT0rGd5ke+UhLrlPMQKO1jsVN9cQGbgXNPJteRurYD0wkgm7msiRlkQwzvCK4yMQGFVkMrRUJ15EreqPztQi8ZiSEqlvmFW+FNHuGxci1FKnD9ozLHFfGyYSEghOLZlU666GRp0bcJfcPLVLYxYl+oQcnPSqq2DDcq/ZKPrnMGVppxlpDzdIBJS5zZ9Af9BR6Pu3hbrKe5FKjSgq9kCBL7FQVHF/by1w==
  • 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=hXnVBSADNa5KkuADvuULYtbYoNmTpuvfn43JswcaVFM=; b=OSapuQW8feJywd8cFbBdskb4d58pBLWml06Jo32qMTI8aIHNpHFY38V8TJdSv2CyMpEmfQytRbTrlxgkFyIic+D0kViNG6NoFggnxzKSJexP1ESDBR+cBLwP8I6Fa7c/q75CYph+MpLIeLmoW4wGR3xlmpHfki/I1m5/xXwIevJ1q7ZjARB1d0N42wSGZ7hhhjvvt5WeNwbdG9Y0figkzyrpsM7zI2NUxV9EhG8+wtSXEKKBq2IzdVe2K+mGIEGvk4M76hsft5s99RwCwmaMZMU78guylnnwxqINlv9oh9vAL1yjbE6c5aBzG3LyvxzzIXebANq2ny1hcq242d9F7Q==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=oQ2FAa/vmvfQ0xcgmSSE0T/ifnxY+ccGN8sz0DJCrIR3UuEQIkEU9JRN9emJRbILi6hk1jEM5OisBksXYyfwzSwhIGPgf6iY2ZTZ17C+GgRiVv9iBDVNFgclzSwhKd5+b58dEjRlHctb74X4ODgeNVUAZlEu3BjFADFAoLsLzvRWFHE7esYBSRW+mJIxWUO9q96UIiRASSdjF6WCD1MC1mj2RR1CRVxjJjJ+dCbOIghJRGxm+PK4AP6Dq+PVY2ucyF8eulGTpo9adDjNWJw2kx1sHTMvJbTwYYKahXvXDru0R17/bfSQYI5CFZPbtRg6JU64nabUbfI7y/1A8TWo7w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H+/Rx4a6AI52X3Q+zpoepeHBVdD9pm4er2dpuBqrn+eoSC5RyHyip+M1doPWc3oT+6Zy5y84sBEFkt9/xrYK72qUG+1xCppPC3t/jI7B87KLdv6ja7gdXbWvH+dfXtB+S14UJ9wflq0FAUASBmy/uobRf5uUtW9a4Co17xtIM+sbV/oLzdmG6m4jQwIADNFKVE9NzgImtwxvfpUVlU5xxj8FppgtinLXbDDLx218j6HQx+POjM+bIWHpBsawwG9VUTOOHbgqqP1Pebyj7zxlmXI0EkSkW5jAx4ETfF/rck/C810rcc26m6f9uOOabp5tsaLaLChrAvICcJyzHXclPg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 23 Aug 2022 09:25:54 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYs7NT/ePVRG/IfEm3N5HsoShX2K269tWAgAFGT4A=
  • Thread-topic: [PATCH v2 5/7] xen/evtchn: modify evtchn_alloc_unbound to allocate specified port

Hi Jan,

> On 22 Aug 2022, at 2:57 pm, Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> On 19.08.2022 12:02, Rahul Singh wrote:
>> evtchn_alloc_unbound() always allocates the next available port. Static
>> event channel support for dom0less domains requires allocating a
>> specified port.
>> 
>> Modify the evtchn_alloc_unbound() to accept the port number as an
>> argument and allocate the specified port if available. If the port
>> number argument is zero, the next available port will be allocated.
>> 
>> Signed-off-by: Rahul Singh <rahul.singh@xxxxxxx>
> 
> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> As a minor remark: Personally I'd find it more logical if the alloc-unbound
> adjustments came ahead of the bind-interdomain ones.
>  

I will move this patch before evtchn_bind_interdomain() patch.

Regard,
Rahul




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.