OpenCloudOS-Kernel/include/net/mana
Haiyang Zhang a43e8e9ffa net: mana: Fix oversized sge0 for GSO packets
Handle the case when GSO SKB linear length is too large.

MANA NIC requires GSO packets to put only the header part to SGE0,
otherwise the TX queue may stop at the HW level.

So, use 2 SGEs for the skb linear part which contains more than the
packet header.

Fixes: ca9c54d2d6 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)")
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-10-05 11:45:06 +02:00
..
gdma.h net: mana: Configure hwc timeout from hardware 2023-08-04 09:02:55 +01:00
hw_channel.h net: mana: Configure hwc timeout from hardware 2023-08-04 09:02:55 +01:00
mana.h net: mana: Fix oversized sge0 for GSO packets 2023-10-05 11:45:06 +02:00
mana_auxiliary.h
shm_channel.h