From: David Arinzon Date: Tue, 30 Jan 2024 09:53:44 +0000 (+0000) Subject: net: ena: Add more documentation for RX copybreak X-Git-Tag: block-6.9-20240315~27^2~378^2~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=bd765cc910127ee8ed6cd83dae0f0bfbca69d71e;p=linux-block.git net: ena: Add more documentation for RX copybreak This patch contains more details about the functionality of RX copybreak. Signed-off-by: Shay Agroskin Signed-off-by: David Arinzon Signed-off-by: Paolo Abeni --- diff --git a/Documentation/networking/device_drivers/ethernet/amazon/ena.rst b/Documentation/networking/device_drivers/ethernet/amazon/ena.rst index b842bcb14255..a4c7d0c65fd7 100644 --- a/Documentation/networking/device_drivers/ethernet/amazon/ena.rst +++ b/Documentation/networking/device_drivers/ethernet/amazon/ena.rst @@ -211,10 +211,16 @@ Documentation/networking/net_dim.rst RX copybreak ============ + The rx_copybreak is initialized by default to ENA_DEFAULT_RX_COPYBREAK and can be configured by the ETHTOOL_STUNABLE command of the SIOCETHTOOL ioctl. +This option controls the maximum packet length for which the RX +descriptor it was received on would be recycled. When a packet smaller +than RX copybreak bytes is received, it is copied into a new memory +buffer and the RX descriptor is returned to HW. + Statistics ==========