diff options
author | Geetha sowjanya <gakula@marvell.com> | 2018-10-16 16:57:20 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-17 21:33:43 -0700 |
commit | 557dd485eaebdc8a447ce1d5c8916ada739f66b4 (patch) | |
tree | ae51c724e52890048d358a7f507f4b37b5e3c29d /init/calibrate.c | |
parent | ffb0abd7e9cb22714d86ad8a60babd7b05ebdc06 (diff) |
octeontx2-af: Support for disabling NIX RQ/SQ/CQ contexts
This patch adds support for a RVU PF/VF to disable all RQ/SQ/CQ
contexts of a NIX LF via mbox. This will be used by PF/VF drivers
upon teardown or while freeing up HW resources.
A HW context which is not INIT'ed cannot be modified and a
RVU PF/VF driver may or may not INIT all the RQ/SQ/CQ contexts.
So a bitmap is introduced to keep track of enabled NIX RQ/SQ/CQ
contexts, so that only enabled hw contexts are disabled upon LF
teardown.
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions