diff options
author | David S. Miller <davem@davemloft.net> | 2022-11-04 10:16:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-04 10:16:53 +0000 |
commit | 95ec6bce2a0bb7ec9c76fe5c2a9db3b9e62c950d (patch) | |
tree | 54877f0f16fb89fa351a1847b31b5da83edf9fee /drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | |
parent | d28c0e73efbee95edf789f07c494592f89862606 (diff) | |
parent | 9b7a00653651d8e6ac05c6d4baa39bcf21090328 (diff) | |
download | linux-stable-95ec6bce2a0bb7ec9c76fe5c2a9db3b9e62c950d.tar.gz linux-stable-95ec6bce2a0bb7ec9c76fe5c2a9db3b9e62c950d.tar.bz2 linux-stable-95ec6bce2a0bb7ec9c76fe5c2a9db3b9e62c950d.zip |
Merge branch 'net-ipa-more-endpoints'
Alex Elder says:
====================
net: ipa: support more endpoints
This series adds support for more than 32 IPA endpoints. To do
this, five registers whose bits represent endpoint state are
replicated as needed to represent endpoints beyond 32. For existing
platforms, the number of endpoints is never greater than 32, so
there is just one of each register. IPA v5.0+ supports more than
that though; these changes prepare the code for that.
Beyond that, the IPA fields that represent endpoints in a 32-bit
bitmask are updated to support an arbitrary number of these endpoint
registers. (There is one exception, explained in patch 7.)
The first two patches are some sort of unrelated cleanups, making
use of a helper function introduced recently.
The third and fourth use parameterized functions to determine the
register offset for registers that represent endpoints.
The last five convert fields representing endpoints to allow more
than 32 endpoints to be represented.
Since v1, I have implemented Jakub's suggestions:
- Don't print a message on (bitmap) memory allocation failure
- Do not do "mass null checks" when allocating bitmaps
- Rework some code to ensure error path is sane
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c')
0 files changed, 0 insertions, 0 deletions