diff options
author | Alex Elder <elder@linaro.org> | 2021-03-20 10:57:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-20 18:56:18 -0700 |
commit | b9aa0805ed31ed95c720f1a0bb606de2988b3ef5 (patch) | |
tree | be2f15a0d6aa689f310fa23a7626f970b9a7f4a9 /drivers/net/ipa/ipa_data.h | |
parent | net: ipa: use configuration data for QSB settings (diff) | |
download | wireguard-linux-b9aa0805ed31ed95c720f1a0bb606de2988b3ef5.tar.xz wireguard-linux-b9aa0805ed31ed95c720f1a0bb606de2988b3ef5.zip |
net: ipa: implement MAX_READS_BEATS QSB data
Starting with IPA v4.0, a limit is placed on the number of bytes
outstanding in a transaction, to reduce latency. The limit is
imposed only if this value is non-zero.
We don't use a non-zero value for SC7180, but newer versions of IPA
do. Prepare for that by allowing a programmed value to be specified
in the platform configuration data.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_data.h')
-rw-r--r-- | drivers/net/ipa/ipa_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_data.h b/drivers/net/ipa/ipa_data.h index d50cd5ae7714..4162c4722c00 100644 --- a/drivers/net/ipa/ipa_data.h +++ b/drivers/net/ipa/ipa_data.h @@ -59,10 +59,12 @@ enum ipa_qsb_master_id { * struct ipa_qsb_data - Qualcomm System Bus configuration data * @max_writes: Maximum outstanding write requests for this master * @max_reads: Maximum outstanding read requests for this master + * @max_reads_beats: Max outstanding read bytes in 8-byte "beats" (if non-zero) */ struct ipa_qsb_data { u8 max_writes; u8 max_reads; + u8 max_reads_beats; /* Not present for IPA v3.5.1 */ }; /** |