Merge branch 'nfp-fix-schedule-in-atomic-context-when-offloading-sa'
authorJakub Kicinski <kuba@kernel.org>
Fri, 10 Feb 2023 06:28:08 +0000 (22:28 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Feb 2023 06:28:09 +0000 (22:28 -0800)
Simon Horman says:

====================
nfp: fix schedule in atomic context when offloading sa

Yinjun Zhang says:

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 asynchoronously
can utilize it.

Also fix another two incorrect use of mailbox in IPsec:
 1. Need lock for race condition when accessing mbox
 2. Offset of mbox access should depends on tlv caps
====================

Link: https://lore.kernel.org/r/20230208102258.29639-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge