DPDK usage discussions
 help / color / mirror / Atom feed
From: "Joshi, Venkatesh" <venkatesh.joshi@hpe.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Ref: testpmd command - "flow_director_filter <port_id> mode raw" - what is the use of the "packet" parameter
Date: Thu, 19 Aug 2021 07:24:47 +0000	[thread overview]
Message-ID: <TU4PR8401MB0479992D1A2520B44B55981CECC09@TU4PR8401MB0479.NAMPRD84.PROD.OUTLOOK.COM> (raw)

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



                 reply	other threads:[~2021-08-19  7:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TU4PR8401MB0479992D1A2520B44B55981CECC09@TU4PR8401MB0479.NAMPRD84.PROD.OUTLOOK.COM \
    --to=venkatesh.joshi@hpe.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).