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>
This commit is contained in:
committed by
David S. Miller
parent
9de15117f1
commit
1ab2f8c699
@@ -39,6 +39,7 @@ static const struct qeth_stats txq_stats[] = {
|
||||
QETH_TXQ_STAT("TSO bytes", tso_bytes),
|
||||
QETH_TXQ_STAT("Packing mode switches", packing_mode_switch),
|
||||
QETH_TXQ_STAT("Queue stopped", stopped),
|
||||
QETH_TXQ_STAT("Doorbell", doorbell),
|
||||
QETH_TXQ_STAT("Completion yield", completion_yield),
|
||||
QETH_TXQ_STAT("Completion timer", completion_timer),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user