OSDN Git Service

octeontx2-pf: Clear RSS enable flag on interace down
authorGeetha sowjanya <gakula@marvell.com>
Thu, 18 Mar 2021 14:15:47 +0000 (19:45 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 21:12:42 +0000 (14:12 -0700)
commitf12098ce9b43e1a6fcaa524acbd90f9118a74c0a
tree36031c35e669bd72fb5e029fa0f8dabc630f1e01
parentae2619dd4fccdad9876aa5f900bd85484179c50f
octeontx2-pf: Clear RSS enable flag on interace down

RSS configuration can not be get/set when interface is in down state
as they required mbox communication. RSS enable flag status
is used for set/get configuration. Current code do not clear the
RSS enable flag on interface down which lead to mbox error while
trying to set/get RSS configuration.

Fixes: 85069e95e531 ("octeontx2-pf: Receive side scaling support")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c