OSDN Git Service

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)
commit2b9feef2b6c288c1f11127fe236bb5078d5d51b3
tree6e52264bd00554e97795446b98d7c89c1b7b8849
parent84f9bd12d46dbe8ac7d4b650a8fbb4c49657a38b
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]