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

DPDK udp payload

MKour
新手
2,555 次查看

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 项奖励
2 回复数
Muthurajan_J_Intel
1,413 次查看

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 项奖励
CChon
初学者
1,413 次查看

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 项奖励
回复