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 ea75808941c8020c568e47d1ef9b25223258c131 ]

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 cpaelzer committed Nov 24, 2022
1 parent acb3bb3 commit 7affcda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/guides/nics/mlx5.rst
Expand Up @@ -226,6 +226,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.

- Timestamps:

Expand Down

0 comments on commit 7affcda

Please sign in to comment.