Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2437959pxb; Thu, 4 Nov 2021 21:12:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy87kI5u9f3XTDdy7wyIa7GSccL5aCrRjSggOFT8QA0I9WVttfIb0l0lqzNWMwtGVx79c7U X-Received: by 2002:a05:6638:3391:: with SMTP id h17mr7122928jav.33.1636085558254; Thu, 04 Nov 2021 21:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636085558; cv=none; d=google.com; s=arc-20160816; b=N0Tuvv4enY0Pot4RVAbAusu+ob4OnIW52y4IWobZgjj6DNR5YX9/GbSFpeETyL9ITq lXnZ63kHZpD3OTvRDhYoMwgj5Q8pKoWrsKWtzNRjHkFiw3kRHZ3VCOzs4NZH65AUgYhb IPQKYFZZgX2Q2tq4AteijH2yaqRIEMgerMfP54HXl7Zkyo15F/YFVDtdyHchlVdII1Jo izX8yu2cIOQB4b0gmpXm36sM81GnjRgDWPOP/6c3YE2Q6lIWN4p4sodl7ovXif3Jggob 9HfzLwU3kdswAHAJ3/kc54w6D14582BC8QUDeuSk28JTbfUS3+wq36e6Li2YfMtQXtCX 03Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=VKBsGL0N95B/IgJqo+QGVJ0yA+4yb0e6eNgdYWHMsBE=; b=AFZQFVS2WbyMkIEvb1OJwhKCu2fLFJQPBqAyeQL/qZu+7Nj1QVbfO74UzisuC1vgYr uVQ3DeHWZVoHWNN+d0/N6R/ls7zz3CnYNZBV4W3W0DG6Yjwpuqu8mq5Soz6P7m0/JG2w 0w3mbrr2Vezrp7VGNaLywZBJHX0lqKkS1NXDu9O+HYPHBrqkEDqHPtHRhpzv/rH3m+Xs LlJCiE150yP503U3mWKQR1C/VuItYrHpPmPFnLPpw+LyWonoN1ZNZAr7kOjwE68XhAJK WsOch3fWHD73/wucAoP8+ZNc8Mylh+PziOs05eku4RlK7EC/lqO5ficJX7c39wSy6mNs Ce/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="K8RV/dTY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si14406845iow.1.2021.11.04.21.12.25; Thu, 04 Nov 2021 21:12:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="K8RV/dTY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231858AbhKECiN (ORCPT + 99 others); Thu, 4 Nov 2021 22:38:13 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21587 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbhKECiK (ORCPT ); Thu, 4 Nov 2021 22:38:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636079731; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VKBsGL0N95B/IgJqo+QGVJ0yA+4yb0e6eNgdYWHMsBE=; b=K8RV/dTY8Bo183c3S9N29ZlHezb3H0lwgxXHNs1esGRY3GyXO7tq5LJM9hSiUqEJsbLa7h NqrWira8FR8u+HGq3knv54dcKqAuVuMKYp60G4qMMPttxFDvo8W3QptLe1VhrWwOHRQ7Ce Aex+/JJwDM88lAzlLGZtS6mEOUsnBrU= 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-421-9u2ClZ2rPEi-4MvAIIodjQ-1; Thu, 04 Nov 2021 22:35:30 -0400 X-MC-Unique: 9u2ClZ2rPEi-4MvAIIodjQ-1 Received: by mail-lf1-f69.google.com with SMTP id p19-20020a056512139300b003ff6dfea137so2860798lfa.9 for ; Thu, 04 Nov 2021 19:35:29 -0700 (PDT) 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:content-transfer-encoding; bh=VKBsGL0N95B/IgJqo+QGVJ0yA+4yb0e6eNgdYWHMsBE=; b=tWHHD/1nnjx6snKU2xqzMc6Nd8BLr+/pWphkWDgo/S1xi1aovNanyGMfl8V+Ehj7Vc T+T6a9QGNArOpFgJziXW0pqPlshP1YG02jX2wuxGt6Gj2KS4j5FZ7xvNV5etCz26SwFd iDMJ2nuaqR4kZMBV8qG+ZRI6re/oYqeTPrFFlF7kje4OIauSf2LK5TVUYsRd6/w5a0C2 uD1yYepn4zhbXV4UItmIoBgcWP2h8icbcoTjsf/EaxZPO8femNhXeOLMO8Av210CB6It tdWtJWLd8lUYguTblvD04s6s3bubGll7A5n1lebvdQn3vHy+aWeh33kwD0GICQa0Cicp 1jJg== X-Gm-Message-State: AOAM530LxDHrxbnLTU2jZsMww8PqjHUP4eBQpiFOeJUE31drel30sbS6 hoBPT1vu+0wLQAEK0lUlacX1yCkACff1pJ8ceHYlPFDFZClmr2l/482cRyA8xNYp3hnMmA0qGiW esEXN75chQ847cWTKVA3T/zw9QncZRIL2Lhhq+cJn X-Received: by 2002:a05:6512:3b26:: with SMTP id f38mr50855191lfv.629.1636079728605; Thu, 04 Nov 2021 19:35:28 -0700 (PDT) X-Received: by 2002:a05:6512:3b26:: with SMTP id f38mr50855185lfv.629.1636079728426; Thu, 04 Nov 2021 19:35:28 -0700 (PDT) MIME-Version: 1.0 References: <20211104195248.2088904-1-eperezma@redhat.com> In-Reply-To: <20211104195248.2088904-1-eperezma@redhat.com> From: Jason Wang Date: Fri, 5 Nov 2021 10:35:17 +0800 Message-ID: Subject: Re: [PATCH] vdpa: Mark vdpa_config_ops.get_vq_notification as optional To: =?UTF-8?Q?Eugenio_P=C3=A9rez?= Cc: linux-kernel , "Michael S. Tsirkin" , kvm , virtualization , netdev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 5, 2021 at 3:53 AM Eugenio P=C3=A9rez wro= te: > > Since vhost_vdpa_mmap checks for its existence before calling it. > > Signed-off-by: Eugenio P=C3=A9rez Acked-by: Jason Wang > --- > include/linux/vdpa.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h > index c3011ccda430..0bdc7f785394 100644 > --- a/include/linux/vdpa.h > +++ b/include/linux/vdpa.h > @@ -155,7 +155,7 @@ struct vdpa_map_file { > * @vdev: vdpa device > * @idx: virtqueue index > * @state: pointer to returned state (last_a= vail_idx) > - * @get_vq_notification: Get the notification area for a virtqueue > + * @get_vq_notification: Get the notification area for a virtqueue= (optional) > * @vdev: vdpa device > * @idx: virtqueue index > * Returns the notifcation area > -- > 2.27.0 >