Please sign in to comment.
net/e1000: fix memory barrier usage in Tx
[ upstream commit d6956e92390c8fb2fcbd0f3363169b88a012154c] Use rte_cio_wmb instead of rte_wmb when writing TX descriptor since it's CIO memory. Replace rte_io_wmb and E1000_PCI_REG_WRITE_RELAXED with E1000_PCI_REG_WRITE since it has rte_io_wmb inside, which will be more clear. Fixes: 1fc9701238ed ("net/e1000: fix i219 hang on reset/close") Signed-off-by: Xiao Zhang <firstname.lastname@example.org> Reviewed-by: Gavin Hu <email@example.com> Reviewed-by: Xiaolong Ye <firstname.lastname@example.org>
- Loading branch information