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

2017-08-03 Thread Thomas Monjalon
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. > >

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

2017-08-01 Thread 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 vectori