Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp310641lqr; Wed, 5 Jun 2024 06:55:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGl3bBuN2A8ryaevy2zlRPf9hJtb4HMDsJk3MiRvpiz6gZGLtf35lnQvAhgyxivPD7RD+8oCWfCfq40ltHMhXD0KMcbRTyXFxLuhlATA== X-Google-Smtp-Source: AGHT+IGwW8+fpSBXHuYRlcB8ca+S2jZv8umueO2gGfD3mNdFX2QI+qbMxVPxGRb9UVLGvuKqbB0c X-Received: by 2002:a05:6871:b2a:b0:251:27ae:7569 with SMTP id 586e51a60fabf-25127aeb3ebmr1928705fac.5.1717595711379; Wed, 05 Jun 2024 06:55:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717595711; cv=pass; d=google.com; s=arc-20160816; b=IQTTtnpYt98SbDFLU7bHeSHkDsVDNQNQtZkFpedHR7er7XqvPbnACVpr+7YhNfQI48 Ta0OlA/9OTNpPHj1kN3t9rOV5hd4ohKWtkNLMpvTDHdd2IcGiVBWfYvQ7KSBzQr7q1cp X8Z39/8RQzlVmoqqFTrFQc3b0+LoF6iWXV5/8OeF4umvPfJHY5fcsHMafsrc2LGnwj0h +0Ab9Ggph5RYCnOSE/4eyESmlXKbCGIPRwqsXP2TzGPmUw+EEvRZB44NLIeumosLRjho B3gH959qv9rJqN7eYj3sPUvCHeCi9DeRjRwjT4k7r6SpxRco0e1Xc26+klqCjDLhEmmj GtFQ== 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=042mcBaw3d2KXoxXf3hnNq2/pGNwDh2V9t0HtHM/TVA=; fh=nRcUDOmhNrCWnN0NycuSPTVPIyhJHBxORd2N0d3ux0I=; b=QY6aNFXZ+wcbgabIWP4YxXTbJCwA/WBY7sHcpAC+n09EaH8g7JuFikwkHu3izghcI4 EOf50oo5bKpg4QlX4bnH1MMvvUFe2dpO/gpXlcFeHvHTB2/10hqaF2xauE8aOZsY+Pct oI0RV8tc10pyxbVo+ULrfWS/DsYsgtQRSwOmvWdB3NvFsGdLSRvZxBSbGBZDkcNNmW0Q SnylMFlMuBDt0PDP6B+RdqgtgxkPxi520EtWDKnfCt0SQa7sjRbZFMK1vIoty+OIu4Q0 Y5RHS4BSc+nvx+dR3fl8wHxvFXhWK5ubYef62o3dqe5AbExgCdLYcOyZtYCr2SJBZhT/ c30g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YoX3e5Cb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-7951c6a59dfsi335990685a.337.2024.06.05.06.55.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 06:55:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202736-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=@kernel.org header.s=k20201202 header.b=YoX3e5Cb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 E04D51C2501F for ; Wed, 5 Jun 2024 13:54:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75C3314E2FD; Wed, 5 Jun 2024 13:51:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YoX3e5Cb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9B8082BB1C; Wed, 5 Jun 2024 13:51:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717595471; cv=none; b=M61AfHsF0wjIZaqQdfVCmBDSUJasGUn8CsIKTWBKaFoqpbAl+F1LabfFTCDgoVZvf9zwcZY6LQF5kzWtcsF8qZFO7N95WO0q9ms5V9eBq+82zZkCFkSAaOr6E4qRcKVJCXIbwwgmngAcMW31ojqHaGkYBFXGAsEK5y9VFf24BuQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717595471; c=relaxed/simple; bh=5LyhUxJv0s2KRQRgg7PUVSJAFVVaLDS/b7y7t0U5DFI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DhXNqlelT+OWgKfNgeyuE+tBbiMO5/gaLd8WqsRObdLGLy/BHQoLPy38tDGHAcHpJ7eNClT3dabVbXwlVdaW4FTZeFGzM+aBnfdPqfp1WMezOaM0wvYJYIMS33dsWyjliCFGOxDINNR+5GmI3miDeA33ot11wg+1/ia+BdbcYCk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YoX3e5Cb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A89EC2BD11; Wed, 5 Jun 2024 13:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717595471; bh=5LyhUxJv0s2KRQRgg7PUVSJAFVVaLDS/b7y7t0U5DFI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YoX3e5CbLu3Vh2K52jF0o7iUh0XgHM3xiwkUiIczpFEgzBYnBrV1exKU7n5R62ZvB TFAAPScBsQng/ne8I/871js+odlAFOC0CnObl80gGq1rWiBYzwDTg5pIYhAq2EAPUO ZnuYlS5RqF0Ilf0n5MA/i/5c6fUj4Dqp0Foz9mAM26weGWPzcJZqDyWOsi1gCV+w1P TZ2UbA+8ynvoivP4VCm7BPUp7k7LcW+ftvhH+CV92UAD8b75rC2o1ZQQMZrg+T8+13 GJ7kxSAVU2kjTFR1gwtrAyW+bYLMSGCHhascswDdOO5uU8cJg1diXzDCUPx/fkOt8H gjQPIg5z+UDZQ== Date: Wed, 5 Jun 2024 14:51:06 +0100 From: Simon Horman To: Ronak Doshi Cc: netdev@vger.kernel.org, Broadcom internal kernel review list , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , open list Subject: Re: [PATCH v2 net-next 2/4] vmxnet3: add latency measurement support in vmxnet3 Message-ID: <20240605135106.GM791188@kernel.org> References: <20240531193050.4132-1-ronak.doshi@broadcom.com> <20240531193050.4132-3-ronak.doshi@broadcom.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: <20240531193050.4132-3-ronak.doshi@broadcom.com> On Fri, May 31, 2024 at 12:30:47PM -0700, Ronak Doshi wrote: > This patch enhances vmxnet3 to support latency measurement. > This support will help to track the latency in packet processing > between guest virtual nic driver and host. For this purpose, we > introduce a new timestamp ring in vmxnet3 which will be per Tx/Rx > queue. This ring will be used to carry timestamp of the packets > which will be used to calculate the latency. > > User can enable latency measurement using realtime knob in vnic > setting in VCenter. > > Signed-off-by: Ronak Doshi > Acked-by: Guolin Yang Reviewed-by: Simon Horman