<div dir="ltr">Hi Junxiao,<br><div><br></div><div>Thanks, I will try it.</div><div><br></div><div>best regards.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 14, 2021 at 8:37 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi Marwa</div><div><ol><li>You need to have an Ethernet adapter listed in <a href="https://doc.dpdk.org/guides/nics/index.html" target="_blank">https://doc.dpdk.org/guides/nics/index.html</a> .<br></li><li>Go to <a href="https://github.com/usnistgov/ndn-dpdk" target="_blank">https://github.com/usnistgov/ndn-dpdk</a> and get the software installed. There's a docs/ndndpdk-depends.sh script to help with dependency installation on Debian 10 or Ubuntu 18 or Ubuntu 20.</li><li>Setup 8GB of hugepages in each NUMA socket.</li><li>Use dpdk-devbind.py script to select a DPDK-compatible PCI driver for the Ethernet adapter. See <a href="https://doc.dpdk.org/guides/nics/index.html" target="_blank">https://doc.dpdk.org/guides/nics/index.html</a> on the page specific to your hardware to learn which driver you need; most commonly, it's igb_uio for Intel, mlx5 for Mellanox, and uio_pci_generic for other brands.</li><li>Start the ndndpdk-svc service via systemd.</li><li>Activate the traffic generator using the command below. You need to edit the PCI address and the MAC addresses. See /usr/local/share/ndn-dpdk/trafficgen.schema.json for a schema of the JSON document.<br></li></ol></div><div><span style="font-family:monospace">echo '{<br>  "eal": {<br>    "pciDevices": [<br>      "04:00.0"<br>    ]<br>  },<br>  "tasks": [<br>    {<br>      "face": {<br>        "scheme": "ether",<br>        "local": "2a:ce:b0:28:59:c3",<br>        "remote": "4e:b9:fb:dc:ab:65"<br>      },<br>      "consumer": {<br>        "patterns": [<br>          {<br>            "prefix": "/P/0",<br>            "mustBeFresh": true<br>          }<br>        ],<br>        "interval": 1000<br>      }<br>    }<br>  ]<br>}' | ndndpdk-ctrl activate-trafficgen</span><br></div><div><br></div><div>Yours, Junxiao<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 14, 2021 at 11:57 AM marwa kareem <<a href="mailto:m.kareem1305@coeng.uobaghdad.edu.iq" target="_blank">m.kareem1305@coeng.uobaghdad.edu.iq</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><b>External Email</b><br></font></p><div dir="auto">Thank you junxiao for your hard work<div dir="auto"><br><div dir="auto">Is there any tutorial on how to use ndn-dpdk?</div><div dir="auto"><br></div><div dir="auto">Marwa,</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">في أحد، ١٤ فبراير، ٢٠٢١ ٥:٣٩ م Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> كتب:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Marwa</div><div dir="auto"><br></div><div dir="auto">NDN-DPDK traffic generator can craft such packets at 1 Mpps speed.</div><div dir="auto"><br></div><div dir="auto">ndnping + NFD with a route pointing to an Ethernet face can also do that but it can only do 1 Kpps speed.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 14, 2021 at 08:37 marwa kareem <<a href="mailto:m.kareem1305@coeng.uobaghdad.edu.iq" rel="noreferrer" target="_blank">m.kareem1305@coeng.uobaghdad.edu.iq</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><b>External Email</b><br></font></p><div dir="ltr">hello ndn team ,<div><br></div><div>I want to know if there are any ndn traffic generator apps that generate interest packets with only mac header+ ndn header without the udp/ip header.</div><div><br></div><div>If not, is there any  way to apply some changes on the tool to accomplish that?</div><div><br></div><div><br></div></div></blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>