net/ena: fix Tx doorbell statistics
authorAmit Bernstein <amitbern@amazon.com>
Tue, 26 Jan 2021 18:32:23 +0000 (19:32 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:12 +0000 (18:16 +0100)
commit1f949ad90bb558d0b10756bff7bfa909ff9ff7b3
tree93c12574efcf06d5eea8449dafe2f43ac8ce5d45
parent4387e81c94f4702ec2eb2037df2bfa19927309d7
net/ena: fix Tx doorbell statistics

Increment Tx doorbell statistics on tx_pkt_burst
after writing to doorbell and in case max burst size achieved

Fixes: c7519ea5eb8d ("net/ena: call additional doorbells if needed")
Cc: stable@dpdk.org
Signed-off-by: Amit Bernstein <amitbern@amazon.com>
Reviewed-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
drivers/net/ena/ena_ethdev.c