]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ena: Update LLQ header length in ena documentation
authorArthur Kiyanovski <akiyano@amazon.com>
Fri, 7 Jan 2022 20:23:40 +0000 (20:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Jan 2022 03:25:50 +0000 (19:25 -0800)
commit273a2397fc9157c04e904b6ae37f723aa910a0d1
tree6021aa5ff1d5c45c3856bd2d90b30be00156cdfd
parent394c48e08bbcbf4c235cd667adb8a826a49d3fd4
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>
Documentation/networking/device_drivers/ethernet/amazon/ena.rst