[V1 1/1] net/hinic3: Add VXLAN TSO function

Stephen Hemminger stephen at networkplumber.org
Wed May 20 17:06:49 CEST 2026


On Wed, 20 May 2026 14:58:15 +0800
Feifei Wang <wff_light at vip.163.com> wrote:

> The RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO flag is added to support the VXLAN TSO function
> 
> Signed-off-by: Feifei Wang <wangfeifei40 at huawei.com>
> ---

You need to do more than just advertise the capability to get the driver
to actually work right.

AI explanation:

Error: VXLAN TSO is advertised unconditionally but the underlying hardware
feature is not. The patch adds RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO to the
unconditional tx_offload_capa assignment in hinic3_dev_infos_get(), but
the Tx path in drivers/net/hinic3/hinic3_tx.c:306-313 rejects every VXLAN
tunnel mbuf when the hardware does not have NIC_F_VXLAN_OFFLOAD:


More information about the dev mailing list