[dpdk-dev] PCIe Fatal Error

2013-06-25 Thread Muhammad Ali
Hi Everyone

I am using DPDK 1.3.1_7 on Fedora 14, After each time I close a DPDK
application, an Error shows up on server CLI,

"E171F PCIe Fatal Error"

Then I have to reboot my server to run the application again.

Why don't DPDK releases the NIC for normal use after Application is closed.
?

BTW I am using Dell R610 server, and PCIe is G2.

Any help will be great.

Thanks

-- 

Muhammad Ali
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://dpdk.org/ml/archives/dev/attachments/20130625/56d6c93b/attachment.html>


[dpdk-dev] using pci_alloc_consistent/dma_alloc_coherent in the PMD driver

2013-06-25 Thread somnath kotur
Hi,
   What's the best approach to go about this ? Try and roll out user space
equivalents of the above calls (to issue mailbox commands to configure the
H/W- another 10G NIC )
OR
 Use kernel memory allocated in the UIO Driver and mmap it in the
PMD/usermode driver ?

Pls advise or offer any suggestions ?

Thanks
Som
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://dpdk.org/ml/archives/dev/attachments/20130625/6cc0d55d/attachment.html>


[dpdk-dev] PCIe Fatal Error

2013-06-25 Thread Bhavesh Davda
How do you close the DPDK app? Ctrl-C or kill -9 it, or the app cleanly exits? 
It's possible DPDK is not cleaning up after itself when kill -9 ed.

Disclaimer: idle speculation without looking at sources on my phone...

- Bhavesh

(From my iPhone)


On Jun 25, 2013, at 4:58 AM, Muhammad Ali  
wrote:

> Hi Everyone
> 
> I am using DPDK 1.3.1_7 on Fedora 14, After each time I close a DPDK 
> application, an Error shows up on server CLI,
> 
> "E171F PCIe Fatal Error"
> 
> Then I have to reboot my server to run the application again.
> 
> Why don't DPDK releases the NIC for normal use after Application is closed. ?
> 
> BTW I am using Dell R610 server, and PCIe is G2.
> 
> Any help will be great.
> 
> Thanks
> 
> -- 
> 
> Muhammad Ali
> 


[dpdk-dev] PCIe Fatal Error

2013-06-25 Thread Muhammad Ali
Ctrl-C


On Tue, Jun 25, 2013 at 8:08 PM, Bhavesh Davda  wrote:

> How do you close the DPDK app? Ctrl-C or kill -9 it, or the app cleanly
> exits? It's possible DPDK is not cleaning up after itself when kill -9 ed.
>
> Disclaimer: idle speculation without looking at sources on my phone...
>
> - Bhavesh
>
> (From my iPhone)
>
>
> On Jun 25, 2013, at 4:58 AM, Muhammad Ali 
> wrote:
>
> > Hi Everyone
> >
> > I am using DPDK 1.3.1_7 on Fedora 14, After each time I close a DPDK
> application, an Error shows up on server CLI,
> >
> > "E171F PCIe Fatal Error"
> >
> > Then I have to reboot my server to run the application again.
> >
> > Why don't DPDK releases the NIC for normal use after Application is
> closed. ?
> >
> > BTW I am using Dell R610 server, and PCIe is G2.
> >
> > Any help will be great.
> >
> > Thanks
> >
> > --
> >
> > Muhammad Ali
> >
>



-- 


Muhammad Ali
Software Development Engineer
xFlow Research Inc. <http://www.xflowresearch.com/>
+92-323-965-4043 (GMT +5)
*Skype: *ali.wcct

This electronic message transmission contains information from the company
that may be proprietary, confidential and/or privileged.  The information
is intended only for the use of the individuals or entity named above.  If
you are not the intended recipient, be aware that any disclosure, copying
or distribution or use of the contents of this information is prohibited.
 If you have received this electronic transmission in error, please notify
the sender immediately by replying to the address listed in the ?From:?
field.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://dpdk.org/ml/archives/dev/attachments/20130625/31e8ba10/attachment.html>


[dpdk-dev] L2/L3 FWD App

2013-06-25 Thread Farrukh Aftab Khan
Hi,

I am a newbie at DPDK, just trying to get some basic applications to run to
understand it. One of the apps that I have been trying to run is provided
with the source code i.e. L3 FWD App. Are there any changes which I should
be hard coding in the file for it to work?

>From what I understand, I have to hard code a rule for LPM (,
depth/subnet, output interface) in "ipv4_l3fwd_route_array". The
destination IP is matched with the destination IP field of the incoming
packet and the output port refers to the NIC port itself. I have tried
running this application this way, but I do not see any packets being
forwarded to my receiver.

Are there any other changes I need to make?
I am using Ostinato as the traffic generator. I am generating ICMP packets
with dst_MAC=MAC address of the NIC port.

Any help or heads up would be appreciated, thanks.
Best regards

-
Farrukh Aftab Khan
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://dpdk.org/ml/archives/dev/attachments/20130625/ae0ae449/attachment.html>


[dpdk-dev] Get 2 ports out of 1 NIC?

2013-06-25 Thread Peter Chen
Hi, is there a way to get 2 ports out of one NIC? I have an Intel 82598.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://dpdk.org/ml/archives/dev/attachments/20130625/f35efce0/attachment.html>