]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: aggregate doorbell common operations into a function
authorShay Agroskin <shayagr@amazon.com>
Tue, 8 Jun 2021 16:01:16 +0000 (19:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2021 21:41:10 +0000 (14:41 -0700)
commit0000be9ec2eb36adc10d0b05792b1ce4c16eb033
tree4f4182e2e06cc1d9384481079ba3ceff891086d3
parent698fd8045d03dd570129b9e0b2e0b81b2de869df
net: ena: aggregate doorbell common operations into a function

The ena_ring_tx_doorbell() is introduced to call the doorbell and
increase the driver's corresponding stat.

Signed-off-by: Ido Segev <idose@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c