OSDN Git Service

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)
commit9e8afb05961147509181baf4de5cbd644757e850
tree4f4182e2e06cc1d9384481079ba3ceff891086d3
parent511c537bb5647662ff7df7a41180a1721c078720
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