net/mlx5: handle LRO packets in Rx queue
authorMatan Azrad <matan@mellanox.com>
Mon, 22 Jul 2019 14:52:22 +0000 (14:52 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
commite4c2a16eb1dee83f945abc2d5be68b8841de4e78
treedc73fac676db85fff95fd09571d32485e42398ff
parent8b8f7994f11cd29c49fed0b43dcb782512dc6418
net/mlx5: handle LRO packets in 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.

Add update header code to the mprq Rx burst function to support LRO
feature.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_prm.h
drivers/net/mlx5/mlx5_rxtx.c