summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipa/gsi_private.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-06-13 19:17:55 +0200
committerDavid S. Miller <davem@davemloft.net>2022-06-15 10:07:58 +0200
commit3eeabea6c895ee9f3f155fede65904d9bd54238a (patch)
tree745cfa91d2db04c20f7ef775b945e41a5ea6a02f /drivers/net/ipa/gsi_private.h
parentnet: ipa: use "tre_ring" for all TRE ring local variables (diff)
downloadlinux-3eeabea6c895ee9f3f155fede65904d9bd54238a.tar.xz
linux-3eeabea6c895ee9f3f155fede65904d9bd54238a.zip
net: ipa: rename two transaction fields
There are two fields in a GSI transaction that keep track of TRE counts. The first represents the number of TREs reserved for the transaction in the TRE ring; that's currently named "tre_count". The second is the number of TREs that are actually *used* by the transaction at the time it is committed. Rename the "tre_count" field to be "rsvd_count", to make its meaning a little more specific. The "_count" is present in the name mainly to avoid interpreting it as a reserved (not-to-be-used) field. This name also distinguishes it from the "tre_count" field associated with a channel. Rename the "used" field to be "used_count", to match the convention used for reserved TREs. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/gsi_private.h')
0 files changed, 0 insertions, 0 deletions