I’m writing a DPDK program that filters only udp/tcp flows using rte_flow, and then I have a queue that holds all the different packet mbufs. But I only need the packet headers, can I somehow configure the program to insert only the packet headers into the queue? Or alternately, immediately free the data portions of the mbufs on receive?
I have a Mellanox connectx 6-dx NIC.
Thanks.
While snooping in the various DPDK docs I saw there’s an option for “indirect” buffers that seperate the data from the metadata of the packet. (Mbuf library docs)
MRE:
I’m using the sample DPDK RX/TX program found in https://doc.dpdk.org/guides/sample_app_ug/rxtx_callbacks.html.
Daniel Gilkarov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.