Re: [net-next v3 PATCH] octeontx2-pf: Use hardware register for CQE count
Date: Tue Sep 28 2021 - 09:20:10 EST
This patch was applied to netdev/net-next.git (refs/heads/master):
On Tue, 28 Sep 2021 11:25:26 +0530 you wrote:
> Current driver uses software CQ head pointer to poll on CQE
> header in memory to determine if CQE is valid. Software needs
> to make sure, that the reads of the CQE do not get re-ordered
> so much that it ends up with an inconsistent view of the CQE.
> To ensure that DMB barrier after read to first CQE cacheline
> and before reading of the rest of the CQE is needed.
> But having barrier for every CQE read will impact the performance,
> instead use hardware CQ head and tail pointers to find the
> valid number of CQEs.
Here is the summary with links:
- [net-next,v3] octeontx2-pf: Use hardware register for CQE count
You are awesome, thank you!
Deet-doot-dot, I am a bot.