]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: optimise calculations for CQ doorbell
authorSameeh Jubran <sameehj@amazon.com>
Mon, 3 Jun 2019 14:43:27 +0000 (17:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 20:30:38 +0000 (13:30 -0700)
commit6f5f9c8d80761c5e3982c6f54c68a4bd862e476a
tree972fb43e34ca4d5b5864d0467768bfa9fb78c832
parent1057b224d8b36ad9f7c247e8e086fd8605e722a2
net: ena: optimise calculations for CQ doorbell

This patch initially checks if CQ doorbell
is needed before proceeding with the calculations.

Signed-off-by: Igor Chauskin <igorch@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_eth_com.h