Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp358324imi; Thu, 21 Jul 2022 02:17:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u81UUYNZCnZACnxlEoH68ijhcyQBUNFROYiTr7cTc4f4Wkz+hyDIVTq38K5nZ7IzieUYah X-Received: by 2002:a63:1e14:0:b0:41a:77ee:acb3 with SMTP id e20-20020a631e14000000b0041a77eeacb3mr4149382pge.84.1658395042360; Thu, 21 Jul 2022 02:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658395042; cv=none; d=google.com; s=arc-20160816; b=IirjiIKKJKG5M74wxs7wO1HTPo3Qq13Ew38XUCgM15Nehgdf1N5Wpm+XVPSXYDEvIs ydfXi/7It7Bsr38ksuI8fIwk/sYpl0qN1HcYyEjeTNdPFeU/ne4LnVRBncOM/qB3QNPV spuqalod1yXb86sQB5c+H0dhoLkfCdXTng/Kl92Ynylj7l2CEpaIif2yvfkG7Xpg2gxT TP/hN+PQfulm2y5+QKimb1e+pUR/lOAW+51qkdDVe0BBPtAAGjLzMlpcQq99bZ1fadOW gAgAT8i9iIEe7tyW4WyOjUsuXMDvJNKf1Kpn7YwNYwuePtltU54hoGWUC/gd9GC5Tb+S ewJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=V7Lf6e+iS8lqlVNDokwveBCMTQ8qO8ogQ1JnmFyOvzE=; b=qOwJCfOCpcoHeMGqE2RqzitEYfWW7qjMCsJr6cc82b3RhvIET49skDF/zUnWRy6KiV 9ZoDaz6BUVPU0PslOXjG/C0E+jwdbzTA0OjxT1iJkspQ8+2zoXlT7m3L/gaLlRZSc1oH 1cuja+A1HrnQ8T1mv5kDKp/OSCEfBosvl5jM/RfwIwSDUWgfEDnCZwAgWMrFpFeKpjQx +BpBNkoqbyN8lnN072PsyTUXJKKjmKVSGfa9OoAGeF5RcsD5kCmGydwDUXVE11u2/rRF lEthlv7MLAlJJeoDll0gzVlVMF0ZjT2E0InbfCfDW/HkzbcK7RyMK3ZGtUhD44klauTP dbgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a17090af8cf00b001ef8e4b445esi4961445pjd.54.2022.07.21.02.17.07; Thu, 21 Jul 2022 02:17:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231812AbiGUIph (ORCPT + 99 others); Thu, 21 Jul 2022 04:45:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232554AbiGUIpQ (ORCPT ); Thu, 21 Jul 2022 04:45:16 -0400 X-Greylist: delayed 68 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 21 Jul 2022 01:45:09 PDT Received: from smtp236.sjtu.edu.cn (smtp236.sjtu.edu.cn [202.120.2.236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9263638AD; Thu, 21 Jul 2022 01:45:07 -0700 (PDT) Received: from proxy02.sjtu.edu.cn (smtp188.sjtu.edu.cn [202.120.2.188]) by smtp236.sjtu.edu.cn (Postfix) with ESMTPS id 606C01008B391; Thu, 21 Jul 2022 16:44:57 +0800 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by proxy02.sjtu.edu.cn (Postfix) with ESMTP id 8BBFE20089230; Thu, 21 Jul 2022 16:44:57 +0800 (CST) X-Virus-Scanned: amavisd-new at Received: from proxy02.sjtu.edu.cn ([127.0.0.1]) by localhost (proxy02.sjtu.edu.cn [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id I5YBS9EjyjNk; Thu, 21 Jul 2022 16:44:57 +0800 (CST) Received: from localhost.localdomain (unknown [202.120.40.82]) (Authenticated sender: qtxuning1999@sjtu.edu.cn) by proxy02.sjtu.edu.cn (Postfix) with ESMTPSA id D47F5200BFDA8; Thu, 21 Jul 2022 16:44:45 +0800 (CST) From: Guo Zhi To: eperezma@redhat.com, jasowang@redhat.com, sgarzare@redhat.com, mst@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, Guo Zhi Subject: [RFC 5/5] virtio: annouce VIRTIO_F_IN_ORDER support Date: Thu, 21 Jul 2022 16:43:41 +0800 Message-Id: <20220721084341.24183-6-qtxuning1999@sjtu.edu.cn> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220721084341.24183-1-qtxuning1999@sjtu.edu.cn> References: <20220721084341.24183-1-qtxuning1999@sjtu.edu.cn> X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order feature is supported by default in virtio. Signed-off-by: Guo Zhi --- drivers/virtio/virtio_ring.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 4d57a4edc..458b57df3 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -2398,6 +2398,8 @@ void vring_transport_features(struct virtio_device *vdev) break; case VIRTIO_F_ORDER_PLATFORM: break; + case VIRTIO_F_IN_ORDER: + break; default: /* We don't understand this bit. */ __virtio_clear_bit(vdev, i); -- 2.17.1