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 5DD7742E60; Thu, 13 Jul 2023 16:09:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4BBC741156; Thu, 13 Jul 2023 16:09:59 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 352A041156 for ; Thu, 13 Jul 2023 16:09:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689257396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lXOjkOSJkhdIDD5NDzasefwV5Xx2QeqV/qYKHk9Pq4c=; b=YCbMdizXFDyvlaim/BXE9y4aRQ03JdGIFXKNAgRmrSf010aSqxhBVLW68ZOlQ3D/38m+7G DvbIyOSjyQbKVbGtawUm0TS9GbHHkQMEjMrW/SmVvriGEP7lJ9edYfHmrEEnbRli+Su+s6 yVTdeS+iFkCo3IRGg1dTMKLH2VZ5Phk= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-308-mDXjDXvFPcKT59HDgKnDwQ-1; Thu, 13 Jul 2023 10:09:47 -0400 X-MC-Unique: mDXjDXvFPcKT59HDgKnDwQ-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-31437f02985so570336f8f.0 for ; Thu, 13 Jul 2023 07:09:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689257370; x=1691849370; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lXOjkOSJkhdIDD5NDzasefwV5Xx2QeqV/qYKHk9Pq4c=; b=SuNEODJeBkF3S58gTL+ArIReuvoqhxl+1AMRBk4fCuSK4sI9y5CknjL1MntygGtSeV VZdxuxJt2r39HF39wxy2SYXWWR819eqMy8yPWakZZ/PgW2dPCDp0TJ5Dz1XWmcM9vrxb kiEDQQjgBYtSJY9HNgY9PF/txnIIjRZA0d0oohDdg4NARD1k7WEz7QkA8Xit7PBtYUZc PrKIvZ/8lSyhntFlPEBcspY5p6WUHSk/csP/WUxevFKdseOpbTOTFCdHtAPQCnlGfCoL iv/+wqh6m/WGcw8l/it9KutBQx/UIcgS6E5l+ZABogKXlXYGBq3LjMce99SPrWmDQD5k XhGw== X-Gm-Message-State: ABy/qLa3AQOIgNklIWIGVk3w2YukoguArTWXZGDobCDa1y0TPZz8fuFB UjWoM/klj+jmPQpzfjQ4csmPNTSdD3VsEuzowFcJ8jiAAhSOVyFD1l4Ajq2bm6IOpFtZ3A1Fz0f L0do= X-Received: by 2002:a5d:4844:0:b0:314:10d6:8910 with SMTP id n4-20020a5d4844000000b0031410d68910mr1520561wrs.63.1689257370120; Thu, 13 Jul 2023 07:09:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlFpz2SWGVMqLaoFs+L/YrG0jFkYS4ywJ/hB06LurgdCrUEodCF7pubABD8pX3WnVBh3qBULpA== X-Received: by 2002:a5d:4844:0:b0:314:10d6:8910 with SMTP id n4-20020a5d4844000000b0031410d68910mr1520544wrs.63.1689257369830; Thu, 13 Jul 2023 07:09:29 -0700 (PDT) Received: from [192.168.0.36] ([78.17.184.75]) by smtp.gmail.com with ESMTPSA id u13-20020a5d514d000000b00316eb7770b8sm401202wrt.5.2023.07.13.07.09.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jul 2023 07:09:29 -0700 (PDT) Message-ID: <0f424fea-1a78-ca65-ef9c-41a6450cb0a0@redhat.com> Date: Thu, 13 Jul 2023 15:09:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 To: Maxime Coquelin , dev@dpdk.org, david.marchand@redhat.com, thomas@monjalon.net, chenbo.xia@intel.com, aconole@redhat.com References: <20230713135240.240453-1-maxime.coquelin@redhat.com> <20230713135240.240453-3-maxime.coquelin@redhat.com> From: Kevin Traynor Subject: Re: [PATCH v3 2/2] vhost: force vIOMMU enablement with VDUSE In-Reply-To: <20230713135240.240453-3-maxime.coquelin@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 13/07/2023 14:52, Maxime Coquelin wrote: > Unlike Vhost-user, VDUSE requires vIOMMU support. > This patch ignores whether RTE_VHOST_USER_IOMMU_SUPPORT > flag is passed at register time to avoid having application > to pass it for having working VDUSE device creation. > > Fixes: 0adb8eccc6a6 ("vhost: add VDUSE device creation and destruction") > > Signed-off-by: Maxime Coquelin > --- > lib/vhost/socket.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) lgtm Acked-by: Kevin Traynor