Skip to content

net: ipa: simple refactoring

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

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: ipa: verify command channel TLV countdrivers/net/ipa/gsi.c+27 -120 repliesApplied
2/6net: ipa: rename channel->tlv_countdrivers/net/ipa/gsi.c drivers/net/ipa/gsi.h drivers/net/ipa/gsi_trans.c +2 more+11 -320 repliesApplied
3/6net: ipa: rename endpoint->trans_tre_maxdrivers/net/ipa/ipa_endpoint.c drivers/net/ipa/ipa_endpoint.h+4 -40 repliesApplied
4/6net: ipa: simplify endpoint transaction completiondrivers/net/ipa/ipa_endpoint.c+5 -180 repliesApplied
5/6net: ipa: determine channel from eventdrivers/net/ipa/gsi.c+21 -50 repliesApplied
6/6net: ipa: derive channel from transactiondrivers/net/ipa/gsi.c drivers/net/ipa/gsi_private.h drivers/net/ipa/gsi_trans.c+13 -290 repliesApplied

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: simple refactoring

This series contains some minor code improvements.

The first patch verifies that the configuration is compatible with a recently-defined limit. The second and third rename two fields so they better reflect their use in the code. The next gets rid of an empty function by reworking its only caller.

The last two begin to remove the assumption that an event ring is associated with a single channel. Eventually we'll support having multiple channels share an event ring but some more needs to be done before that can happen.

-Alex

Alex Elder (6):
net: ipa: verify command channel TLV count
net: ipa: rename channel->tlv_count
net: ipa: rename endpoint->trans_tre_max
net: ipa: simplify endpoint transaction completion
net: ipa: determine channel from event
net: ipa: derive channel from transaction

 drivers/net/ipa/gsi.c          | 107 ++++++++++++++++++---------------
 drivers/net/ipa/gsi.h          |  11 +---
 drivers/net/ipa/gsi_private.h  |  12 ++--
 drivers/net/ipa/gsi_trans.c    |  10 +--
 drivers/net/ipa/ipa_cmd.c      |   8 +--
 drivers/net/ipa/ipa_endpoint.c |  27 +++------
 drivers/net/ipa/ipa_endpoint.h |   4 +-
 7 files changed, 80 insertions(+), 99 deletions(-)
Signature · 1 line
2.34.1