From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A93F8111A0 for ; Tue, 15 Aug 2023 11:58:13 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EFBD1FDC for ; Tue, 15 Aug 2023 04:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692100663; 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=3bjmiQ78zXka/be7wSlHzWAbQz0mNi9OuhXjHfAzz0s=; b=KQRlDnBHT+PmRsgYNggYvy84rx7SKlI8RBaZWsY8XNd2Tj89hV0nVqNd2PJEPmIdjHHHzO bKQ4orG2jTZMkMdCMLwVaidbmEPteRBPQ418BdYLNRqeAQSyIa/ZPMsP2XSAQVALMP6WrH Tmm9RWAE87BmAhsG8d821ruWeKZWbL0= Received: from mail-yw1-f199.google.com (mail-yw1-f199.google.com [209.85.128.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-661-6o1TiAnpMH-EewIi0cKE2w-1; Tue, 15 Aug 2023 07:57:42 -0400 X-MC-Unique: 6o1TiAnpMH-EewIi0cKE2w-1 Received: by mail-yw1-f199.google.com with SMTP id 00721157ae682-589a89598ecso74085567b3.1 for ; Tue, 15 Aug 2023 04:57:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692100661; x=1692705461; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3bjmiQ78zXka/be7wSlHzWAbQz0mNi9OuhXjHfAzz0s=; b=HvETAm9FX+2r7GZCa/h/ihmy+WVkgKyYhAMIbXkzQ9+pel0kGo8K8z9zAkR8T36h+Q Zmqhz0JCOopU2o6nno/8GT3Yhv98YoMDpuHkTdOLre5ve4/kHRPWn8QUC9hhZb2XwFKX jvBDmAq/I75zWJgg3n6faSfgZVN/8vdHpty6ZTyIubnwaqhkNWexrk5arnyCrEVXPY+Q CbPJPcvjBZ0HZ5ImjPAN6DDCta+eE/msBUUwlGHUQ3xE/94QkAHGf6umMsqdpQV+eB0w tp8Y+CnW3j0/Dk7jxuIT7oE309ZLaqQ/7GTOkN1IydVq1D7L3RAH9S5Lg9yfUfDaRbwC Tsqg== X-Gm-Message-State: AOJu0Yy3F0tTS7fYjQpADxkg83zmLLBGiejrV6+woFXSoeT0IQzgjQJo aZT72mBCQQOiQpGVzc47EQQ2JEoHegHYSJe9q4kUSIpK8IxjeNKwKlFA1plC3mAquD8mVUg6pjN lC5BP7B/Kuj23UfOz X-Received: by 2002:a81:9485:0:b0:579:e318:4c01 with SMTP id l127-20020a819485000000b00579e3184c01mr18861429ywg.19.1692100661585; Tue, 15 Aug 2023 04:57:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGa32SRzmLDzRL9d7mFMGVtctsdkaYjp8FEkY7pKzeAFfj3pB6VWOajMjS+DzIe14yU1WjDiw== X-Received: by 2002:a81:9485:0:b0:579:e318:4c01 with SMTP id l127-20020a819485000000b00579e3184c01mr18861394ywg.19.1692100661208; Tue, 15 Aug 2023 04:57:41 -0700 (PDT) Received: from redhat.com ([172.58.160.133]) by smtp.gmail.com with ESMTPSA id b4-20020a0dd904000000b005772154dddbsm3327997ywe.24.2023.08.15.04.57.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 04:57:40 -0700 (PDT) Date: Tue, 15 Aug 2023 07:57:31 -0400 From: "Michael S. Tsirkin" To: Jason Wang Cc: Xuan Zhuo , virtualization@lists.linux-foundation.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , netdev@vger.kernel.org, bpf@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH vhost v13 05/12] virtio_ring: introduce virtqueue_dma_dev() Message-ID: <20230815075702-mutt-send-email-mst@kernel.org> References: <20230810123057.43407-1-xuanzhuo@linux.alibaba.com> <20230810123057.43407-6-xuanzhuo@linux.alibaba.com> <1692081029.4299796-8-xuanzhuo@linux.alibaba.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On Tue, Aug 15, 2023 at 03:50:23PM +0800, Jason Wang wrote: > On Tue, Aug 15, 2023 at 2:32 PM Xuan Zhuo wrote: > > > > > > Hi, Jason > > > > Could you skip this patch? > > I'm fine with either merging or dropping this. > > > > > Let we review other patches firstly? > > I will be on vacation soon, and won't have time to do this until next week. > > But I spot two possible "issues": > > 1) the DMA metadata were stored in the headroom of the page, this > breaks frags coalescing, we need to benchmark it's impact > 2) pre mapped DMA addresses were not reused in the case of XDP_TX/XDP_REDIRECT > > I see Michael has merge this series so I'm fine to let it go first. > > Thanks it's still queued for next. not too late to drop or better add a patch on top. > > > > Thanks. > >