]> 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)
commit93ca1e20267e39a3c0f1fe32515bfd1f1516f15c
tree48bbcfc81ff8a1a78a8284e1e094719d2306b3fb
parenteec8824d6e39b989823be660adb076153a45d533
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