cisco/joy

JOY and VPP

wli5 opened this issue · 2 comments

wli5 commented

Quick question - does anybody know how to make use of VPP in Joy? Is there any doc on this?

I just saw a line in the release notes in release-3.0.0 highlight the VPP integration but no any more info found:

Implemented a Vector Packet Processing integration scheme to utilize VPP native infrastructure when building that integration.

The integration with VPP was more a proof of concept (POC). In file src/include/joy_api_private.h you will see conditional code for vector memory routines instead of the standard c library routines. This was the extent of the integration we have done. Essentially, VPP built JOY as a plug-in for the packet processor. JOY utilized some of the VPP memory routines for efficiency. We tested it out and made sure things worked as expected, but nothing more. There is a lot more effort that needs to be done but this was just a proof of concept without any dedicated resources. The results of this POC told us that integration was possible, not that difficult and we could expect significant gains in packet processing thanks to VPP.

wli5 commented

@bhudson33 thank you for your quick reply!

Do I need make any changes in VPP if I want to use Joy as a plug-in in VPP? Are there any steps which I can follow? Thanks!