[PATCH net-next 0/6] net: ipa: simple refactoring

From: Alex Elder
Date: Fri Jun 10 2022 - 11:46:34 EST


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(-)

--
2.34.1