]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom: ipa: filter and routing tables
authorAlex Elder <elder@linaro.org>
Fri, 6 Mar 2020 04:28:25 +0000 (22:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 05:07:10 +0000 (22:07 -0700)
commit8ad6bc32edb46832b8d0af3f45b2cbdcd58443da
tree6e52264bd00554e97795446b98d7c89c1b7b8849
parente66f933cb5e187e24372396b15fddb7d8a432c70
soc: qcom: ipa: filter and routing tables

This patch contains code implementing filter and routing tables for
the IPA.  A filter table allows rules to be used for filtering
packets that depart the AP at an endpoint.  A filter table entry
contains the address of a set of rules to apply for each endpoint
that supports filtering.

A routing table allows packets to be routed to an endpoint based
on packet metadata.  It is also a table whose entries each contain
the address of a set of routing rules to apply.

Neither filtering nor routing is supported by the current driver.
All table entries refer to rules that mean "no filtering" and "no
routing."

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_table.c [new file with mode: 0644]
drivers/net/ipa/ipa_table.h [new file with mode: 0644]