octeontx2-pf: Fix ndo_set_rx_mode
authorSunil Goutham <sgoutham@marvell.com>
Wed, 25 Mar 2020 11:41:17 +0000 (17:11 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2020 19:20:00 +0000 (12:20 -0700)
commite99b7c84fd574d70cf81e76078cd8f87795dcd4f
tree077878b5a6e9939c256b4ab1d49988c8ffa7f366
parente88b288ec2bfb96997e56e4b63c50af4e6fe7736
octeontx2-pf: Fix ndo_set_rx_mode

Since set_rx_mode takes a mutex lock for sending mailbox
message to admin function to set the mode, moved logic
to a workqueue.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c