diff options
| author | David S. Miller <davem@davemloft.net> | 2022-06-15 09:07:58 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-06-15 09:07:58 +0100 |
| commit | e91b3b618494ad39d7f48c07185beec2d323b95f (patch) | |
| tree | 227053febf4393eeb051a4354a912a0bc6e03128 /drivers/net/ipa/gsi.h | |
| parent | 5cb3ab50a39f365eb7d78a2b11711d6861477734 (diff) | |
| parent | c5bddecbb97bcf0400354dc954cdbd89276e0ddb (diff) | |
Merge branch 'ipa-simplify-completion-stats'
Alex Elder says:
====================
net: ipa: simplify completion statistics
The first patch in this series makes the name used for variables
representing a TRE ring be consistent everywhere. The second
renames two structure fields to better represent their purpose.
The last four rework a little code that manages some tranaction and
byte transfer statistics maintained mainly for TX endpoints. For
the most part this series is refactoring. The last one also
includes the first step toward no longer assuming an event ring is
dedicated to a single channel.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/gsi.h')
| -rw-r--r-- | drivers/net/ipa/gsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipa/gsi.h b/drivers/net/ipa/gsi.h index 89dac7fc8c4c..bad1a78a96ed 100644 --- a/drivers/net/ipa/gsi.h +++ b/drivers/net/ipa/gsi.h @@ -117,9 +117,9 @@ struct gsi_channel { struct gsi_ring tre_ring; u32 evt_ring_id; + /* The following counts are used only for TX endpoints */ u64 byte_count; /* total # bytes transferred */ u64 trans_count; /* total # transactions */ - /* The following counts are used only for TX endpoints */ u64 queued_byte_count; /* last reported queued byte count */ u64 queued_trans_count; /* ...and queued trans count */ u64 compl_byte_count; /* last reported completed byte count */ |
