<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dpdk packet processing in Embedded Intel® Core™ Processors</title>
    <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259950#M2711</link>
    <description>&lt;P&gt;Regarding your answer, is it possible to use the API to read the UDP payload of a packet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time and sorry about the beginner questions&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2013 18:45:26 GMT</pubDate>
    <dc:creator>MKour</dc:creator>
    <dc:date>2013-12-10T18:45:26Z</dc:date>
    <item>
      <title>Dpdk packet processing</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259947#M2708</link>
      <description>&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently new to the DPDK library, so my questions are a bit basic.&lt;/P&gt;&lt;P&gt;I would like to know how could someone read a received packet's data using the dpdk functions.&lt;/P&gt;&lt;P&gt;To be more specific a packet we have just captured from running the l3fwd example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time &lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 18:35:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259947#M2708</guid>
      <dc:creator>MKour</dc:creator>
      <dc:date>2013-12-04T18:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dpdk packet processing</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259948#M2709</link>
      <description>&lt;P&gt;Dear customer,&lt;/P&gt;&lt;P&gt;Thanks for using Intel(R)DPDK&lt;/P&gt;&lt;P&gt;If you see in l3fwd_simple_forward function, you will see rte_pktmbuf_mtod used.&lt;/P&gt;&lt;P&gt;Can I please request you to find if that usage is useful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, below the usage - eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For detailed information about the API, kindly refer to API Document &lt;A href="http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/intel-dpdk-api-reference.html"&gt;http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/intel-dpdk-api-reference.html&lt;/A&gt; &lt;A href="http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/intel-dpdk-api-reference.html"&gt;http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/intel-dpdk-api-reference.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l3fwd_simple_forward(struct rte_mbuf *m, uint8_t portid, struct lcore_conf *qconf)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;        struct ether_hdr *eth_hdr;&lt;/P&gt;&lt;P&gt;        struct ipv4_hdr *ipv4_hdr;&lt;/P&gt;&lt;P&gt;        void *d_addr_bytes;&lt;/P&gt;&lt;P&gt;        uint8_t dst_port;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *);&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        if (m-&amp;gt;ol_flags &amp;amp; PKT_RX_IPV4_HDR) {&lt;/P&gt;&lt;P&gt;               /* Handle IPv4 headers.*/&lt;/P&gt;&lt;P&gt;               ipv4_hdr = (struct ipv4_hdr *)(rte_pktmbuf_mtod(m, unsigned char *) +&lt;/P&gt;&lt;P&gt;                               sizeof(struct ether_hdr));&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 02:35:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259948#M2709</guid>
      <dc:creator>Muthurajan_J_Intel</dc:creator>
      <dc:date>2013-12-05T02:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dpdk packet processing</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259949#M2710</link>
      <description>&lt;P&gt;Thank you for the helpful answer. &lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2013 14:05:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259949#M2710</guid>
      <dc:creator>MKour</dc:creator>
      <dc:date>2013-12-06T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dpdk packet processing</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259950#M2711</link>
      <description>&lt;P&gt;Regarding your answer, is it possible to use the API to read the UDP payload of a packet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time and sorry about the beginner questions&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 18:45:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259950#M2711</guid>
      <dc:creator>MKour</dc:creator>
      <dc:date>2013-12-10T18:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dpdk packet processing</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259951#M2712</link>
      <description>&lt;P&gt;Dear customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DPDK offers high performance Polled mode driver and infrastructure for high performance memory allocation and pinning cores to thread.&lt;/P&gt;&lt;P&gt;UDP layer is something you can definitely develop on top of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, below find  UDP header defined as &lt;A href="http://dpdk.org/doc/api/structudp__hdr.html"&gt;http://dpdk.org/doc/api/structudp__hdr.html&lt;/A&gt; &lt;A href="http://dpdk.org/doc/api/structudp__hdr.html"&gt;http://dpdk.org/doc/api/structudp__hdr.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Also, you are familiar with the pktmbuf  [defined in]  &lt;A href="http://dpdk.org/doc/api/structrte__pktmbuf.html"&gt;http://dpdk.org/doc/api/structrte__pktmbuf.html&lt;/A&gt; &lt;A href="http://dpdk.org/doc/api/structrte__pktmbuf.html"&gt;http://dpdk.org/doc/api/structrte__pktmbuf.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the list of eco systems that provide higher level stack on top of Intel DPDK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www-ssl.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enhanced-with-software-from-intel-dpdk.html"&gt;https://www-ssl.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enhanced-with-software-from-intel-dpdk.html&lt;/A&gt; &lt;A href="https://www-ssl.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enhanced-with-software-from-intel-dpdk.html"&gt;https://www-ssl.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enhanced-with-software-from-intel-dpdk.html&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 23:22:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259951#M2712</guid>
      <dc:creator>Muthurajan_J_Intel</dc:creator>
      <dc:date>2013-12-10T23:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dpdk packet processing</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259952#M2713</link>
      <description>&lt;P&gt;By parsing the packet headers, you can access the UDP payload of course.&lt;/P&gt;&lt;P&gt;About about this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *);&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;if (m-&amp;gt;ol_flags &amp;amp; PKT_RX_IPV4_HDR) {&lt;/P&gt;&lt;P&gt;   /* Handle IPv4 headers.*/&lt;/P&gt;&lt;P&gt;   ipv4_hdr = (struct ipv4_hdr *)(rte_pktmbuf_mtod(m, unsigned char *) + sizeof(struct ether_hdr));&lt;/P&gt;&lt;P&gt;   udp_hdr = (struct udp_hdr *)(struct (ipv4_hdr + 1);&lt;/P&gt;&lt;P&gt;   udp_payload = (uint8_t *)(udp_hdr + 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2013 02:35:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259952#M2713</guid>
      <dc:creator>CChon</dc:creator>
      <dc:date>2013-12-21T02:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dpdk packet processing</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259953#M2714</link>
      <description>&lt;P&gt;That is exactly what I was looking for thank you very much for the kind answer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2013 18:32:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/Dpdk-packet-processing/m-p/259953#M2714</guid>
      <dc:creator>MKour</dc:creator>
      <dc:date>2013-12-26T18:32:00Z</dc:date>
    </item>
  </channel>
</rss>

