cisco / joy

A package for capturing and analyzing network flow data and intraflow data, for network research, forensics, and security monitoring.
Other
1.3k stars 329 forks source link

JOY and VPP #211

Closed wli5 closed 5 years ago

wli5 commented 5 years ago

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.

bhudson33 commented 5 years ago

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 5 years ago

@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!