[dpdk-users] Ref: testpmd command - "flow_director_filter <port_id> mode raw" - what is the use of the "packet" parameter

Joshi, Venkatesh venkatesh.joshi at hpe.com
Thu Aug 19 09:24:47 CEST 2021


Hello,

This is regarding the testpmd command - 

    "flow_director_filter (port_id) mode raw (add|del|update)"
    " flow (flow_id) (drop|fwd) queue (queue_id)"
    " fd_id (fd_id_value) packet (packet file name)\n"


An example of this command is:
# flow_director_filter 0 mode raw add flow 30 fwd queue 36 fd_id 1 packet test_proto.raw


1. What is the use of the "packet" parameter?
2. What are the typical contents of the "packet file name" file? 
     - Does it need to specify the exact values of all the fields of each header beginning from L2 header or can it use "00" to indicate don't-care bytes ?



Regards,
Venkatesh




More information about the users mailing list