[dpdk-dev] [PATCH] net/mlx5: fix buffer address posting in vectorized Rx

Thomas Monjalon thomas at monjalon.net
Thu Aug 3 23:19:30 CEST 2017


01/08/2017 18:35, Yongseok Koh:
> The data_off field of newly allocated mbufs is stale data. This shouldn't
> be used in calculating Rx address for device when posting free buffers.
> RTE_PKTMBUF_HEADROOM should be used instead and data_off of a mbuf will be
> reset on packet reception anyway.
> 
> Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86")
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
> Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

Applied, thanks



More information about the dev mailing list