net: ena: optimise calculations for CQ doorbell
This patch initially checks if CQ doorbell is needed before proceeding with the calculations. Signed-off-by: NIgor Chauskin <igorch@amazon.com> Signed-off-by: NSameeh Jubran <sameehj@amazon.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录