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 8BB0FA0C4E; Mon, 8 Nov 2021 16:55:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 436E54115D; Mon, 8 Nov 2021 16:55:34 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 7602341156 for ; Mon, 8 Nov 2021 16:55:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636386933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7lGR98N27lBK4oPtXKwHU9zm8xTYakA5g8k3W/tGnXk=; b=b0pZCDkTuIsRNtkwJErsA4u63YBlVTFtrYfMT1xYIxqjiUafXPskG8ngOySukAZkpKd2GT bycMKfiRKRIh28q2bS8Bv0/TUExY6JroksAHXX91qvwraAXKURCI+YY5Mhshs62VOcNm0w dwVjhUO1BU8qW8hjh/dbsLuYe1NC2w8= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-eU0MWMNAMRSWr6n8QsdgVg-1; Mon, 08 Nov 2021 10:55:29 -0500 X-MC-Unique: eU0MWMNAMRSWr6n8QsdgVg-1 Received: by mail-lf1-f69.google.com with SMTP id x17-20020a0565123f9100b003ff593b7c65so6635373lfa.12 for ; Mon, 08 Nov 2021 07:55:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7lGR98N27lBK4oPtXKwHU9zm8xTYakA5g8k3W/tGnXk=; b=PQXfglfRqAPXkfU/KV4/N6JKdjsuGkcLEaxsAsvE8g1DsxPkj6fzkhkRk9Wi1j50vx aYvA2NH1K6zZjNrGrdYQejZOv1gObTTFmJJVPAIzXfJYf8JaLo/z9KmnwP8FXSupy4NC U1ZKI6XkRu/JlhRfc8ZNHfphvNrKwTOsT/1K6xF6P591alhxMCiJNjEAReRAvFA/N+nX 8zDBpR/cTB/vtnkmJfZHi8dOngyYR0mCL+zyymL50VpislMP0SUuAR/SHMkCtb4IHq+F AJ8ihPFdFyF3fVlRZu1RZ4lbEO3ghIbaXoNXCDbZEffAS2ll+0u6o4jsVycG2sd4STTF EsHA== X-Gm-Message-State: AOAM531WBROj59ZPqCefoRgYeavuwQrhWNslGy/3rlEeyPW3a3n5fmSr uNedwOaq2VPkCyZgNoZPvdJEemPDmn8JmEOAG38dUBqOVO2aBHRMcNulN4tCV3RDwpaltznhzpM 5u1/SuL/6IUTe9KguWjU= X-Received: by 2002:a2e:96c2:: with SMTP id d2mr71239ljj.46.1636386928420; Mon, 08 Nov 2021 07:55:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6uVOiMCiOsED0/kqhQKZHjI9TdtjJS9xz4/QQ8LuETB8oYIH3bVeg3KRlRqwo2IeQoVo1sly4kvWLNuVFRr0= X-Received: by 2002:a2e:96c2:: with SMTP id d2mr71201ljj.46.1636386928137; Mon, 08 Nov 2021 07:55:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Mon, 8 Nov 2021 16:55:17 +0100 Message-ID: To: Anatoly Burakov Cc: dev , Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , dpdk stable , Chenbo Xia Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v3 4/4] vfio: add errno on unsupported platforms 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 Sender: "dev" On Thu, Oct 28, 2021 at 4:15 PM Anatoly Burakov wrote: > > Currently, when code is running on FreeBSD or Windows,, there is no way > to distinguish between a geniune error and a "VFIO is unsupported" > error. Fix the dummy implementations to also set the rte_errno flag. > > Cc: stable@dpdk.org > Signed-off-by: Anatoly Burakov > Acked-by: Chenbo Xia > Acked-by: Bruce Richardson Added (what I hope are correct) Fixes: line in patches 2, 3 and 4. Series applied, thanks. -- David Marchand