]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: define IPA v5.0+ registers
authorAlex Elder <elder@linaro.org>
Mon, 30 Jan 2023 21:01:53 +0000 (15:01 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 1 Feb 2023 05:45:51 +0000 (21:45 -0800)
commit8ba59716d16ac64d81a0b6bbe82ba5cb53af2135
tree4e396d25de8122f9802720256069b0e44a2865bb
parentc84ddc119704bbd1fd7a5b1cdce3146c5840f07d
net: ipa: define IPA v5.0+ registers

Define some new registers that appear starting with IPA v5.0, along
with enumerated types identifying their fields.  Code that uses
these will be added by upcoming patches.

Most of the new registers are related to filter and routing tables,
and in particular, their "hashed" variant.  These tables are better
described as "cached", where a hash value determines which entries
are cached.  From now on, naming related to this functionality will
use "cache" instead of "hash", and that is reflected in these new
register names.  Some registers for managing these caches and their
contents have changed as well.

A few other new field definitions for registers (unrelated to table
caches) are also defined.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_reg.h