On 1/18/2023 6:00 AM, Jiawen Wu wrote: > In some external applications, developers may fill in wrong packet_type > in rte_mbuf for transmission. It will result in Tx ring hang when Tx > checksum offload is on. So change it to parse from ol_flags. And remove > redundant tunnel type since the NIC does not support it. > > Fixes: 9f3206140274 ("net/ngbe: support TSO") > Cc: sta...@dpdk.org >
Similar comments with txgbe version of this patch, Can you please explain more what cause problem on setting mbuf packet_type for Tx path? And in 'tx_desc_ol_flags_to_ptid()', 'ptype' parameter is overwritten before it is used and parameter is useless.