diff options
author | Shailend Chand <shailend@google.com> | 2024-05-02 02:25:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-05 16:35:34 +0300 |
commit | 770f52d5a0ed9ea3e3b8f04927eac520cab97935 (patch) | |
tree | d2dfaa1d864a4c904a2e96362a6244e118975884 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9a5e0776d11f1ac9c740a6e24ff0e0facb6e3ddb (diff) | |
download | linux-770f52d5a0ed9ea3e3b8f04927eac520cab97935.tar.xz |
gve: Reset Rx ring state in the ring-stop funcs
This does not fix any existing bug. In anticipation of the ndo queue api
hooks that alloc/free/start/stop a single Rx queue, the already existing
per-queue stop functions are being made more robust. Specifically for
this use case: rx_queue_n.stop() + rx_queue_n.start()
Note that this is not the use case being used in devmem tcp (the first
place these new ndo hooks would be used). There the usecase is:
new_queue.alloc() + old_queue.stop() + new_queue.start() + old_queue.free()
Tested-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: Shailend Chand <shailend@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions