Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2882225lqo; Tue, 14 May 2024 12:07:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNQNKxu7eKik48NkMgPEpw/i3eKfQRfTIpAJRTOXxdBCAqfI+zFwtilrlgR/Zt5aNxI5Fp/TJlN8BAdPMRNWgMUZqVf7kbZg51LQ1QaA== X-Google-Smtp-Source: AGHT+IF86/63rT1JG1XfKJ0aSObRyHFjFzDmR6yai/hDbswiaWNJudmKiu3VQDTTFwMQdGNKMAfZ X-Received: by 2002:ac8:5743:0:b0:43d:f37a:dbe9 with SMTP id d75a77b69052e-43dfdb22c8amr137446551cf.15.1715713651244; Tue, 14 May 2024 12:07:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715713651; cv=pass; d=google.com; s=arc-20160816; b=Ief385JCGTXAdMqZ0lY0zGANjoERCN5jJaFB4d4htyuBFTyhoCMDs5vy4Rbta9s2gg X2ftpIJdt+LQyHiXNBFs7vtFjwt+lDbulvf476njibTWJZIjYGeBWO0QBign1u7w3Yqq E+GNxW7oV7V4jTVv14nFUMcWhZLJxPggyecAy5KQdaJ/hOJe9D0zoIiLtXfOsmn1ygEf MS3wyCCN5TFL7mi893Szv4PUc3GAR8rJHWHHXCJlRfFfIDbhfJVXmdkdJNB5fBA4rl/r vbrO+MZmP3qlg+EHgAwRZ8eySEaMBXDnnoif1vW1FIg8pA+iwshkQVjXo4EXpVFqJGOh R6Rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9C37JUp/tUGIFgetRggFquZfpmUvmzoZNupVvwtMS08=; fh=pxC6MUCts+kGVZDHXtugo7JmTpmc8RspbeyjD0zAoMU=; b=M1WH1yunptY3Hl3gFbhtLdbPm0iFbie+aqhR7JdPyGfNF6UqvcuBkd86BMVnlRp79w Setjg0GtzVBVQLygN9Ym0OwaUFUwKmQml3+KF1LL2bx4ydKanqCbdHxLli0cUX0BPM9v bBMsFyBG0neVXWwPcRB5L/Bzx6Yvjo32t2akGEWV7sY/SSVl+ELy19Qs8pBqXubxpRLe B63hIZwC+pqqk3ZWhV7mByTSuxmi75RbAup1keRzvtiZWlnU7qJY8yvjwVieZm8VBfzc YmbgUrzggFtTDtqgpCSbL/q4sCLLCB4AOH8Ggfl/kT841mqdCQ4DPtdLihkx8apsz01j 4kDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Q/N/kmuT"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-179087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 d75a77b69052e-43e2c9231c4si13048241cf.207.2024.05.14.12.07.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 12:07:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179087-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=@gmail.com header.s=20230601 header.b="Q/N/kmuT"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-179087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 7F9D51C20BB8 for ; Tue, 14 May 2024 19:07:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 941A1181315; Tue, 14 May 2024 19:07:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Q/N/kmuT" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 497551E504; Tue, 14 May 2024 19:07:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715713638; cv=none; b=JkYoPwB6UXKJCgRjvJ+Ogj1j3B/0V9x05mpgoxm/oB0gI+n3Xs8MRTP+HzsLDnOYbqvtd1m9JL2eYJAc74HLWMvs49oJgUIJpFAy5VDYGivp13Sf58ZGSSH3OJ9yyx8246Oiosxzb6290oK5KMfuyaLUga2YJHceHf0g3Onmgp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715713638; c=relaxed/simple; bh=OApaGFXz5UPRbxRAK2WugT1zcfKuYHqKyoDQHaiRW2U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=G952zDfdZ+rW94JF6tDimsLaSTCvlT8K5WV8tGWBAo2pCBNAj4LYH7Af49StHTaHyk50xZZksc7So7Yjhhttcqsp4G1MfshRdG31yiIgjCnQY6pnOwjOjb5ad/LdJPPTPLHHSvIPssEwcjgKL4Ptlreo0lEL0fcTARA6qjYQy7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Q/N/kmuT; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-420104e5390so33479355e9.1; Tue, 14 May 2024 12:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715713635; x=1716318435; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9C37JUp/tUGIFgetRggFquZfpmUvmzoZNupVvwtMS08=; b=Q/N/kmuTZCHgi/AzRU/HHNeAPBc73sBkQszEFkjhWsPaXcAQZtSUiSt2GqYajxwrax PsjOXbBEgcNHkIDRBy4yrPDHDOTp+mfdBCP65HKDkzbIKBH0OWkhQKia8wWbbsEcF8vZ TYT0ci6CumsQ4dAN44dIgmhL6EHkp1d7AfXRXYhPU3sb/rAdLesE/IKqxEfpJCMGu137 cEZpSA03B0MuOiGq3iqMhjT1ud++ougy8BUJbm/hPxnlnCpFME7WK69Ke3b/hzsiF1Ud 1LVm2mFrIBDiaVZIrsICxry2uwPpQLPnpR1nhLDfZVKevtDiBRlvvMG7CtdhaH7e/m1c YTFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715713635; x=1716318435; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9C37JUp/tUGIFgetRggFquZfpmUvmzoZNupVvwtMS08=; b=cKBgztb3d8Af7N9B4zE0BWH4lDkPCX4bn0d19ibbwveDEiElolKfMtv8YShrFrn6ba n6DytZN7ZBfavbhTuMJVGLbw1NoNH15FywWWAQNgg2D9iAy9pSf6jpPL/H3JBzEdGN0i cjbpi/r2v2VS4QnWc4/6fS64nLj8hBSXfim2XJFgC8mt6+gmkJG+xqIgMzdRd9iUc9Pp mA5/bphNei2/MtHM104A+ijay8vEInaUOH19VMWmOyATGgzeESa4GvJx/NdqSepZu182 23ol1XRlRJKDBcKXZuMzRzwVyUr9FicOD/LtlsOijVBrFgMyt+Y0cT8hfR5Nx8qAs+es YK3A== X-Forwarded-Encrypted: i=1; AJvYcCVTY8+QVSLU3mKDmK9uVIfm7UI9rE5mGZjMfh/aWoq07WUY/G5OxEDO8CfDlwYr7d6pkz05Ex1RHq/+LJEHXvpU9EJ2p2JllSZv1GV15XywuNeHsdX9BcNrTjJ73sNDrYBHjmrCxFlDitbshqnJKdw59NafG26EkNmH8PQUoclf1g== X-Gm-Message-State: AOJu0YwkY3IjNruG6Ti2JS3+sseQXa5ZSJxHPrDzBd75zEpyTAN2E7c0 bfHGI4aUoiWl4GCfCLGnezSYnVna4XyYAHPCXgnSoHpeoeaI5c2b X-Received: by 2002:a05:600c:4f04:b0:420:1508:f0ae with SMTP id 5b1f17b1804b1-4201508f2edmr70658025e9.10.1715713635448; Tue, 14 May 2024 12:07:15 -0700 (PDT) Received: from [172.27.21.185] ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4201088fe8csm123126825e9.32.2024.05.14.12.07.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 May 2024 12:07:15 -0700 (PDT) Message-ID: Date: Tue, 14 May 2024 22:07:12 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v5 3/3] net/mlx4: support per-queue statistics via netlink To: Joe Damato , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: mkarsten@uwaterloo.ca, nalramli@fastly.com, Tariq Toukan , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "open list:MELLANOX MLX4 core VPI driver" References: <20240513172909.473066-1-jdamato@fastly.com> <20240513172909.473066-4-jdamato@fastly.com> Content-Language: en-US From: Tariq Toukan In-Reply-To: <20240513172909.473066-4-jdamato@fastly.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 13/05/2024 20:29, Joe Damato wrote: > Make mlx4 compatible with the newly added netlink queue stats API. > > Signed-off-by: Joe Damato > Tested-by: Martin Karsten > --- > .../net/ethernet/mellanox/mlx4/en_netdev.c | 73 +++++++++++++++++++ > 1 file changed, 73 insertions(+) Reviewed-by: Tariq Toukan