]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit579738cd2e1cec09c33358fe4684be6c880ca4d3
tree06a56bfb149d9cf8a22b8fe4ccbae6294a30116f
parentddfb302ded6729ea1c9256645fb4b59689ac2fb0
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