Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp349290rwe; Wed, 31 Aug 2022 23:51:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR7JzJLIQ6IcFu1gbSowAjfTcYkESYrBC8UQlSPs/NHSrNU5ypEZmAIxhPinEdEOGmAMhSxB X-Received: by 2002:a17:906:85da:b0:73d:c94b:8996 with SMTP id i26-20020a17090685da00b0073dc94b8996mr22645669ejy.225.1662015108458; Wed, 31 Aug 2022 23:51:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662015108; cv=none; d=google.com; s=arc-20160816; b=Si0HxmVCS2oPqHMlR69ygWMDF5A7G2QYBzUlg8cEQ96wfIQ9G4r9IBvGne6y6j9BAO WJ6/tqX5WivsXbH6sjOzKQgHcsqvgUJGg9rphWxjfpifuCI0kdF1L2aZEZFju8lrNRbt R3pqumq2m6NvT1QC7V7OSETfOnkmjkINUFzNZiIDqEKj1UDFwpUjubtwUTaHyoOmqr0Q jz6aDsbXpuEw1lvBxx4EfViDeM6Ra3rg3l5rgDsHDRKm6xrbdhJOY86Wt9OauLiH0y2N GIcK0bnwxYec31YP7+QXF4CTbl5tp4YGtLF5WtnE/mbO8/gLcWjyOY1pSg7+EZyiRBiB SY8A== 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=5/c6vpIL2htRXfhYoexAFXUbYZPA5TnGeVmH5+zi1cA=; b=qjQzVj/bCUqQuRoCdLjJrVWZtIwMBqADeyZxgusNJX9KtE5EnCtIVAdbPmWxBfB0+2 ED09PqUjvlxaP10704ZxS0AYr1n/gIsjAena4SY0kw5lImr09ySc+F2uGeGm9Dvb0anZ 56MMRJrmTs+K+mMvXDM+VXsrIttwDNgLFn3bDxYSW5Zu4mKey7IDvFlc3XUygjb9iR9d MdxJbI/QqG504MIJMATeDib4M44nJgVUjgO3JLkBLHykR1is2SecH9NuFtAGmo4FZh/D ewpOALh82TRR26yEOJit/dJ5gv2s5Fpp/4oK7uUwwZiaklaFbbqI/ubl3uJ935lELyOa h/9A== 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 s9-20020a056402520900b004485ab11469si1339409edd.34.2022.08.31.23.51.22; Wed, 31 Aug 2022 23:51:48 -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 S233344AbiIAF5C (ORCPT + 99 others); Thu, 1 Sep 2022 01:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbiIAF4w (ORCPT ); Thu, 1 Sep 2022 01:56:52 -0400 Received: from smtp236.sjtu.edu.cn (smtp236.sjtu.edu.cn [202.120.2.236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E043118234; Wed, 31 Aug 2022 22:56:43 -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 227C81008B399; Thu, 1 Sep 2022 13:56:15 +0800 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by proxy02.sjtu.edu.cn (Postfix) with ESMTP id 9D9CA2009BEAF; Thu, 1 Sep 2022 13:56:14 +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 dsRbT5RbWGbv; Thu, 1 Sep 2022 13:56:14 +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 1498E200A5BFF; Thu, 1 Sep 2022 13:56:02 +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 v3 7/7] virtio: announce VIRTIO_F_IN_ORDER support Date: Thu, 1 Sep 2022 13:54:34 +0800 Message-Id: <20220901055434.824-8-qtxuning1999@sjtu.edu.cn> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220901055434.824-1-qtxuning1999@sjtu.edu.cn> References: <20220901055434.824-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,T_SCC_BODY_TEXT_LINE 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 d52624179b43..63a6381913a5 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -2432,6 +2432,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