Skip to content

Commit

Permalink
doc: add LRO size limitation in mlx5 guide
Browse files Browse the repository at this point in the history
[ upstream commit ea75808 ]

Maximal LRO message size must be multiply of 256.
Otherwise, TCP payload may not fit into a single WQE.

Fixes: 1c7e57f ("net/mlx5: set maximum LRO packet size")

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
  • Loading branch information
getelson-at-mellanox authored and kevintraynor committed Nov 23, 2022
1 parent 8e04bc3 commit d42406e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/guides/nics/mlx5.rst
Expand Up @@ -388,6 +388,8 @@ Limitations
TCP header (122B).
- Rx queue with LRO offload enabled, receiving a non-LRO packet, can forward
it with size limited to max LRO size, not to max RX packet length.
- The driver rounds down the port configuration value ``max_lro_pkt_size``
(from ``rte_eth_rxmode``) to a multiple of 256 due to hardware limitation.
- LRO can be used with outer header of TCP packets of the standard format:
eth (with or without vlan) / ipv4 or ipv6 / tcp / payload

Expand Down

0 comments on commit d42406e

Please sign in to comment.