diff options
| author | Alex Elder <elder@linaro.org> | 2021-01-26 21:57:00 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-29 07:23:26 +0300 |
| commit | f6aba7b5199ad2a73a3deb6c042dee770650719c (patch) | |
| tree | 72810c0dbe20c57b323020fec589bbee07b8f9d9 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 162fbc6f4519f9b083fbd96b60d908c78a9c87f6 (diff) | |
| download | linux-f6aba7b5199ad2a73a3deb6c042dee770650719c.tar.xz | |
net: ipa: drop packet if status has valid tag
Introduce ipa_endpoint_status_tag(), which returns true if received
status indicates its tag field is valid. The endpoint parameter is
not yet used.
Call this from ipa_status_drop_packet(), and drop the packet if the
status indicates the tag was valid. Pass the endpoint pointer to
ipa_status_drop_packet(), and rename it ipa_endpoint_status_drop().
The endpoint will be used in the next patch.
Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
