diff options
author | 2021-07-23 11:02:45 -0700 | |
---|---|---|
committer | 2021-07-23 21:57:41 +0100 | |
commit | 6840e17b8ea992453e2d6f460d403cb05d194e76 (patch) | |
tree | ec3b722ea54b69c6a03a2a013e0b4d541239b118 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | wireguard-linux-6840e17b8ea992453e2d6f460d403cb05d194e76.tar.xz wireguard-linux-6840e17b8ea992453e2d6f460d403cb05d194e76.zip |
ionic: make all rx_mode work threadsafe
Move the bulk of the code from ionic_set_rx_mode(), which
can be called from atomic context, into ionic_lif_rx_mode()
which is a safe context.
A call from the stack will get pushed off into a work thread,
but it is also possible to simultaneously have a call driven
by a queue reconfig request from an ethtool command or fw
recovery event. We add a mutex around the rx_mode work to be
sure they don't collide.
Fixes: 81dbc24147f9 ("ionic: change set_rx_mode from_ndo to can_sleep")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions