]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfeb8cb8ea12e1efb3844cec92d44ba1e4cf3e539
tree36031c35e669bd72fb5e029fa0f8dabc630f1e01
parent9b6b0259479a79833f8bc63a5a512745be6ead7f
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: 1dee7ca9acad ("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