]> 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)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Nov 2020 21:22:59 +0000 (13:22 -0800)
commit81dbc24147f9250c186ae5875b3ed3136e9e293b
tree415b612f910d806336620fcee0f58ff0cb2bbcf7
parente94f76bb206333efcd0c02da5dbb142518c941a2
ionic: change set_rx_mode from_ndo to can_sleep

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>
drivers/net/ethernet/pensando/ionic/ionic_lif.c