]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: rearrange GSI structure fields
authorAlex Elder <elder@linaro.org>
Wed, 24 Nov 2021 20:25:11 +0000 (14:25 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Nov 2021 03:37:34 +0000 (19:37 -0800)
commit64f184325e08aa56c06d961c66df6179efd22c8b
tree48bbcfc81ff8a1a78a8284e1e094719d2306b3fb
parent8c92a50564403a7abcc5ceee2880343b306df48e
net: ipa: rearrange GSI structure fields

The dummy net_device is a large field in the GSI structure, but it
is not at all interesting from the perspective of debugging.  Move
it to the end of the GSI structure so the other fields are easier to
find in memory.

The channel and event ring arrays are also very large, so move them
near the end of the structure as well.

Swap the position of the result and completion fields to improve
structure packing.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.h