aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2020-01-30 18:04:35 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-01-31 19:31:40 +0100
commit91bfaa15a379e9af24f71fb4ee08d8019b6e8ec7 (patch)
tree68d6f3e173143b48592ba1153414084a79d7e8b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentb9e0102a57d768bdb99cbbfa01225f73d58e03bc (diff)
netfilter: flowtable: Fix hardware flush order on nf_flow_table_cleanup
On netdev down event, nf_flow_table_cleanup() is called for the relevant device and it cleans all the tables that are on that device. If one of those tables has hardware offload flag, nf_flow_table_iterate_cleanup flushes hardware and then runs the gc. But the gc can queue more hardware work, which will take time to execute. Instead first add the work, then flush it, to execute it now. Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support") Signed-off-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions