Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit 8a1a5327ba71a19d8a6e1b9ceb5563b4af2c2029 ] 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/iavf with the following message: 2023-09-18T14:08:52.739Z|00610|dpdk(pmd-c31/id:11)|ERR|iavf_prep_pkts(): INVALID mbuf: bad data_len=[2962] Remove the check on data_len. Fixes: 19ee91c ("net/iavf: 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