Skip to content

net: ipa: IPA v4.5 aggregation and Qtime

Alex Elder lkml netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4net: ipa: update IPA aggregation registers for IPA v4.5drivers/net/ipa/ipa_endpoint.c drivers/net/ipa/ipa_reg.h+101 -390 replies
2/4net: ipa: set up IPA v4.5 Qtime configurationdrivers/net/ipa/ipa_main.c drivers/net/ipa/ipa_reg.h+93 -40 replies
3/4net: ipa: use Qtime for IPA v4.5 aggregation time limitdrivers/net/ipa/ipa_endpoint.c+28 -40 replies
4/4net: ipa: use Qtime for IPA v4.5 head-of-line time limitdrivers/net/ipa/ipa_endpoint.c+42 -60 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/4] net: ipa: IPA v4.5 aggregation and Qtime

This series updates some IPA register definitions that change in substantive ways for IPA v4.5.

One register defines parameters used by an endpoint to aggregate multiple packets into a buffer. The size and position of most fields in that register have changed with this new hardware version, and consequently the function that programs it needs to be done a bit differently. The first patch takes care of this.

Second, IPA v4.5 introduces a unified time keeping component to be used in several places by the IPA hardware. A main clock divider provides a fundamental tick rate, and several timestamped features now define their granularity based on that. There is also a set of "pulse generators" derived from the main tick, and these are used to implement timers used for aggregation and head-of-line block avoidance. The second patch adds IPA register updates to support Qtime along with its configuration, and the last two patches configure the timers that use it.

-Alex

Alex Elder (4):
net: ipa: update IPA aggregation registers for IPA v4.5
net: ipa: set up IPA v4.5 Qtime configuration
net: ipa: use Qtime for IPA v4.5 aggregation time limit
net: ipa: use Qtime for IPA v4.5 head-of-line time limit

 drivers/net/ipa/ipa_endpoint.c | 174 +++++++++++++++++++++++++--------
 drivers/net/ipa/ipa_main.c     |  67 ++++++++++++-
 drivers/net/ipa/ipa_reg.h      |  68 +++++++++++--
 3 files changed, 260 insertions(+), 49 deletions(-)
Signature · 1 line
2.20.1