OSDN Git Service

soc: qcom: ipa: immediate commands
authorAlex Elder <elder@linaro.org>
Fri, 6 Mar 2020 04:28:26 +0000 (22:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 05:07:10 +0000 (22:07 -0700)
commit731c46edad823127eae1ff5f826f32b965785155
tree47ba5af8c83eef7f1cad4a21db85b58a4ebe69cb
parent2b9feef2b6c288c1f11127fe236bb5078d5d51b3
soc: qcom: ipa: immediate commands

One TX endpoint (per EE) is used for issuing immediate commands to
the IPA.  These commands request activites beyond simple data
transfers to be done by the IPA hardware.  For example, the IPA is
able to manage routing packets among endpoints, and immediate commands
are used to configure tables used for that routing.

Immediate commands are built on top of GSI transactions.  They are
different from normal transfers (in that they use a special endpoint,
and their "payload" is interpreted differently), so separate functions
are used to issue immediate command transactions.

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