net/octeontx: fix packet corruption on Tx
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 17 Aug 2018 14:30:22 +0000 (20:00 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 28 Aug 2018 13:27:39 +0000 (15:27 +0200)
commit9f92552eb997819d8af80b0634849070075cce2a
treee4433fb8fcd309a41469a650ad1ea9a674d8ea8f
parent1f2766b7ee02c434b554513193c2a2be6664601d
net/octeontx: fix packet corruption on Tx

LMTST does not guarantee packet content get synced with L2C when
HW access the packet for transmitting.

Adding coherent IO write barrier will make sure HW sees the correct
packet if its modified.

Fixes: 9e747589bd4c ("net/octeontx: add packet transmit burst function")
Cc: stable@dpdk.org
Reported-by: Vikas Aggarwal <vikas.aggarwal@caviumnetworks.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
drivers/net/octeontx/octeontx_rxtx.c