numam-dpdk/drivers/net/nfp
Alejandro Lucero 29a62d1476 net/nfp: add CPP bridge as service
The Netronome's Network Flow Processor chip is highly programmable
with the goal of processing packets at high speed. Processing units
and other chip components are available from the host through the
PCIe CPP(Command Push Pull bus) interface. The NFP PF PMD configures
a CPP handler for setting up and working with vNICs, perform actions
like link up or down, or accessing extended stats from the MAC component.

There exist NFP host tools which access the NFP components for
programming and debugging but they require the CPP interface. When the
PMD is bound to the PF, the DPDK app owns the CPP interface, so these
host tools can not access the NFP through other means like NFP kernel
drivers.

This patch adds a CPP bridge using the rte_service API which can be
enabled by a DPDK app. Interestingly, DPDK clients like OVS will not
enable specific service cores, but this can be performed with a
secondary process specifically enabling this CPP bridge service and
therefore giving access to the NFP to those host tools.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
2019-01-14 22:57:33 +01:00
..
nfpcore net/nfp: support multiprocess 2018-12-13 17:53:50 +00:00
Makefile net/nfp: check hugepage IOVA based on DMA mask 2018-10-28 22:06:51 +01:00
meson.build net/nfp: check hugepage IOVA based on DMA mask 2018-10-28 22:06:51 +01:00
nfp_net_ctrl.h net/nfp: support MAC address change 2018-04-27 15:54:55 +01:00
nfp_net_logs.h net/nfp: add CPP bridge as service 2019-01-14 22:57:33 +01:00
nfp_net_pmd.h net/nfp: add CPP bridge as service 2019-01-14 22:57:33 +01:00
nfp_net.c net/nfp: add CPP bridge as service 2019-01-14 22:57:33 +01:00
rte_pmd_nfp_version.map nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00