diff options
author | Yinjun Zhang <[email protected]> | 2023-02-08 11:22:57 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-02-09 22:28:06 -0800 |
commit | 7a13a2eef645f2d2e3018d6ea518f121b35a87c8 (patch) | |
tree | 68a2bc3395426bd46639cccc5a1ceb985468b7c6 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | d61615c366a489646a1bfe5b33455f916762d5f4 (diff) |
nfp: fix incorrect use of mbox in IPsec code
The mailbox configuration mechanism requires writing several registers,
which shouldn't be interrupted, so need lock to avoid race condition.
The base offset of mailbox configuration registers is not fixed, it
depends on TLV caps read from application firmware.
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