summaryrefslogtreecommitdiff
path: root/doc/guides/nics/mlx5.rst
diff options
context:
space:
mode:
authorMatan Azrad <matan@mellanox.com>2019-07-29 11:53:27 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-07-29 16:54:27 +0200
commit2579543f604daf459bd8c939c52c6fc43b235f43 (patch)
treeca2c8e873244295887222c1e43e1c472d55872c5 /doc/guides/nics/mlx5.rst
parent18a68e046b511a1fc2424f20387332990bc7338b (diff)
downloaddpdk-2579543f604daf459bd8c939c52c6fc43b235f43.zip
dpdk-2579543f604daf459bd8c939c52c6fc43b235f43.tar.gz
dpdk-2579543f604daf459bd8c939c52c6fc43b235f43.tar.xz
net/mlx5: handle LRO packets in regular Rx queue
When LRO offload is configured in Rx queue, the HW may coalesce TCP packets from same TCP connection into single packet. In this case the SW should fix the relevant packet headers because the HW doesn't update them according to the new created packet characteristics but provides the update values in the CQE. Add update header code to the regular Rx burst function to support LRO feature. Make sure the first mbuf has enough space to include each TCP header, otherwise the header update may cross mbufs what complicates the operation too match. Signed-off-by: Matan Azrad <matan@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'doc/guides/nics/mlx5.rst')
-rw-r--r--doc/guides/nics/mlx5.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index cd550f4..6f0c382 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -165,7 +165,9 @@ Limitations
- LRO:
- - scatter_fcs is disabled when LRO is configured.
+ - KEEP_CRC offload cannot be supported with LRO.
+ - The first mbuf length, without head-room, must be big enough to include the
+ TCP header (122B).
Statistics
----------