Skip to content

net: ipa: simplify completion statistics

Alex Elder linux-arm-msm lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew 5 of 6 applied

Patches in v1 5 of 6 applied

#Subject and filesSizeRepliesApplied
1/6net: ipa: use "tre_ring" for all TRE ring local variablesdrivers/net/ipa/gsi_trans.c+9 -90 repliesApplied
2/6net: ipa: rename two transaction fieldsdrivers/net/ipa/gsi_trans.c drivers/net/ipa/gsi_trans.h+25 -240 repliesApplied
3/6net: ipa: introduce gsi_trans_tx_committed()drivers/net/ipa/gsi.c drivers/net/ipa/gsi_private.h drivers/net/ipa/gsi_trans.c +1 more+27 -110 repliesApplied
4/6net: ipa: simplify TX completion statisticsdrivers/net/ipa/gsi.c+6 -80 repliesApplied
5/6net: ipa: stop counting total RX bytes and transactionsdrivers/net/ipa/gsi.c drivers/net/ipa/gsi.h+1 -90 repliesApplied
6/6net: ipa: rework gsi_channel_tx_update()drivers/net/ipa/gsi.c+25 -290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/6] 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.

-Alex

Alex Elder (6):
net: ipa: use "tre_ring" for all TRE ring local variables
net: ipa: rename two transaction fields
net: ipa: introduce gsi_trans_tx_committed()
net: ipa: simplify TX completion statistics
net: ipa: stop counting total RX bytes and transactions
net: ipa: rework gsi_channel_tx_update()

 drivers/net/ipa/gsi.c         | 77 +++++++++++++++++------------------
 drivers/net/ipa/gsi.h         |  2 +-
 drivers/net/ipa/gsi_private.h |  9 ++++
 drivers/net/ipa/gsi_trans.c   | 68 +++++++++++++++----------------
 drivers/net/ipa/gsi_trans.h   | 15 +++----
 5 files changed, 87 insertions(+), 84 deletions(-)
Signature · 1 line
2.34.1