diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-03-25 10:35:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-25 12:07:15 -0700 |
commit | 1ab2f8c699d8e91c97f64c9871bcc89c107cdeef (patch) | |
tree | b16bc2ce823a4a6ca7e6da178342ba549124f959 /drivers/s390/net/qeth_core.h | |
parent | 9de15117f1c5f2cda689cf6dcd9e8779cc8480b8 (diff) |
s390/qeth: collect more TX statistics
Count the number of TX doorbells we issue to the qdio layer.
Also count the number of actual frames in a TX buffer, and then
use this data along with the byte count during TX completion.
We'll make additional use of the frame count in a subsequent patch.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 911dcef6adc6..f56670bfcd0a 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -402,6 +402,7 @@ struct qeth_qdio_out_buffer { struct qdio_buffer *buffer; atomic_t state; int next_element_to_fill; + unsigned int frames; unsigned int bytes; struct sk_buff_head skb_list; int is_header[QDIO_MAX_ELEMENTS_PER_BUFFER]; @@ -457,6 +458,7 @@ struct qeth_out_q_stats { u64 tso_bytes; u64 packing_mode_switch; u64 stopped; + u64 doorbell; u64 completion_yield; u64 completion_timer; |