net/nfp: add NSP user space interface
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Fri, 1 Sep 2017 14:12:04 +0000 (15:12 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commitd12206e005904c693a16e70952098769694660f0
tree90da70f60103c5bec7e64c12b08c796d1f0baccb
parentc0b865d4717d85138f716d42ca186672b060f166
net/nfp: add NSP user space interface

Working with the PF requires access to the NFP for basic configuration.
NSP is the NFP Service Processor helping with hardware and firmware
configuration. NSPU is the NSP user space interface for working with the
NSP.

Configuration through NSPU allows to create PCI BAR windows for accessing
different NFP hardware units, including the BAR window for the NSPU
interface access itself. NFP expansion bar registers are used for creating
those PCI BAR windows. NSPU uses a specific expansion bar which is
reprogrammed for accessing/doing different things.

Other expansion bars will be configured later for configuring the PF vNIC
bars, a subset of PF PCI BARs.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/Makefile
drivers/net/nfp/nfp_nfpu.c [new file with mode: 0644]
drivers/net/nfp/nfp_nfpu.h [new file with mode: 0644]
drivers/net/nfp/nfp_nspu.c [new file with mode: 0644]
drivers/net/nfp/nfp_nspu.h [new file with mode: 0644]