Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp263182rdb; Thu, 25 Jan 2024 14:49:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7oWZ9lUfTsJ59Gd4jXogqmzP2waYcNqkU8K8a7JoCcaby2mKYkXEo85RAZlTsKRZSh9Vb X-Received: by 2002:a05:6808:f87:b0:3bd:dd53:5db with SMTP id o7-20020a0568080f8700b003bddd5305dbmr574107oiw.15.1706222962050; Thu, 25 Jan 2024 14:49:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706222962; cv=pass; d=google.com; s=arc-20160816; b=iYyVcS8A26b40JNX0SUX8gMoOhcONR1rpUaZ3FKFK5FDVIVW2x8uiR3LN2xLvUYl0R KHqRg1cJSivQeJykTe9EtXRYXoWD2jaHmO6OByU5eAqgZ8M0f8lv28NLBiLFcJ2HTJ58 nlVkGQfZBxAIoPtiol4vBxAa109EdcVjy3uOy8kvW8oQAHLATqxpMy1Wjfyn79gFIE0c 5ktGYI/OR6qcdAKgng4XyzuA2kkuF0E0L6SXwaNmFnKsbFCQFsi8bB3BaLAlzZDrV01n lBuEGUezy/s2z5wNcqJg9LnYOFnYEPtO1RrIvgETz6P2YyN6yFxDiIR6EUSBXJN9NPn4 3TCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q4Crka9/JgHcU0ey0pI+XUxXs9hF7aNw/5Jtdg8P4KE=; fh=mgDOnflgqBhki4srQQbjlV/AUGmKs0Gt5yx+zXhaHYo=; b=A2WKwQ9Ghees/hC9hE0eGaYHehyUs0E9qMgRBnII9HfFpcy+m4pPkXNKTicCuPQtoZ mc0rk9W6muLYwa8cwPyXneL5aEsG6pwWQQh+Vcj/klyYxg6uo512ze/0PZFSHySjTtfM s82+apHwl3HO3I4bFllZI4Xc0ticqEJyHvyoCujUGVCNpnR5EXszgz/eJTQ2mcQaLQ4R oJBl2OyrRD3dR6ePf2QIRksD4reVR5Hko+VJXY4zzdNd6e6tHVOtdX8lSUkHT8rWaH4l pvA4VyAUfXfgrta24GKMuLna65raa5AW4bZU4zhg7y+N2LmT3VIedu9OT/2qABpwWoRr JvPQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N5j5nBC6; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-39374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pj4-20020a05620a1d8400b007839a412af2si11149068qkn.293.2024.01.25.14.49.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 14:49:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N5j5nBC6; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-39374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7139C1C2236F for ; Thu, 25 Jan 2024 22:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6EA42125CF; Thu, 25 Jan 2024 22:49:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="N5j5nBC6" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 B9B29111AC for ; Thu, 25 Jan 2024 22:49:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706222944; cv=none; b=jw0WLEeBHaLbLqaR4GrCPSuipm+cfQMMcH2Vn7iqtuZXi6+Mu7j3z2Qi71NOiLIEM9FffcxyyFf771H9H+W3XzaK5Sjyn+5XeAQhRKKdTZzX2ruPbrocKZ2PBdNf/8v0SbW3bU5KfT48+27BPTBrUEJrZCyRipq5ZhmBLjtDjbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706222944; c=relaxed/simple; bh=CbmW/228GCi3mqE9tnHZSnzCJD3NGsjyla4RSnkrJ8c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SwutkoTgl2QT/Z2xAO/4PgPgbYYmJ9el4VNepZ2lZ0mYrN3wTyPKrPIxo5OusI3WvFfTR5lh/qgjWyMhjdA7a0TNLlnAJQTxisam7v9LlkdjSNR8D/SnM3OnvMFti+FrIUx9gq27S7+MZSZfRRA6M1ia9vX1qS8KjHaki2IhytA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=N5j5nBC6; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706222940; 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=q4Crka9/JgHcU0ey0pI+XUxXs9hF7aNw/5Jtdg8P4KE=; b=N5j5nBC6PXcvXuW5fmoXcfVAqqydqTzu0WTZvC7GiKxX2bjjFRtv95BcPeErdgn9Xp42nK 0+Fey16/S+J+wwrcLklbVZL+Mewsru9eDEH9fh7IpLbxhRSoh7ngLcq8n7SHlK+fGA2hOc 6S3sQ9AeJPz7NPY+iCpQO2I/pepaGf4= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-58-kOXEFjOzNj6EbLhlrZXdtw-1; Thu, 25 Jan 2024 17:48:59 -0500 X-MC-Unique: kOXEFjOzNj6EbLhlrZXdtw-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-337a9795c5cso5196025f8f.2 for ; Thu, 25 Jan 2024 14:48:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706222938; x=1706827738; h=in-reply-to: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=q4Crka9/JgHcU0ey0pI+XUxXs9hF7aNw/5Jtdg8P4KE=; b=VPStcrEJxpk6qTo74G0HED+k+48y2RLvRCgwgNAJDNQVPtc4+ZIED0ZB/wjYGKZbmH fIDU2yHoCWrG5KArrOZEpsgsAWJkMNvQkWphETvWvIUX4sLy0m5BzXJT6n+LAOHzf/U6 OqbrGqFKjRTXNQ1vbHmXt2GeFpbGQVd36jPVZha7WEm4wGPDbg8zwVI/NDV8CqV+wZxl bysmkAzrBH3fxpceO2UlbDIJbTy1rOIh8n9JrQOmvDH9BDUaHlQHlb31RFvUiagK7DNZ c9z+kUvJqaWRSeZF2FraRP8ZQYTHtQV1bXvFQO/+aSylAXe7Jhk112VO+xAS2eFCFj42 tmEQ== X-Gm-Message-State: AOJu0YxXaRNB8fxdyAxSNLTl6JqJsuvL+wj1PrgucCcb8RZioR6wlWzb niDpdG4x5xUZpkjIPKvRrb2WEOVBg9rq7A+fjP4lJEj+Uja26oQAkl5EjZAOpVwsKKdZmxssOUH +I7oVbNH5vBG/MUrIaMTTBVod+WeBVaH+rJQJq/fYPht3YH1g+AQ9WDxyAy1t3A== X-Received: by 2002:a5d:456f:0:b0:337:bfd4:8c1b with SMTP id a15-20020a5d456f000000b00337bfd48c1bmr209620wrc.23.1706222938141; Thu, 25 Jan 2024 14:48:58 -0800 (PST) X-Received: by 2002:a5d:456f:0:b0:337:bfd4:8c1b with SMTP id a15-20020a5d456f000000b00337bfd48c1bmr209611wrc.23.1706222937744; Thu, 25 Jan 2024 14:48:57 -0800 (PST) Received: from redhat.com ([2.52.130.36]) by smtp.gmail.com with ESMTPSA id x1-20020adff641000000b0033922db3f74sm15876156wrp.116.2024.01.25.14.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 14:48:56 -0800 (PST) Date: Thu, 25 Jan 2024 17:48:52 -0500 From: "Michael S. Tsirkin" To: Arseniy Krasnov Cc: Stefan Hajnoczi , Stefano Garzarella , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jason Wang , Bobby Eshleman , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@sberdevices.ru, oxffffaa@gmail.com Subject: Re: [PATCH net-next v1] vsock/test: print type for SOCK_SEQPACKET Message-ID: <20240125174845-mutt-send-email-mst@kernel.org> References: <20240124193255.3417803-1-avkrasnov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240124193255.3417803-1-avkrasnov@salutedevices.com> On Wed, Jan 24, 2024 at 10:32:55PM +0300, Arseniy Krasnov wrote: > SOCK_SEQPACKET is supported for virtio transport, so do not interpret > such type of socket as unknown. > > Signed-off-by: Arseniy Krasnov Acked-by: Michael S. Tsirkin > --- > tools/testing/vsock/vsock_diag_test.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tools/testing/vsock/vsock_diag_test.c b/tools/testing/vsock/vsock_diag_test.c > index 5e6049226b77..17aeba7cbd14 100644 > --- a/tools/testing/vsock/vsock_diag_test.c > +++ b/tools/testing/vsock/vsock_diag_test.c > @@ -39,6 +39,8 @@ static const char *sock_type_str(int type) > return "DGRAM"; > case SOCK_STREAM: > return "STREAM"; > + case SOCK_SEQPACKET: > + return "SEQPACKET"; > default: > return "INVALID TYPE"; > } > -- > 2.25.1