Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp344396rdb; Thu, 1 Feb 2024 10:02:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZ+pRfvq1iwyRtp4/wg7F/+Sj3bchq9m05FXcdxMP1+ESnPtOl0ybf3ZhoIFU3pV6zJbyx X-Received: by 2002:a05:6808:3024:b0:3bd:8795:ddbe with SMTP id ay36-20020a056808302400b003bd8795ddbemr5516941oib.58.1706810543726; Thu, 01 Feb 2024 10:02:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706810543; cv=pass; d=google.com; s=arc-20160816; b=XF/HUWYGcggIzqXDAWoDXDkgDL6qwGfPq9M8MAl2kEB+H/2exXjyILLXDUp7EHHjfn +dpxCzaoZ33l9g5NHRaBbty2qIv/9TplDVtRIWeG/DK7ZUvH+0apk0JOL4EtTauvM1Tb OmNU0yWw9f2s45sasvNRlwaNRsREiM33TAuHVd3mM7Yh8SGpoy0jZqNqD4orRkRG+gML LySOvGmGfDP2cx5dHQIW+KGN77MbOoAkgiieZ7QifSRsbi1mu7knY2c8S/LWT7Q7tImy qnB7NW8N2K2NbcuoBkCAksp47xlS03bpOct2NEUjKFONKaW0ROUnNoXz20iko5smAuYZ WxzQ== 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=JA6kcM7RfKhUH5r5RJEs2EEkeq9o7pz0HEuBZXSaz68=; fh=RoD+E1avYJq0sSvaJzURxdOb7BfgrwoBiwVxImjd5rM=; b=bcEYcVGud+ZiKJnNj6XztOqBmTr0TgbgEcanMRyLh8ShnS0yKblGc2q7ExTwSGmSAC QnE1KV6ETTQXprD3vxaCoFHHJsaLDJev4SHFZP+JzBUro1PLsQFoM3ffR48OIboE0HMG y+/lWEObPUu/YoZkUo5QIgWUHtFwpqCtUojqED3Z8xMV0Uz65Y5RZrO6dx1kaz495HUp hb9E9BrNrjtXhePb8w/qHf1X7w6WrCftdkihK4LPlC6oChf+jGzlahD/G2aCyCZ/7X2Y GxX3/INiduq6ZebRZZUxCREPzaNSxaNpqoM6Ltps3Xf3j6MxG533IUU1hsDH893267r+ tI1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=IpGk9qCS; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-48180-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48180-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUMAxQfIfpqSXqFnojFuHFH2mOjVCgF0pFMAa4Hi+bjuFTiwO+5jzJYI4G8FnTNjso4VjTyqeN6L8h0o2ic/PeZtj3H557XlB4NCmOEbw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f7-20020a05680807c700b003be4c81e6c1si53251oij.184.2024.02.01.10.02.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 10:02:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48180-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=IpGk9qCS; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-48180-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48180-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3E9F02843FF for ; Thu, 1 Feb 2024 12:57:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 586E78665F; Thu, 1 Feb 2024 12:57:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="IpGk9qCS" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C74C8664E for ; Thu, 1 Feb 2024 12:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792244; cv=none; b=FbL2O8FMJN0WjbJreGVq3eKTzG5f7o+U9PxrZqmBZlM0sLIYhxnSwCMR0U7AaMZ5HtCgZB75E9Jw6NKTk4SRBfkDyyurxudtIHbrp+sBj60ptb10G/zSMU6OR88lyEMharBS1+3+FL12F3maz/qG5O+Yv/3HhFHmGdJw86Xl2T4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792244; c=relaxed/simple; bh=JA6kcM7RfKhUH5r5RJEs2EEkeq9o7pz0HEuBZXSaz68=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Azue+GngUURyqh1Z75enxokyLe4rBKsM2pbUWxwBfp210YcyFMVqK9o1SxWjQPjhZjRLHT1yZMOeMJn3YK3iZ4Zs6uv7s9RWwEIfPjfkwV0O1UMNiv62BbWtS5rGlwjN5EU3X3cFTznYXCU7mQETgk51vaZQaqWxqtDZx48jPec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=IpGk9qCS; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-40e7065b7bdso7450785e9.3 for ; Thu, 01 Feb 2024 04:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1706792241; x=1707397041; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JA6kcM7RfKhUH5r5RJEs2EEkeq9o7pz0HEuBZXSaz68=; b=IpGk9qCSsgyNE44t72nR9YSNz1I8gXxBWP0T9oxS10hdsQk40l8d+1SXvfA05kA8lv ZawMz9YndQZj6a2FqyL6REaNg/UgVGgJxldWKNCazZWj1p5ekufskJ8cYZ2qNFL92mho SBDGDGaJzFpxB7/PLKFYpQw4gD85F9wNa4kP4BSa3JeqdyK67cM/vrsCKLHBQe/15g3A qINZT+ZeqHNuOBsbt6lA2dRCQWN3REoJ6YOWojCj3ebYpTlRPX3OWYNwx+BsWgV4leyd lGB+nosYP+Uox5zsKuRiwosRdlzYWmtyitTa5pQcyIf/upvI99bzQPLreeI55McFgMxK SMsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706792241; x=1707397041; 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=JA6kcM7RfKhUH5r5RJEs2EEkeq9o7pz0HEuBZXSaz68=; b=VeJuiolpOwetz6z7cmOvpnPNQfdDhPuK/TTNFzWAmyykkDKt36GdNrtwZzaUPf5VaI /tubo+myHNSScUFR+T3SozZ45tzdllsptz5OCFxHRzTuNpbPUTUOhIaXrDNbCXfQEGsT r9n3VElbsHFRlWwcQBYbM3ykHWA+WdLXfZywmlm8X1xfzKLhCbW4JxCPRTzwl2wQFiQP WTuepYWm2dTiGk8ivpP+IUyJARYnmZiG8LeWBchFoPnRJkgcJz5bkQJlZZxH/+LZOofR yO7tuXNXDFetqrUJ53BekbiYVOtefjQ59qAiDLxyz6NbSq2ga/F0wcukbL2Jslz6YL0n YAJw== X-Gm-Message-State: AOJu0YzNakV2tYQQoPsQdNnJ4nJSIBV0JP7EZgr2P4aqSxodIFgdqiSq arxN1aOeQRPIy0HbCm4i9nkQfMdsvQedImqlBEdwfrqSb/NVAta9LdCIf1d412A= X-Received: by 2002:a05:600c:46cf:b0:40f:bd81:e738 with SMTP id q15-20020a05600c46cf00b0040fbd81e738mr1180090wmo.29.1706792241181; Thu, 01 Feb 2024 04:57:21 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCV/WsZhiVM7lHdbIs2EwARWsK7t67gKeQBkjX8kfXNuL1MR/nnHCs9TltYmTRDzTFo9iWtFBNvTFhePoox/qTTZyy3CWACyiie2hipb2zT1vMwNxkKlFqLoPnIk82eDEhL4ZZS8bdL8D1/OLan+KmHDT2KFANPFrr1t/wI3CGkgn06QA5iA6I5AUrP2Lhx3axfXuqLcCSQ7oCefeGrlbStD7/Mfv+Ml3mV3ZqVtjIg1K4nTmCs0DhyYZYRQQn3CncW/GSv4Qis= Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id q18-20020a05600c46d200b0040efd192a95sm4428156wmo.1.2024.02.01.04.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 04:57:20 -0800 (PST) Date: Thu, 1 Feb 2024 13:57:18 +0100 From: Jiri Pirko To: Yunjian Wang Cc: willemdebruijn.kernel@gmail.com, jasowang@redhat.com, kuba@kernel.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, xudingke@huawei.com Subject: Re: [PATCH net-next] tun: Implement ethtool's get_channels() callback Message-ID: References: <1706789109-36556-1-git-send-email-wangyunjian@huawei.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: <1706789109-36556-1-git-send-email-wangyunjian@huawei.com> Thu, Feb 01, 2024 at 01:05:09PM CET, wangyunjian@huawei.com wrote: >Implement the tun .get_channels functionality. This feature is necessary >for some tools, such as libxdp, which need to retrieve the queue count. > >Signed-off-by: Yunjian Wang Reviewed-by: Jiri Pirko