diff options
author | Geetha sowjanya <gakula@marvell.com> | 2018-10-16 16:57:14 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-17 21:33:43 -0700 |
commit | 57856dde119590462315ddb5b4bf5fd2d981cb36 (patch) | |
tree | f645e5ce03d9361950ca9589aac7088226f0eded /include/math-emu | |
parent | 4a3581cd5995d86721b3a38e1e2799b2137b4d77 (diff) | |
download | linux-57856dde119590462315ddb5b4bf5fd2d981cb36.tar.gz linux-57856dde119590462315ddb5b4bf5fd2d981cb36.tar.bz2 linux-57856dde119590462315ddb5b4bf5fd2d981cb36.zip |
octeontx2-af: Support for disabling NPA Aura/Pool contexts
This patch adds support for a RVU PF/VF to disable all Aura/Pool
contexts of a NPA 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 Aura/Pool contexts.
So a bitmap is introduced to keep track of enabled NPA Aura/Pool
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 'include/math-emu')
0 files changed, 0 insertions, 0 deletions