net: ipa: introduce ipa_table_hash_support()
authorAlex Elder <elder@linaro.org>
Fri, 12 Feb 2021 14:34:01 +0000 (08:34 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:54:17 +0000 (16:54 -0800)
commita266ad6b5debfee0b9db4d032f5ad8d758b9b087
tree06a56bfb149d9cf8a22b8fe4ccbae6294a30116f
parent2d65ed76924bc772d3974b0894d870b1aa63b34a
net: ipa: introduce ipa_table_hash_support()

Introduce a new function to abstract the knowledge of whether hashed
routing and filter tables are supported for a given IPA instance.

IPA v4.2 is the only one that doesn't support hashed tables (now
and for the foreseeable future), but the name of the helper function
is better for explaining what's going on.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_cmd.c
drivers/net/ipa/ipa_table.c
drivers/net/ipa/ipa_table.h