From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 714E9C43219 for ; Wed, 9 Mar 2022 06:15:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229956AbiCIGP4 (ORCPT ); Wed, 9 Mar 2022 01:15:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiCIGPw (ORCPT ); Wed, 9 Mar 2022 01:15:52 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 679971617C6 for ; Tue, 8 Mar 2022 22:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646806489; 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=Ap6RrdGHmNkYVL8OAqPmtOOXTX9dVLo0fsotyLbFTFg=; b=d2TS+Hy3FBoYz64XltSspcIpJWbwAC2ceQBa1WhCut1XhLf2CwlmhE4M++pkDhm0UIFpCP I4ZWvLZElMPgv9qWPmjKov/XepoiyawFm8s5YxYqoH05FjHMxnmC3QijkDe6yKg44kkowK DBtgdHLM4Hyw8uG+gNgljUQSriL7Lfs= Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-385-zxEVSh-ROiSthRTQfB7DXA-1; Wed, 09 Mar 2022 01:14:48 -0500 X-MC-Unique: zxEVSh-ROiSthRTQfB7DXA-1 Received: by mail-pf1-f200.google.com with SMTP id 184-20020a6215c1000000b004f6dc47ec08so949447pfv.21 for ; Tue, 08 Mar 2022 22:14:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Ap6RrdGHmNkYVL8OAqPmtOOXTX9dVLo0fsotyLbFTFg=; b=wLv5HvZdzkSNpkqgZg/oHvBBajlnBIKtQthASKEsTMSYwTPqKVQpVn8XpUtEr0sHei H7gsmhD0hFuac6kfBLXOurjlCttpe4tWHl+xih+bEdbeeBE+gNWQt7aZKCBtIMayBopB M7pZ8+/2iz/LPPmYqRm+/Bs8gQwZjs+lSh/QajTWIzgDWRMELoKPimqu7R70LgQ6cj2K YOH0Sc6uxe4CRCYvcypQsY4Hl3G9dLMo3MM8LzHGIyVRxbRux467/morTbCiOHU9jB0Y hIG71NgoqcUkgFk40Mt/CIg5ELHC6WfOF6OAWDQpX82JRpIfEc8YE2Md5zzExHYktoSP ZH6w== X-Gm-Message-State: AOAM5327bU3fFCZRJ00pjPwSJWLZJYzYV8X9E/jvd2If64qiUC1tsh4V 7TaC1BdaK9DBP5RbYjVuKIPjslBX6l0xRaT3W23FvDKUvOlcDZlKyDMsBytc8bEMGjw3wN1pGRC A3n/bgFY6/+brty/fudISdQ== X-Received: by 2002:a17:903:22cb:b0:151:9f41:8738 with SMTP id y11-20020a17090322cb00b001519f418738mr21847648plg.46.1646806487030; Tue, 08 Mar 2022 22:14:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBCiRie4tAloFgqDg9JGwKT4KtqZzw2Fk+Xq44JLOLrxTAEP8NZVRRnFNWgW3q7UR+lbtsrg== X-Received: by 2002:a17:903:22cb:b0:151:9f41:8738 with SMTP id y11-20020a17090322cb00b001519f418738mr21847626plg.46.1646806486782; Tue, 08 Mar 2022 22:14:46 -0800 (PST) Received: from [10.72.12.183] ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id v14-20020a056a00148e00b004e1cee6f6b4sm1233248pfu.47.2022.03.08.22.14.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Mar 2022 22:14:46 -0800 (PST) Message-ID: <4bc140fa-9e72-4bb5-47d9-84d9db384898@redhat.com> Date: Wed, 9 Mar 2022 14:14:31 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v7 02/26] virtio: queue_reset: add VIRTIO_F_RING_RESET Content-Language: en-US To: Xuan Zhuo , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Cc: Jeff Dike , Richard Weinberger , Anton Ivanov , "Michael S. Tsirkin" , "David S. Miller" , Jakub Kicinski , Hans de Goede , Mark Gross , Vadim Pasternak , Bjorn Andersson , Mathieu Poirier , Cornelia Huck , Halil Pasic , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , Sven Schnelle , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Johannes Berg , Vincent Whitchurch , linux-um@lists.infradead.org, platform-driver-x86@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, bpf@vger.kernel.org References: <20220308123518.33800-1-xuanzhuo@linux.alibaba.com> <20220308123518.33800-3-xuanzhuo@linux.alibaba.com> From: Jason Wang In-Reply-To: <20220308123518.33800-3-xuanzhuo@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org 在 2022/3/8 下午8:34, Xuan Zhuo 写道: > Added VIRTIO_F_RING_RESET, it came from here > https://github.com/oasis-tcs/virtio-spec/issues/124 Nit: it's better to explain VIRTIO_F_RING_RESET a little bit here. Other than this. Acked-by: Jason Wang > > Signed-off-by: Xuan Zhuo > --- > include/uapi/linux/virtio_config.h | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h > index b5eda06f0d57..0862be802ff8 100644 > --- a/include/uapi/linux/virtio_config.h > +++ b/include/uapi/linux/virtio_config.h > @@ -52,7 +52,7 @@ > * rest are per-device feature bits. > */ > #define VIRTIO_TRANSPORT_F_START 28 > -#define VIRTIO_TRANSPORT_F_END 38 > +#define VIRTIO_TRANSPORT_F_END 41 > > #ifndef VIRTIO_CONFIG_NO_LEGACY > /* Do we get callbacks when the ring is completely used, even if we've > @@ -92,4 +92,9 @@ > * Does the device support Single Root I/O Virtualization? > */ > #define VIRTIO_F_SR_IOV 37 > + > +/* > + * This feature indicates that the driver can reset a queue individually. > + */ > +#define VIRTIO_F_RING_RESET 40 > #endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */