diff options
author | Arthur Kiyanovski <akiyano@amazon.com> | 2022-01-07 23:23:40 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-08 06:25:50 +0300 |
commit | 273a2397fc9157c04e904b6ae37f723aa910a0d1 (patch) | |
tree | 6021aa5ff1d5c45c3856bd2d90b30be00156cdfd /Documentation/networking | |
parent | 394c48e08bbcbf4c235cd667adb8a826a49d3fd4 (diff) | |
download | linux-273a2397fc9157c04e904b6ae37f723aa910a0d1.tar.xz |
net: ena: Update LLQ header length in ena documentation
LLQ entry length is 128 bytes. Therefore the maximum header in
the entry is calculated by:
tx_max_header_size =
LLQ_ENTRY_SIZE - DESCRIPTORS_NUM_BEFORE_HEADER * 16 =
128 - 2 * 16 = 96
This patch updates the documentation so that it states the correct
max header length.
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/device_drivers/ethernet/amazon/ena.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/device_drivers/ethernet/amazon/ena.rst b/Documentation/networking/device_drivers/ethernet/amazon/ena.rst index 01b2a69b0cb0..8bcb173e0353 100644 --- a/Documentation/networking/device_drivers/ethernet/amazon/ena.rst +++ b/Documentation/networking/device_drivers/ethernet/amazon/ena.rst @@ -135,7 +135,7 @@ The ENA driver supports two Queue Operation modes for Tx SQs: - **Low Latency Queue (LLQ) mode or "push-mode":** In this mode the driver pushes the transmit descriptors and the - first 128 bytes of the packet directly to the ENA device memory + first 96 bytes of the packet directly to the ENA device memory space. The rest of the packet payload is fetched by the device. For this operation mode, the driver uses a dedicated PCI device memory BAR, which is mapped with write-combine capability. |