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

From: Jakub Kicinski
Date: Mon Jul 12 2021 - 14:32:47 EST


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?