net/thunderx/base: add mailbox for PF/VF communication
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 17 Jun 2016 13:29:31 +0000 (18:59 +0530)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 20 Jun 2016 15:21:53 +0000 (17:21 +0200)
commit966e225c2396f97f8a51ae7ba4553ec637f76733
tree7dff6737cc6e62dddddce269e195a495384e0bd8
parent899550e29164250e8a9d210293fe9e4c46804239
net/thunderx/base: add mailbox for PF/VF communication

DPDK nicvf driver doesn't have access to NIC's PF address space.
Introduce a mailbox mechanism to communicate with PF driver through
shared 128bit register interface.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Maciej Czekaj <maciej.czekaj@caviumnetworks.com>
Signed-off-by: Kamil Rytarowski <kamil.rytarowski@caviumnetworks.com>
Signed-off-by: Zyta Szpak <zyta.szpak@semihalf.com>
Signed-off-by: Slawomir Rosek <slawomir.rosek@semihalf.com>
Signed-off-by: Radoslaw Biernacki <rad@semihalf.com>
drivers/net/thunderx/base/nicvf_mbox.c [new file with mode: 0644]
drivers/net/thunderx/base/nicvf_mbox.h [new file with mode: 0644]
drivers/net/thunderx/base/nicvf_plat.h