Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1334325rdb; Wed, 24 Jan 2024 11:42:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkSWeDJOZIKMTQvaD3LpYsCcLNsghEP3TvveUu1lvCfG1Mp8NYfsfNdWhRIZzM1nFF3Tm2 X-Received: by 2002:a05:620a:b4d:b0:783:7739:5bd4 with SMTP id x13-20020a05620a0b4d00b0078377395bd4mr8341961qkg.155.1706125351430; Wed, 24 Jan 2024 11:42:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706125351; cv=pass; d=google.com; s=arc-20160816; b=uhE0T2t8DxnT4uWf7O456aVnOM2GFiSslbP3exTBMIA/6mNyC4TqG53aA0h+DhlaN2 5MLVIJPsVIHYuny+uPZHL+XFS8CmLU785LS4W8LTtPD42PHLYecXWnV+2AIS9CVBv/uZ gs4K7TCzguebkm5/uCdCrDbVcvy79DdMeUehnreRmJlyi3zacRwosMZkiLYh6mK+ztom zqk1ulmgC5/cGPlQ5MB4A31xnZSwaNOBc824Ht7OxflVjoW+K/vGdnGATF1qbnRtuH4+ RPBBh2T17VCcNb9ubQU+b9X0kprV/frgC7RQKcYOQqT7ExBKmU1JXQVxiofMIy0K6C/A wfig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-filter; bh=+yHbOvDyvGtgm795jjTFfmlf2iRBnxlkK7sPdEluKIs=; fh=wIHqZpOIuzcidDZ82yQbOZuyHJty7uvaWDEh/efoVzA=; b=OqdmfiHoJIeN875ENHIdYS1pwDE7E77zP3UIKsZ84scLrYGMKCCQS4+dD1ggcQWgkA wl0n1vXH1NMKJGdgjjpISreNdMKpPHUcYfDn7UXLieNmlPYzwtDCC2Qjpc1cqX3IAJW5 o7G1L/8a2NvxzL+LSfp++LaXe2qVAytkFv6ea0ayGwtG+XP8DuSiMf4BRMwVJjYrX8Qc bbUYUIRwbLNBsngihG48Gn9DdgEBa6FPLcuugDJ2a04+pAi9qGpzdvFE+ENtz/1wm2xN p4xo1CL5gP0SKYS+pNmf6eez7MwojGsh0ag5Cly5HOl/qg+Z/grzGU5Ha39SobL7aCLT wb2g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=ds9HQUO5; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-37604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vu24-20020a05620a561800b0078373669a87si10550565qkn.76.2024.01.24.11.42.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 11:42:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=ds9HQUO5; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-37604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.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 2CFD11C22D4B for ; Wed, 24 Jan 2024 19:42:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 054CA13341F; Wed, 24 Jan 2024 19:42:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="ds9HQUO5" Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (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 959BE132C31; Wed, 24 Jan 2024 19:42:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.89.224.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706125335; cv=none; b=D0xRDjBQFueHBFXaSBrW0U2e1cDqeCtQdWrTwhcrKyaJ9iZQHIild739COlyJTIpOG3nJ/p9OIGPR1T26RsUY64upwGz4l2+o/njTlckPgr8A7lCyS3D5XReUY/XcnqBhTVt8A5BiQ2VHg/2PYhwpDs8EQqKyI7vFWvQSTkjgAg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706125335; c=relaxed/simple; bh=DfiiVQZmjrPJ8btA/mdv8DkKXsGYk1q1vtKQzoxgcHc=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=c7xMGQEs2Ep9V6/UQQjW6DxcfqlCHe+ecAAmNwQwyjDUoOBkR94UVaVzYLU79EmmXqfS8RNq0BhqEhne2l+vfaYiMWriGclAni6fh0YzP5QwEQEz0VMVWnj8v5DurDQkV+ZAESEB+pXXsdZxBUeGdrh/Lc+JlmbeVoK7btBzAMw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=ds9HQUO5; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 4FA4C12000E; Wed, 24 Jan 2024 22:41:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 4FA4C12000E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1706125314; bh=+yHbOvDyvGtgm795jjTFfmlf2iRBnxlkK7sPdEluKIs=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=ds9HQUO5boD/YLHIDX2Ca/XU1Eu8CaXs4JVR/rfVG32/EE6N6AR9PFIrUWTixl9xa JER28IKF2Kn7WPIoOue75fdYAuab9+6jQttZmvdYTCTkpxNZtvOmRaDFVhbvmaRa2y J5/KT+rzjY1rF40UalNv5csgdcT7sfW8UFdqqGNDjcus8QaEi1pad3AqEyBhcJszZ1 iCVHHnLcBQ8ta2s6Dr7HPXG65HMgPLTGGHbUmj3X0poiphhyby5qEivB2ZzkQ4eYS9 y8ZGBdaKnNFUUseUa7pZftRDk0bKtM5Gw+GYSY185zsB5EfXPQ/SEn6H0l8cpLZPHZ susewPppnz7eA== Received: from smtp.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Wed, 24 Jan 2024 22:41:53 +0300 (MSK) Received: from localhost.localdomain (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 24 Jan 2024 22:41:53 +0300 From: Arseniy Krasnov To: Stefan Hajnoczi , Stefano Garzarella , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Michael S. Tsirkin" , Jason Wang , Bobby Eshleman CC: , , , , , , Subject: [PATCH net-next v1] vsock/test: print type for SOCK_SEQPACKET Date: Wed, 24 Jan 2024 22:32:55 +0300 Message-ID: <20240124193255.3417803-1-avkrasnov@salutedevices.com> X-Mailer: git-send-email 2.35.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 182911 [Jan 24 2024] X-KSMG-AntiSpam-Version: 6.1.0.3 X-KSMG-AntiSpam-Envelope-From: avkrasnov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 7 0.3.7 6d6bf5bd8eea7373134f756a2fd73e9456bb7d1a, {Tracking_from_domain_doesnt_match_to}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;100.64.160.123:7.1.2;salutedevices.com:7.1.1;smtp.sberdevices.ru:7.1.1,5.0.1;127.0.0.199:7.1.2, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/01/24 17:38:00 #23402977 X-KSMG-AntiVirus-Status: Clean, skipped SOCK_SEQPACKET is supported for virtio transport, so do not interpret such type of socket as unknown. Signed-off-by: Arseniy Krasnov --- 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