FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
This plugins provides native device support for Marvell PP2 network device, by use of Marvell Usermode SDK (MUSDK). Code is developed and tested on MACCHIATObin board.
Plugins depends on installed MUSDK and Marvell provided linux kernel with MUSDK provided kernel patches (see patches/linux
in musdk repo and relevant documentation. Kernel version used: 4.14.22 armada-18.09.3 MUSDK version used: armada-18.09.3 Following kernel modules from MUSDK must be loaded for plugin to work:
musdk_cma.ko
mv_pp_uio.ko
Interfaces are dynamically created with following CLI:
Where eth0
is linux interface name and mv-ppio-X/Y
is VPP interface name where X is PP2 device ID and Y is PPIO ID Interface needs to be assigned to MUSDK in FDT configuration and linux interface state must be up.
Interface can be deleted with following CLI:
Interface statistics can be displayed with sh hardware-interface mv-ppio0/0
command.
This plugin doesn't have any dependency on DPDK or DPDK plugin but it can work with DPDK plugin enabled or disabled. It is observed that performace is better around 30% when DPDK plugin is disabled, as DPDK plugin registers own buffer manager, which needs to deal with additional metadata in each packet.
DPKD plugin can be disabled by adding following config to the startup.conf.