Embedded Intel® Core™ Processors
Communicate Intel® Core™ Hardware, Software, Firmware, Graphics Concerns

DPDK udp payload

MKour
Novice
1,991 Views

Is there a way to read a UDP's packet payload, using the native DPDK library, or a further function extension should be implemented?

Thank you for your time

0 Kudos
2 Replies
Muthurajan_J_Intel
849 Views

Dear customer,

Thank you.

Intel DPDK provides low level accleration by poll mode and huge page like infrastructure.

The top level TCP / UDP functionality, there are eco system partners who provide.

Please kindly refer http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enhanced-with-software-from-intel-dpdk.html http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enhanced-with-software-from-intel-dpdk.html for that.

(ps: You can refer on http://www.dpdk.org/doc/api/rte__udp_8h.html http://www.dpdk.org/doc/api/rte__udp_8h.html for the udp header definition.)

 

0 Kudos
CChon
Beginner
849 Views

Hi,

Even though what you need is not clear, with the DPDK api, you can get the base address the packet itself.

Then by adjusting the offset, you can access the UDP payload of course.

If you need the protocol stack, then you should solution provided by some companies such as Tieto or WindRiver.

Regards,

0 Kudos
Reply