Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2189704pxb; Thu, 11 Feb 2021 06:38:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwb4FWi5aa4Wwth+vJOTLwYRjuZhP3PabqNM0tkaFIch0DXnf0WRJxPBX4QZNOLBkBK54W X-Received: by 2002:a05:6402:26d5:: with SMTP id x21mr8664277edd.50.1613054319133; Thu, 11 Feb 2021 06:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613054319; cv=none; d=google.com; s=arc-20160816; b=YZj/qPGrKPOPDEB1+0gL+0FyMKN7zyNNntuwqtbFUfjf5L/cdJzduMFMs73IK17zx3 980o3HNnf9ZRud+0/FtjyAbzX6+wiTGP2Wyfdbj1haxIlCdMpc68fwXkN/SjKhxykuoO 1Gwl4kqJFZZJVlHYRLwnGW9iIDhuSuHmcEHh4AiSNYm9kllUwbMZICcoD3MkTFSsAbv9 x0UTUaVevKdUgrbGbYIepcGYRufTT3iY+EcBXS5aDnwIHCs4DE5lwfQKJp/bHRY0nvRw CkXhXXHGBK6pJLQHjVyvl9Cb/Lpu8TAi0zS2kqdtUJHIF0aQip5vKYE0SDsJVwwp5Oe6 NOWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qx1vF4VDTg9ZiVHP56/p9LQUivZBdKHBXUEg2h4ECWE=; b=cS80yjqKuTCYfG/Iv9EE2rZ/GUPbIHvnwPrmRKv8N73hpTFKp1SAUqenZQv56tWJeo 7HsMuJwvElDbpKxw1Hh0ponqFg98pc37RMB4RJvPHTfqrNa7ukoHOuQWZI5uAuakfuRY uq87AtoAoqaIog7ZLXtEptl8ij3M36kBg/ndyExpvhqFVvJWv4J04gPbl/csTCj14RmU s2DDqUvGzgB17m4U3ZFnRTq8HnVgUA+kegCpM3OvJM5STI13UbdMYFuXRVIWwP1UG+If G9ANFl0XrvCi0sAOga43jMQxWSOSrn8FJm5229KFkWWBFn8WGYwq/VNA9Agpie7TPhi7 msng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WskLWRG7; 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 a11si4061504edn.318.2021.02.11.06.38.14; Thu, 11 Feb 2021 06:38:39 -0800 (PST) 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=WskLWRG7; 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 S232078AbhBKOfS (ORCPT + 99 others); Thu, 11 Feb 2021 09:35:18 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:35257 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232128AbhBKOdI (ORCPT ); Thu, 11 Feb 2021 09:33:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613053901; 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: in-reply-to:in-reply-to:references:references; bh=qx1vF4VDTg9ZiVHP56/p9LQUivZBdKHBXUEg2h4ECWE=; b=WskLWRG7/P4GFAYlV6HEtjB0VkJPtIIj0q7fRjmSSlF9uWcQniLblflAFqH/i+N8LU1sEf ZaER0cJBJiyhlHwnGT0OZYmhc+oTFz5YHJYYzkRI5mmJPjWBU7w6/psaHcmSPrv0VZdR40 lfqDw5hPk8biWwsYoJzhrpk4PP6D6O8= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-441-0aqQYH9hMzKf57KU6BVQ9Q-1; Thu, 11 Feb 2021 09:31:39 -0500 X-MC-Unique: 0aqQYH9hMzKf57KU6BVQ9Q-1 Received: by mail-ed1-f70.google.com with SMTP id l23so4635402edt.23 for ; Thu, 11 Feb 2021 06:31:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qx1vF4VDTg9ZiVHP56/p9LQUivZBdKHBXUEg2h4ECWE=; b=PAYhOgg6JfBhv/eXNgRMvZyf+dD4JbM0BRQp4t7tN+T/NO4BVxeS4i5BzbaRkioUYN dbay8XJi7QiDxLQgU3prmYhRS+mtZVIGUiWi5u9AT5WoWDLuwLAViNBsn3NTSbRFJheQ na9EBQPlq31YFs+XLlR4NMcfkk15oaPX6cnnxxBsjWwRv+CKFoRfASHNgyVJgpabzmUt TdluDJY4+2kQAhsMOhsqo51/ejvlgkxruuWOWalJcgMPkf2jHwJsZEWLpAT+IbSPWfUg /NRqftjgQckrHVXuBI9Hn5Feuv+NrS+OaTtDdhjV6oBX4HUnmu/CGEseyZmKhI+PTe+Q eLPg== X-Gm-Message-State: AOAM530UelBhXZaOWBuBKDCFQmPYlcbD1euyhBBTTWu2JHIFq6HYZRjo JCMOOmEXi7aZKCGNn9GeEr8XIp0I5hKxMOfcnahsfruZa++FLOu/hoet6TDOhiZBrAj5utHr5uV 3ycJsSh/v4balv88J/AjZF68q X-Received: by 2002:a05:6402:2690:: with SMTP id w16mr8674189edd.304.1613053898761; Thu, 11 Feb 2021 06:31:38 -0800 (PST) X-Received: by 2002:a05:6402:2690:: with SMTP id w16mr8674161edd.304.1613053898597; Thu, 11 Feb 2021 06:31:38 -0800 (PST) Received: from steredhat (host-79-34-249-199.business.telecomitalia.it. [79.34.249.199]) by smtp.gmail.com with ESMTPSA id u2sm4173850edo.38.2021.02.11.06.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 06:31:37 -0800 (PST) Date: Thu, 11 Feb 2021 15:31:35 +0100 From: Stefano Garzarella To: Arseny Krasnov Cc: Stefan Hajnoczi , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jakub Kicinski , Jorgen Hansen , Colin Ian King , Andra Paraschiv , Jeff Vander Stoep , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stsp2@yandex.ru, oxffffaa@gmail.com Subject: Re: [RFC PATCH v4 16/17] loopback/vsock: setup SEQPACKET ops for transport Message-ID: <20210211143135.jbrfb5izewuiiaka@steredhat> References: <20210207151259.803917-1-arseny.krasnov@kaspersky.com> <20210207151851.806233-1-arseny.krasnov@kaspersky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210207151851.806233-1-arseny.krasnov@kaspersky.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please move this patch before the test and I'd change the prefix in "vsock_loopback" or "vsock/loopback". Thanks, Stefano On Sun, Feb 07, 2021 at 06:18:48PM +0300, Arseny Krasnov wrote: >This adds SEQPACKET ops for loopback transport > >Signed-off-by: Arseny Krasnov >--- > net/vmw_vsock/vsock_loopback.c | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/net/vmw_vsock/vsock_loopback.c b/net/vmw_vsock/vsock_loopback.c >index a45f7ffca8c5..c0da94119f74 100644 >--- a/net/vmw_vsock/vsock_loopback.c >+++ b/net/vmw_vsock/vsock_loopback.c >@@ -89,6 +89,11 @@ static struct virtio_transport loopback_transport = { > .stream_is_active = virtio_transport_stream_is_active, > .stream_allow = virtio_transport_stream_allow, > >+ .seqpacket_seq_send_len = virtio_transport_seqpacket_seq_send_len, >+ .seqpacket_seq_send_eor = virtio_transport_seqpacket_seq_send_eor, >+ .seqpacket_seq_get_len = virtio_transport_seqpacket_seq_get_len, >+ .seqpacket_dequeue = virtio_transport_seqpacket_dequeue, >+ > .notify_poll_in = virtio_transport_notify_poll_in, > .notify_poll_out = virtio_transport_notify_poll_out, > .notify_recv_init = virtio_transport_notify_recv_init, >-- >2.25.1 >