aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2022-06-10 10:46:10 -0500
committerDavid S. Miller <[email protected]>2022-06-13 12:01:58 +0100
commit92f78f81ac4d0fa9b44cf394893adf25d2a8131f (patch)
treee0c3f4a4ba3013fd541581f39cb6c6f03d0cb50e /tools/perf/scripts/python/exported-sql-viewer.py
parent27f2533bcc6e909b85d3c1b738fa1f203ed8a835 (diff)
net: ipa: verify command channel TLV count
In commit 8797972afff3d ("net: ipa: remove command info pool"), the maximum number of IPA commands that would be sent in a single transaction was defined. That number can't exceed the size of the TLV FIFO on the command channel, and we can check that at runtime. To add this check, pass a new flag to gsi_channel_data_valid() to indicate the channel being checked is being used for IPA commands. Knowing that we can also verify the channel direction is correct. Use a new local variable that refers to the command-specific portion of the data being checked. Signed-off-by: Alex Elder <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions