AI Tools from Intel
Find answers to your toolkit installation, configuration, and get-started questions.

DPDK memif driver

Raghavender
Beginner
596 Views

Hi,

 

Currently dpdk memif code indicates that it can support only MEMIF_INTERFACE_MODE_ETHERNET mode.

 

Code: dpdk-20.11.1/drivers/net/memif/memif_socket.c

if (i->mode != MEMIF_INTERFACE_MODE_ETHERNET) {
memif_msg_enq_disconnect(pmd->cc,
"Only ethernet mode supported",
0);
return -1;
}

 

Is there a way memif can support pure raw buffer mode? So that pure raw buffer can be sent/received without any IP / UDP headers?

If we just allow the mode with MEMIF_INTERFACE_MODE_PUNT_INJECT, will it be able to handle raw buffer mode ? OR without IP/UDP headers the packet will be dropped by any other node from dpdk side ?

 

Can someone pls share the ideas / thoughts on this part?

Along with this is there a way we can test dpdk with memif in a standalone environment?

 

Thanks & Regards,

Raghavender.

0 Kudos
1 Reply
Sazirah
Employee
532 Views

Hi Raghavender,


Thank you for posting in Intel Ethernet Communities.


For support with DPDK we will need to redirect you.

Kindly refer to DPDK.org or open an IPS case at IPS Support

After registration, you will be able to open a case on the Intel® Premier Support (IPS) platform and your request will be handled by one of our engineers as soon as possible. 


https://www.intel.com/content/www/us/en/support/articles/000057045/ethernet-products.html


Regards,

Sazzy_Intel


0 Kudos
Reply