Relative Content

Tag Archive for cdpdk

DPDK get only packet headers and discard data mbuf

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?