diff options
author | 2022-11-02 17:11:35 -0500 | |
---|---|---|
committer | 2022-11-04 10:16:53 +0000 | |
commit | 9a9f512974d5e3e721e106f30429c16dfeb23326 (patch) | |
tree | 7154d7388a7d450dd16fff570b60a376203a4e09 /drivers/net/phy/phy.c | |
parent | net: ipa: add a parameter to suspend registers (diff) | |
download | wireguard-linux-9a9f512974d5e3e721e106f30429c16dfeb23326.tar.xz wireguard-linux-9a9f512974d5e3e721e106f30429c16dfeb23326.zip |
net: ipa: use a bitmap for defined endpoints
IPA v5.0 supports more than 32 endpoints, so we will be unable to
represent endpoints defined in the configuration data with a 32-bit
value. To prepare for that, convert the field in the IPA structure
representing defined endpoints to be a Linux bitmap.
Convert loops based on that field into for_each_set_bit() calls over
the new bitmap. Note that the loop in ipa_endpoint_config() still
assumes there are 32 or fewer endpoints (when comparing against the
available endpoint bit mask); that assumption goes away in the next
patch.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions