aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorYinjun Zhang <[email protected]>2023-02-08 11:22:58 +0100
committerJakub Kicinski <[email protected]>2023-02-09 22:28:06 -0800
commit71f814cda659dca3db575ed67dfcdc4b93e8d33f (patch)
tree27d981d4b9f1f17a76f2fa149119cbebf4721105 /tools/testing/selftests/bpf/progs/test_autoload.c
parent7a13a2eef645f2d2e3018d6ea518f121b35a87c8 (diff)
nfp: fix schedule in atomic context when offloading sa
IPsec offloading callbacks may be called in atomic context, sleep is not allowed in the implementation. Now use workqueue mechanism to avoid this issue. Extend existing workqueue mechanism for multicast configuration only to universal use, so that all configuring through mailbox asynchronously can utilize it. Fixes: 859a497fe80c ("nfp: implement xfrm callbacks and expose ipsec offload feature to upper layer") Signed-off-by: Yinjun Zhang <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions