]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ionic: change set_rx_mode from_ndo to can_sleep
authorShannon Nelson <snelson@pensando.io>
Thu, 12 Nov 2020 18:22:07 +0000 (10:22 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:36:42 +0000 (16:36 +0100)
commit1347d59eabb0452def15335c198ef6411e0ebf9f
tree59c46ef6ddaf8a98b9886bcc5d3709c0872020a1
parent6b516ff83b7633d33e9b58c325454eb0d8f6aa14
ionic: change set_rx_mode from_ndo to can_sleep

BugLink: https://bugs.launchpad.net/bugs/1910111
[ Upstream commit 81dbc24147f9250c186ae5875b3ed3136e9e293b ]

Instead of having two different ways of expressing the same
sleepability concept, using opposite logic, we can rework the
from_ndo to can_sleep for a more consistent usage.

Fixes: 1800eee16676 ("net: ionic: Replace in_interrupt() usage.")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/pensando/ionic/ionic_lif.c