Re: [dpdk-dev] [PATCH v2] net/mlx5: fix overwriting bit-fields in SW Rx queue

2018-01-10 Thread Shahaf Shuler
Tuesday, January 9, 2018 7:39 PM, Yongseok Koh: > Bit-fields in mlx5_rxq_data can be changed on the fly by a control plane - > e.g. > rxq->mark. However, vectorized Rx uses a bit-field to mark pending errors. > Even if one bit is written, consequence is to write the whole integer and this > can

[dpdk-dev] [PATCH v2] net/mlx5: fix overwriting bit-fields in SW Rx queue

2018-01-09 Thread Yongseok Koh
Bit-fields in mlx5_rxq_data can be changed on the fly by a control plane - e.g. rxq->mark. However, vectorized Rx uses a bit-field to mark pending errors. Even if one bit is written, consequence is to write the whole integer and this can cause a synchronization issue - two entities write to a same