Thread (12 messages) flat view 12 messages, 2 authors, 2021-07-13

Re: [PATCH net-next 1/9] devlink: add documentation for hns3 driver

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-07-12 18:32:47
Also in: lkml

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help