[dpdk-dev] [PATCH v 4/4] net/hns3: add checking tso segsz when sending TSO packets
Ferruh Yigit
ferruh.yigit at intel.com
Thu Jun 4 18:56:54 CEST 2020
On 6/3/2020 10:32 AM, Wei Hu (Xavier) wrote:
> From: Hongbo Zheng <zhenghongbo3 at huawei.com>
>
> Base on hns3 network engine, when the rte_eth_tx_burst API is called
> by Upper Level Process, if PKT_TX_TCP_SEG flag is set and tso_segsz
> is 0 in the input parameter structure rte_mbuf, hns3 PMD driver will
> process this packet as an non-TSO packet, otherwise hardware will enter
> an abnormal state.
What is ULP (Upper Level Process)?
And OK to have this fix but why 'tso_segsz' is zero when 'PKT_TX_TCP_SEG' is
set, shouldn't this needs to fixed in app level?
>
> Fixes: 6dca716c9e1d ("net/hns3: support TSO")
> Cc: stable at dpdk.org
>
> Signed-off-by: Hongbo Zheng <zhenghongbo3 at huawei.com>
> Signed-off-by: Wei Hu (Xavier) <xavier.huwei at huawei.com>
<...>
More information about the dev
mailing list