[dpdk-dev] hardware neutral driver for DPDK

2014-03-06 Thread Vincent JARDIN
librte_pmd_pcap http://dpdk.org/browse/dpdk/tree/lib/librte_pmd_pcap On 06/03/2014 22:25, Neil Horman wrote: > Hey there- > I'm interested in doing some work on the DPDK, specifically in creating > a driver backend that interfaces to the kernel using AF_PACKET rather than a > specific car

[dpdk-dev] hardware neutral driver for DPDK

2014-03-06 Thread Neil Horman
On Thu, Mar 06, 2014 at 10:26:21PM +0100, Vincent JARDIN wrote: > librte_pmd_pcap > http://dpdk.org/browse/dpdk/tree/lib/librte_pmd_pcap > Perfect, thanks! Neil > On 06/03/2014 22:25, Neil Horman wrote: > >Hey there- > > I'm interested in doing some work on the DPDK, specifically in creatin

[dpdk-dev] hardware neutral driver for DPDK

2014-03-06 Thread Neil Horman
Hey there- I'm interested in doing some work on the DPDK, specifically in creating a driver backend that interfaces to the kernel using AF_PACKET rather than a specific card for which a UIO or VFIO driver is available in kernel. I think it would be nice for the DPDK to have a hardware agno

[dpdk-dev] kni: error building with kernel < 3.3 and ether_addr_equal backport

2014-03-06 Thread Patrick McGleenon
Hello David Good point - I only compiled it on RHEL 6.4. If you remove the typedefs it should compile on the later kernel thanks Patrick

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-06 Thread Prashant Upadhyaya
And if it is any help, here is the startup log -- EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Detected lcore 3 as core 3 on socket 0 EAL: Detected lcore 4 as core 4 on socket 0 EAL: Detected lcore 5 as cor

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-06 Thread Prashant Upadhyaya
Hi, Some further update on the crash I am facing. I am using DPDK1.6.0r1 and take over the vmxnet3 with igb_uio and then start the application. (so no external ko or vmxnet usermap etc.) During the port initializations, the crash is happening in the following function - eth_vmxnet3_dev_init an

[dpdk-dev] Error building using 1.6.0r1

2014-03-06 Thread Mats Liljegren
On 02/28/2014 11:20 AM, Mats Liljegren wrote: > On 02/28/2014 09:47 AM, Mats Liljegren wrote: >> On Fri, Feb 28, 2014 at 9:11 AM, David Marchand >> wrote: >>> Hello Mats, >>> >>> I reproduced the problem (and another one). >>> I will send two patches in a few minutes, can you try them ? >>> >>> >>

[dpdk-dev] [PATCH] pcap: revert build patches

2014-03-06 Thread David Marchand
This reverts commit a0cdfcf936bcccd15d08a22c9cf38013b6859ad2, ef5b2363627dadacfee7da6ee0c7d1c2b40a30db and 60191b8919ef630a0fd50c32a734dd04802ccbfc . These patches are creating more problems than solving the initial one (which was a build error with too old pcap libraries). Since old pcap librabri

[dpdk-dev] Pcap question

2014-03-06 Thread David Marchand
Hello Mats, Meir, On Thu, Mar 6, 2014 at 10:00 AM, wrote: > > > I had this problem a couple of months ago, and tracked it down to a > check for a macro named pcap_sendpacket. I didn't have this macro, but > it is a function, so I simply removed the check and got things > working. > I thought I me

[dpdk-dev] [PATCH] pcap: Remove check for pcap_sendpacket

2014-03-06 Thread liljegren.ma...@gmail.com
From: Mats Liljegren Current test relies on the fact that pcap_sendpacket is a macro. Since it is a function, the test fails, causing loss of sending ability when using pcap. Signed-off-by: Mats Liljegren --- lib/librte_pmd_pcap/rte_eth_pcap.h |4 1 file changed, 4 deletions(-) diff

[dpdk-dev] Pcap question

2014-03-06 Thread liljegren.ma...@gmail.com
> I guess something is still wrong: > testpmd application is reporting "PMD: pcap library cannot send packets, > please rebuild with a more up to date libpcap" message when I try creating > a bridge between two network cards. > I am more than sure that older version of pcap is not installed: > c