[dpdk-dev] [PATCH v2] kni: fix kni Rx fifo producer synchronization

Ferruh Yigit ferruh.yigit at intel.com
Mon Aug 27 16:07:35 CEST 2018


On 8/16/2018 10:55 AM, Kiran Kumar wrote:
> With existing code in kni_fifo_put, rx_q values are not being updated
> before updating fifo_write. While reading rx_q in kni_net_rx_normal,
> This is causing the sync issue on other core. So adding a write
> barrier to make sure the values being synced before updating fifo_write.
> 
> Fixes: 3fc5ca2f6352 ("kni: initial import")
> 
> Signed-off-by: Kiran Kumar <kkokkilagadda at caviumnetworks.com>
> Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the dev mailing list