net: ipa: update table cache flushing
authorAlex Elder <elder@linaro.org>
Mon, 30 Jan 2023 21:01:54 +0000 (15:01 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 1 Feb 2023 05:45:51 +0000 (21:45 -0800)
commit8e7c89d84a2b73cc66485f1749b5e4f8d3a62e6a
tree1cc2b80ba072d66d7dd441792237b76b7141fdcd
parent8ba59716d16ac64d81a0b6bbe82ba5cb53af2135
net: ipa: update table cache flushing

Update the code that causes filter and router table caches to be
flushed so that it supports IPA versions 5.0+.  It adds a comment in
ipa_hardware_config_hashing() that explains that cacheing does not
need to be enabled, just as before, because it's enabled by default.
(For the record, the FILT_ROUT_CACHE_CFG register would have been
used if we wanted to explicitly enable these.)

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_cmd.c
drivers/net/ipa/ipa_main.c
drivers/net/ipa/ipa_table.c