]> 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)
commit55ddbec0296b84d8bed64a53f19fb6e100aabcf2
tree972fb43e34ca4d5b5864d0467768bfa9fb78c832
parent6f68103915c44832238f9a7f517ea994047268a8
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