Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit d7b35f53cadd6f228b3787f8dceca5481c034740 ] Packets to be segmented with TSO are usually larger than MTU. Plus, a single segment for the whole packet may be used: in OVS case, an external rte_malloc'd buffer is used for packets received from vhost-user ports. Before this fix, TSO packets were dropped by net/ice with the following message: 2023-09-18T13:34:31.064Z|00020|dpdk(pmd-c31/id:22)|ERR|ice_prep_pkts(): INVALID mbuf: bad data_len=[2962] Remove the check on data_len. Fixes: ccf33dc ("net/ice: check illegal packet sizes") Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information