From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B3B4A05A1; Wed, 22 Apr 2020 04:13:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 653EE1D429; Wed, 22 Apr 2020 04:13:26 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 48FF11D41C for ; Wed, 22 Apr 2020 04:13:25 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E73B65C014B; Tue, 21 Apr 2020 22:13:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 21 Apr 2020 22:13:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= VtHPg02GpEWWBTTDmfl0wiNA4UZdWIe+fWB+nnB3EWw=; b=io8QVf41AygB76SW y20zN8x1RpaVAE8Z1CgtONjsI7nTtaSbdaqj/AgDdzfsPtjown0iNLQLAHnZeQwS IxHQNUHkzfDnG1L131DQxO5KyWpw6fM/a4prI+2gHkVmdC/njG9YHAchzQlET/j5 +cIA/MTGspe+rDe/Hsn7d01E9+02Cu3I6YAvcCUMV+Pt0QO6sUzg9Uwz6GbZYg9b AOOxn+bDVaOm9vNeduEjFLCTHOle+ra+PuY6F2wDk5d+XYyTV/dHyPGa7Nlx2o8m ns8/QUMSJNtLAD9hr6qTqxXzp9eOqquN3jd5QEfcxV3UN6SyhjDPJfdoBsj6Z8Gg pDL0hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=VtHPg02GpEWWBTTDmfl0wiNA4UZdWIe+fWB+nnB3E Ww=; b=AEEslumKf0qVoKkvBe7DHgyMLFpVsyRbVfWZIVdA2YJg6iGlPHBgUxS6p bu8Lgy7c+Ix/g4934ICCous2cHwFUnarM9tQzpAnTQ66KKF2SjCPL+L4AWjU18TH hjaizSbtq/Vc0qS0cwUYvSCi4WdjPHz1LfyP5p5GozuT4ud+XF5Z2n781HEk3Idl Svxg+BP2EDJrDi3uRkxEBa7Z0lxma8vWxJIuV0jaISOJIQKBADLx90YgO0PYqIz4 LNsr/7y/kCTcxA8QzojooOJfDzLGoge2FxkvDRPfz2G4qkcHjnLWANcCS6TTGTRv Q4Q+EhR3ek+p1AWITMK40JVwrM8zw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeeigdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C436C3280064; Tue, 21 Apr 2020 22:13:23 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao Cc: john.mcnamara@intel.com, marko.kovacevic@intel.com, viacheslavo@mellanox.com, orika@mellanox.com, matan@mellanox.com, shahafs@mellanox.com, rasland@mellanox.com, dev@dpdk.org Date: Wed, 22 Apr 2020 04:13:22 +0200 Message-ID: <2215228.yKrmzQ4Hd0@thomas> In-Reply-To: <1587454163-127981-1-git-send-email-bingz@mellanox.com> References: <1587447151-122283-1-git-send-email-bingz@mellanox.com> <1587454163-127981-1-git-send-email-bingz@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] doc: update hairpin data buffer size config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 21/04/2020 09:29, Bing Zhao: > This patch updates the MLX5 PMD and release notes documentations. > Adding the guideline for hairpin data buffer size configuration. > > Signed-off-by: Bing Zhao > Acked-by: Ori Kam > --- > --- a/doc/guides/nics/mlx5.rst > +++ b/doc/guides/nics/mlx5.rst > +- ``hp_buf_log_sz`` parameter [int] > + > + The total data buffer size of a hairpin queue (logarithmic form), in bytes. > + PMD will set the data buffer size to 2 ** ``hp_buf_log_sz``, both for RX & TX. > + The capacity of the value is sepcified by the Firmware, and the initialization sepcified -> specified Firmware -> firmware > + will get a failure if it is out of scope. > + The range of the value is from 11 to 19 right now, and the supported frame > + size of a single packet for hairpin is from 512B to 128KB. It might change if > + different Firmware release is being used. By using a small value, it could Firmware -> firmware > + reduce the memory consumption but not work with large frame. If the value is > + too large, the memory consumption will be high and some potential performance > + degradation will be introduced. > + By default PMD will set this value to 16, which mean that 9KB jumbo frames By default, the PMD > + will be supported. > + > --- a/doc/guides/rel_notes/release_20_05.rst > +++ b/doc/guides/rel_notes/release_20_05.rst > @@ -62,6 +62,7 @@ New Features > > * Added support for matching on IPv4 Time To Live and IPv6 Hop Limit. > * Added support for creating Relaxed Ordering Memory Regions. > + * Added support for configuring Haripin queue data buffer size. Haripin -> Hairpin