[dpdk-dev] Question regarding PMDs

2013-07-31 Thread Stephen Hemminger
On Wed, 31 Jul 2013 14:23:40 -0700 Patrick Mahan wrote: > Okay, I wadding into the process of writing a poll-mode driver for DPDK. > > First question, is the use of the UIO device a requirement (outside of the > need for interrupt support) since it is possible to map the PCI bars via > /dev/m

[dpdk-dev] Question regarding PMDs

2013-07-31 Thread Patrick Mahan
Okay, I wadding into the process of writing a poll-mode driver for DPDK. First question, is the use of the UIO device a requirement (outside of the need for interrupt support) since it is possible to map the PCI bars via /dev/mem? Second question, is it expected that the NIC hardware would alre

[dpdk-dev] l2fwd-vf application

2013-07-31 Thread Thomas Monjalon
Hello, 31/07/2013 09:29, Jayakumar Satri : >Just started experimenting with the dpdk. Working with > dpdk-1.2.3r4. I was running the l2fwd-vf application using virtual box. I > got the following error. > > ?Cause: No Ethernet port ? bye? You are trying to use a VF driver. Is virtual

[dpdk-dev] [PATCH] mem: fix include in rte_malloc

2013-07-31 Thread Thomas Monjalon
31/07/2013 13:36, didier.pallard : > On 07/31/2013 11:18 AM, Thomas Monjalon wrote: > > The function rte_malloc_virt2phy has a dependency on rte_memory.h: > > phys_addr_t must be defined. > > > > The dependency handling for apps was wrong in the commit 8c86825cbf. > > Let's revert this part. > >

[dpdk-dev] [PATCH] mem: fix include in rte_malloc

2013-07-31 Thread didier.pallard
On 07/31/2013 11:18 AM, Thomas Monjalon wrote: > The function rte_malloc_virt2phy has a dependency on rte_memory.h: > phys_addr_t must be defined. > > The dependency handling for apps was wrong in the commit 8c86825cbf. > Let's revert this part. > > Reported-by: Jia Sui > Signed-off-by: Thomas Mon

[dpdk-dev] l2fwd-vf application

2013-07-31 Thread Jayakumar Satri
in Tech Mahindra. -- next part -- An HTML attachment was scrubbed... URL: <http://dpdk.org/ml/archives/dev/attachments/20130731/0dd20584/attachment.html>

[dpdk-dev] [PATCH] mem: fix include in rte_malloc

2013-07-31 Thread Thomas Monjalon
The function rte_malloc_virt2phy has a dependency on rte_memory.h: phys_addr_t must be defined. The dependency handling for apps was wrong in the commit 8c86825cbf. Let's revert this part. Reported-by: Jia Sui Signed-off-by: Thomas Monjalon --- app/test/test_hash.c |2 +- app/tes

[dpdk-dev] miss include file in DPDK 1.3.1r2

2013-07-31 Thread Jia.Sui(贾睢)
Hi All, In DPDK 1.3.1r2, When I include 'rte_malloc.h' in my app, and then compile it Will cause this issue: /root/dpdk/x86_64-default-linuxapp-gcc/include/rte_malloc.h:333: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?rte_malloc_virt2phy? It looks it miss the definition of 'p