]> 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)
commitd4d535c467a85adc99b07cc056430e8c99fadf5c
tree06a56bfb149d9cf8a22b8fe4ccbae6294a30116f
parentbc84c33d9c9bb57e536a1ef521aafe0d244ed002
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