Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp701087rdb; Fri, 2 Feb 2024 00:54:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkzDnRtVCeFEE0nS2dES288jIl5zhx0vJByokhVwmDi033bnU+L5XRSfBCkXcvLhaR0HWY X-Received: by 2002:a05:6214:1948:b0:684:1afe:460d with SMTP id q8-20020a056214194800b006841afe460dmr8675051qvk.60.1706864051485; Fri, 02 Feb 2024 00:54:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706864051; cv=pass; d=google.com; s=arc-20160816; b=HP7UeKQP9huhqXZe7OlGf65ON01KQEW1A6s5MPF6KxMtXHf2RyxCxa/JULS1MheOl/ ZVpfephQ+DNOKVj32uovXP5YFcm6Q0VuXJMbM/x3HjoyoxPlOB6M8ILzCh9xDxmGzCTT 7PEuv9m7oZAo09RnsmFt1oOGhINzsya7/qQeVDSFzK3AGbK9pPqwkQpkLffvdp+USEcb T0L/PaXNb2MllA370Oaz8lxwMTocJpTZhGyGK+NNTyjPY8F+tXcV1zC8EeErzIKvXV98 GXO3z1yxv4WXZo5kx8FAx/ehheVU3/I9aV5MCrjawkEE4GWZII5w6BgxRxpo7d3kQHjD e/rg== 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=T7bq3xHNg/s9HVbFl23MaqFRAUuwGoXpxNYtAFiCK1U=; fh=VnvIZ9MPzUavUD5exStXTI2mZz+dDbPMWRO+8eAyeRA=; b=y2u+BWi/tWY9bSRAR7fLlqIPV+c74jogWVZuue4f3IXgj6kFbhNIae1bZy1w8aOTPk QiVQ3oRJeHwzM8djCvoEhARtYRvkwqfZraTrRlBKHZ5pW6U64+rWd1M/jH3WJQQ/Xm5T Ii2htiOFQ/XubzZmGv/4ipiGsnHrv6hKPv4o4sscmfan70eCPWN5SX9d1rcE3FhDxRe3 bVFqKUrevOtHRpvOYFjSHdkxXveQYFlSVTERKFHCgDeNM6TNvSisodOIZPVxyfD1v39q L/9oL++v9ixpCo1frB3IXfrISKBbKSjfOqWSF4OPLjgrAQemLbhTcXGe3YLRQodlBx6p LKAA==; 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=MgxgUKUo; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-49510-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49510-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWALsZlklsN9o88y4RjhnTbLwlo6OtPsAKrLJikrtEJYzAUCFMd15g8H+4uleEqM1l84GYX7W6bFwciGofmpuoi/zFSx97y2GHzJhT+zw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w6-20020a0cfc46000000b00686ba294a01si1526645qvp.157.2024.02.02.00.54.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:54:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49510-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=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=MgxgUKUo; arc=pass (i=1 dkim=pass dkdomain=resnulli-us.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-49510-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49510-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3F1631C22462 for ; Fri, 2 Feb 2024 08:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20721605A2; Fri, 2 Feb 2024 08:54:06 +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="MgxgUKUo" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 9B5E2604C1 for ; Fri, 2 Feb 2024 08:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706864045; cv=none; b=DV6UzT6gqx1VPRVmv1+vQw7n6ufSoK/x6LzhPNHs49LPf3SsOwkw4IRAZcf6aIRY81kNIadTVOjpX3BdbtvjegphKtw1S+Q72HbmS6XsU8Ic1QGOOv7kzZbvQeTjjJDFGreraqhMC94Fy85K7kR9mF5xOrZPQV4QQ/aCufJyxu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706864045; c=relaxed/simple; bh=T7bq3xHNg/s9HVbFl23MaqFRAUuwGoXpxNYtAFiCK1U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Rixm1YhL+mWpYykghPfurEOY4zz4G7WLAyTvU69/sm0Rf2tyfHAhm0yE1uiyxNRTRFERYO9IF237CmbKAWK+xx4ajLDFidnFDnRXLPZTcAbNdYk9Up8NMRCNxh7z8uAhDmXhLzWdtfN5YK66EX86qAGQrPV/LkpqGhwCzFcqWiA= 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=MgxgUKUo; arc=none smtp.client-ip=209.85.167.52 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-lf1-f52.google.com with SMTP id 2adb3069b0e04-51109060d6aso2762138e87.2 for ; Fri, 02 Feb 2024 00:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1706864041; x=1707468841; 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=T7bq3xHNg/s9HVbFl23MaqFRAUuwGoXpxNYtAFiCK1U=; b=MgxgUKUoybkftKJYwtrVTUpdXvQiFPmesMOe+CrojPKIkCn2b7JN+hzsMJbHghNiDC 1IkeOe4MIgTEp5Z85xDfzEVaNSLkCJvbPWQELg6Ft8SpwEYD1MKHCWwTuQ54jg/oo4VB UR0m9NXYDqCcB8manW61VFfsbpauXD82eVG6uBSkohOsf9sPe3wn/llBq0VM3MLZPxDB OTipZngbDDp5IwdmkpbY66vvWih69UFmgvPTVqmij03gIXN4wTWq7Inxm2gh4AJTsXq4 kOKCnx6LtKsI73XyPObr0em05oAmZsbbASr7uJ1S00tFE7BjSEjwBg1AyKWOLvQhuymI lPSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706864041; x=1707468841; 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=T7bq3xHNg/s9HVbFl23MaqFRAUuwGoXpxNYtAFiCK1U=; b=dLZqANJ18a00XTN6gFwaBXG7CazX/lF8YLZ4wG8MPnNym0WUR7+g8O1QhL3iERE2hn uddS7nikVANB53i9MbsU062X19edJiuMj6C7wi57Pxm0BkhxwkynHOe1WaxNtEG0iCAA 9e7bF6DK3rkiY+6GlC55d7+GRZdGMNoUcvnrnVIVxrc7+aC9JufWdS9YK/KOM0+1npa9 JJA0168y1KXskc8U3x1kv57bBfoZnKKqPRdnWhbADGw4LYZD4gfL45LhhSMZHHm+k6aT OXwsRV0P1EwCKy+JZd9Ogb3UWcgKfL5ATqYug6g+j4LmlC8ZQwQwkOwndFiBQcwkO95f nByw== X-Gm-Message-State: AOJu0YzcWDf/v5iuVVVGblFsVNhMg162zEzBmZb86nRvc+QG4O3WTiVg 7B7lmnc3D2+///+v+hqUftUWPyGX4GtOG0eoaUVjUWujIycEyS55zv+irF/WoDE= X-Received: by 2002:ac2:549b:0:b0:510:c7c:5a6a with SMTP id t27-20020ac2549b000000b005100c7c5a6amr3159338lfk.61.1706864041563; Fri, 02 Feb 2024 00:54:01 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWWH0XyF2UxwKgL/eAajxL0PSFAXt50MADFBXGSGEwKxkMpWv7cPoSi9kW440OyTJv6v5yPlfxfGapBjMVKL2LeiVBma2Edhf3YGGUUqcVsLyLl2oiGABA3jvlN6UjACG9D0iVhaBAKbYIbAUOyuZFGWnz7O9ky7zfStCvfR9Bv7NzTQ2HQAj5d3UfflpcFu1mOTtUhhPSY8E3gW54gs1WD0ilAYZcUHdvEcfnUaqxuqyilQQX8xFX5js/BEdNYG+LII3ycKbI= Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id d29-20020adfa41d000000b0033b137d8dbdsm1432924wra.103.2024.02.02.00.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:54:00 -0800 (PST) Date: Fri, 2 Feb 2024 09:53:58 +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 v2] tun: Implement ethtool's get_channels() callback Message-ID: References: <1706860400-61484-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: <1706860400-61484-1-git-send-email-wangyunjian@huawei.com> Fri, Feb 02, 2024 at 08:53:20AM 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