netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Elder <elder@linaro.org>
To: davem@davemloft.net, kuba@kernel.org
Cc: elder@kernel.org, evgreen@chromium.org,
	bjorn.andersson@linaro.org, cpratapa@codeaurora.org,
	subashab@codeaurora.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH net-next 0/7] net: ipa: a mix of small improvements
Date: Wed,  3 Feb 2021 09:28:48 -0600	[thread overview]
Message-ID: <20210203152855.11866-1-elder@linaro.org> (raw)

This series contains a sort of unrelated set of code cleanups.

The first two are things I wanted to do in a series that updated
some NAPI code recently.  I didn't want to change things in a way
that affected existing testing so I set these aside for later
(i.e., now).

The third makes a change to event ring handling that's similar to
what was done a while back for channels.  There's little benefit to
cacheing the current state of an event ring, so with this we'll just
fetch the state from hardware whenever we need it.

The fourth patch removes the definitions of two unused symbols.

The fifth replaces a count that is always 0 or 1 with a Boolean.

The sixth removes a build-time validation check that doesn't really
provide benefit.

And the last one fixes a problem (in two spots) that could cause a
build-time check to fail "bogusly".

					-Alex

Alex Elder (7):
  net: ipa: restructure a few functions
  net: ipa: synchronize NAPI only for suspend
  net: ipa: do not cache event ring state
  net: ipa: remove two unused register definitions
  net: ipa: use a Boolean rather than count when replenishing
  net: ipa: get rid of status size constraint
  net: ipa: avoid field overflow

 drivers/net/ipa/gsi.c          | 94 ++++++++++++++++++----------------
 drivers/net/ipa/gsi.h          |  1 -
 drivers/net/ipa/gsi_reg.h      | 10 ----
 drivers/net/ipa/ipa_endpoint.c | 38 +++++++-------
 drivers/net/ipa/ipa_reg.h      | 22 +++++---
 5 files changed, 84 insertions(+), 81 deletions(-)

-- 
2.20.1


             reply	other threads:[~2021-02-03 15:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 15:28 Alex Elder [this message]
2021-02-03 15:28 ` [PATCH net-next 1/7] net: ipa: restructure a few functions Alex Elder
2021-02-05  4:50   ` Jakub Kicinski
2021-02-05 13:37     ` Alex Elder
2021-02-03 15:28 ` [PATCH net-next 2/7] net: ipa: synchronize NAPI only for suspend Alex Elder
2021-02-05  4:53   ` Jakub Kicinski
2021-02-05 13:39     ` Alex Elder
2021-02-03 15:28 ` [PATCH net-next 3/7] net: ipa: do not cache event ring state Alex Elder
2021-02-03 15:28 ` [PATCH net-next 4/7] net: ipa: remove two unused register definitions Alex Elder
2021-02-03 15:28 ` [PATCH net-next 5/7] net: ipa: use a Boolean rather than count when replenishing Alex Elder
2021-02-03 15:28 ` [PATCH net-next 6/7] net: ipa: get rid of status size constraint Alex Elder
2021-02-03 15:28 ` [PATCH net-next 7/7] net: ipa: avoid field overflow Alex Elder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210203152855.11866-1-elder@linaro.org \
    --to=elder@linaro.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=cpratapa@codeaurora.org \
    --cc=davem@davemloft.net \
    --cc=elder@kernel.org \
    --cc=evgreen@chromium.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=subashab@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).