Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: fix single not inline packet storing
[ upstream commit 166f185 ] The mlx5 PMD can inline packet data into transmitting descriptor (WQE) and free mbuf immediately as data no longer needed, for non-inline packets the mbuf pointer should be stored in elts array for coming freeing on send completion. There was an optimization on storing pointers in batch and there was missed storing mbuf for single packet if non-inline was explicitly requested by flag. Fixes: cacb44a ("net/mlx5: add no-inline Tx flag") Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
- Loading branch information