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

DPDK udp payload

MKour
Novice
1,433 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
291 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-enh... http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enh... 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.)

 

CChon
Beginner
291 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,

Reply