]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb041dff8d855122b05a6a4f99a0dd0f663ff7c59
tree077878b5a6e9939c256b4ab1d49988c8ffa7f366
parent658fa4d8866b501db8ee3272bce919d083d113c5
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