Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3195027pxv; Mon, 12 Jul 2021 11:33:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0mBLvivnSQJzmxlUg8aCXbxldnUObk5lFNllKkbLmu+VG/A3cIVkugM3yhAbpFvoOdV3a X-Received: by 2002:a5e:d911:: with SMTP id n17mr243510iop.178.1626114807933; Mon, 12 Jul 2021 11:33:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626114807; cv=none; d=google.com; s=arc-20160816; b=Z2EeO5EAsOCdnle3ss03CNfPDuiQExad06h3r7w4kIG2ssv3zZQLJO727Wa8fB9F42 UpenUgMgHgXtR6BsZ1jRuMLdK//RY59SOVsrUM9piBi/hSQBJInVnknUOauJIqSL9Beg 783//QMgerSla8HW0pdvfcCDXj8PQw3+rKpCkXKFpDH3ETy/u+Eg8BylBm0Khql3X3SS DzHzh3h51iKdgpyr5WzPdsXsKMVOywbw+dNvm2iX5BMghm1FECYJa6GBKHZkXqYspIuR /8/HeeTaqKpzjYtPwtmzlWW+wiYFDVEGV9tR1kSpeOLWvgdy1SELXwRjwR88gUKvcq0v MlcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=L2TJjSx9Du6WDjmwwSivXJdSDiQGXNOOXJt34HikPrA=; b=YrHwMSn0mGntrXkdfRJ0zXXcaWyhKUDEbSa81eHkuscagvqhQLYwYn4WjYyb5qYN8O 5bWM8xnl2E5KN315haKSs5EckZqmOEdG/Uoh5QiDyny7wZYgF8VR5ifMUciH4eaCLnhE g1+VtvLH50iGEHNiYN7p/r2gTwvFM5t5OI2F5n0/omdXMdJvGJYItsWuXwcTxv2eMn7l m4w7WAz0w79QWZi2pB6paN/yV4NmcbhwL1TyV8/6Mg1X6AOAibSfKEuTOrDE1kxzQ6ZN ok6PEZuZcf3rv059Ei5aIFHMTg+W9ERNBLNMQFNBgXnOvsqGE6/faPDJsIsUn4ydtPqw AS9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J+M2E1yj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si19002881ilm.144.2021.07.12.11.33.14; Mon, 12 Jul 2021 11:33:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J+M2E1yj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235827AbhGLSfe (ORCPT + 99 others); Mon, 12 Jul 2021 14:35:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:41844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbhGLSfd (ORCPT ); Mon, 12 Jul 2021 14:35:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7BA1161166; Mon, 12 Jul 2021 18:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626114764; bh=ntZygdRkAoIVp1u8D8Ekhns+8iQ1KpIhHjnJDhcFDAw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=J+M2E1yjZzxlPztIbCcY6/rblq4Z2a31QOVl+t7AJFMt5Tkiu7qu/0Mo3aAwGC8GH UCeBFkJrZ/h3v55M0i6dWwJUi/Kt8p6Bj0Qy2yOQrRGaUCC+nl24QW4Xe3/5qgMpLH jMTXPySuuFqrk81gPqBNPhs13ZStS/w5/C+AYrFYdxjQuwBomSEVIUNpBmbY4gRaUo LJpW8AIU14S2v7qmqAccoFARs6crsayGBzIuR4mEpwvJZVE/JUDZtobE4gBW1pkp5J fm2X496AXjIXC05xSAMKXv6WIrJ+qXRDW68dSnV96ej3i2SxgtLja9CSB1wcZBJuMl F1hRRBj7ZRdOw== Date: Mon, 12 Jul 2021 11:32:43 -0700 From: Jakub Kicinski To: Guangbin Huang Cc: , , , , , Subject: Re: [PATCH net-next 1/9] devlink: add documentation for hns3 driver Message-ID: <20210712113243.2d786fe3@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1626053698-46849-2-git-send-email-huangguangbin2@huawei.com> References: <1626053698-46849-1-git-send-email-huangguangbin2@huawei.com> <1626053698-46849-2-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Jul 2021 09:34:50 +0800 Guangbin Huang wrote: > +Parameters > +========== > + > +The ``hns3`` driver implements the following driver-specific > +parameters. > + > +.. list-table:: Driver-specific parameters implemented > + :widths: 10 10 10 70 > + > + * - Name > + - Type > + - Mode > + - Description > + * - ``rx_buf_len`` > + - U32 > + - driverinit > + - Set rx BD buffer size. > + * Now only support setting 2048 and 4096. Can you elaborate further? If I was a user reading this I'd still have little confidence what this does. Does it change the size of each buffer put on the Rx ring between 2k and 4k? Why is that a devlink feature, we configure rings via ethtool. > + * - ``tx_buf_size`` > + - U32 > + - driverinit > + - Set tx spare buf size. > + > + * The size is setted for tx bounce feature. ... and what is the tx bounce feature?