aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorSunil Goutham <[email protected]>2020-03-21 00:27:19 +0530
committerDavid S. Miller <[email protected]>2020-03-23 21:11:43 -0700
commitd424b6c024157fe04e6530757b8b4a0e48bbe389 (patch)
tree52a34c76c7f9df84210ce1a0bd4e28917804d808 /scripts/gcc-plugins/sancov_plugin.c
parent4e8386fcde1ae07f836907b15175f2e205d8df4b (diff)
octeontx2-pf: Enable SRIOV and added VF mbox handling
Added 'sriov_configure' to enable/disable virtual functions (VFs). Also added handling of mailbox messages from these VFs. Admin function (AF) is the only one with all priviliges to configure HW, alloc resources etc etc, PFs and it's VFs have to request AF via mbox for all their needs. But unlike PFs, their VFs cannot send a mbox request directly. A VF shares a mailbox region with it's parent PF, so VF sends a mailbox msg to PF and then PF forwards it to AF. Then AF after processing sends response to PF which it again forwards to VF. This patch adds support for this 'VF <=> PF <=> AF' mailbox communication. Signed-off-by: Tomasz Duszynski <[email protected]> Signed-off-by: Subbaraya Sundeep <[email protected]> Signed-off-by: Christina Jacob <[email protected]> Signed-off-by: Sunil Goutham <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions