aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_common.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-09-02 16:02:14 -0500
committerDavid S. Miller <davem@davemloft.net>2022-09-05 12:47:01 +0100
commitc30623ea0b3a9d766f34f75a326b8c610ca3105e (patch)
tree3a77345bde0917bed762389d9bd76f4657d78d76 /drivers/net/dsa/microchip/ksz_common.c
parentnet: ipa: rework last transaction determination (diff)
downloadlinux-dev-c30623ea0b3a9d766f34f75a326b8c610ca3105e.tar.xz
linux-dev-c30623ea0b3a9d766f34f75a326b8c610ca3105e.zip
net: ipa: use IDs for last allocated transaction
Use the allocated and free transaction IDs to determine whether the "last" transaction used for quiescing a channel is in allocated state. The last allocated transaction that has not been committed (if any) immediately precedes the first free transaction in the transaction array. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions