Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Beta test: high speed raw ethernet interface based on DPDK ( 1GB Intel adapters): (3 Items)
   
Beta test: high speed raw ethernet interface based on DPDK ( 1GB Intel adapters)  
Hi,

in the attachment is a test application of the DPDK framework (dpdk.org)
working with QNX6.4 and QNX6.5.
Supported are all 1GB adapters from Intel. "testpmd" is completely
independend from the network infrastructure of QNX Neutrino.

Required is at least a dual core CPU and an 1GB Intel Ethernet adapter.

Application start for a dual core system and a single channel *I210*
adapter e.g.:  "testpmd -c 3 -n 1"

For a different Intel adapter must be specified its PCI sub device ID by
the -D switch: "testpmd -c 3 -n1 -D nnn" ("nnn" hex number w/o "0x" prefix)
The application terminates with an abort() call if the requested PCI
adapter couldn't be found ...

Start and stop of the "sniff function":
*testpmd>*set fwd rxonly
*testpmd>*start
*testpmd>*stop

Start and stop of the "UDP packet generator ":
*testpmd>*set fwd txonly
*testpmd>*start
*testpmd>*stop

The maximal number of packets/sec is limitted to 40.000 packets/sec by a
nanospin() delay of 20us.
(Slower networks creates dropped packets .. "testpmd" must be used
carefully on your own risk)

There are a lot of additional test cases included ... some are not
supported because of architectural differences between QNX6 and Linux
Only the "Link status change" interrupt is currently supported.

Please let me know if there are issues with your 1GB Intel adapter.

Regards

--Armin







 

 





Attachment: HTML sf-attachment-mime20271 2.06 KB Text testpmd-0.9.gz 256.51 KB
Re: Beta test: high speed raw ethernet interface based on DPDK ( 1GB Intel adapters)  
Steve Iribarne wrote:
> After a TON of testing and debugging the issue was that the interface wasn't "up".
>
> So after I loaded the supplicant I just do:
>
> ifconfig tiw_sta0 up
>

> and everything works.


>
> I just wanted to update.
>
>
Re: Beta test: high speed raw ethernet interface based on DPDK ( 1GB Intel adapters)  
Steve,

I used in my test scenario the original I210 board from Intel.
This board wasn't recognized and wasn't handled by the QNX 6.4.

The test utility "testpmd" sets in general the link up.

Did you disable your board by the network configuration of QNX ?
Are you using QNX6.4 or QNX6.5 ?
There seems to be a conflict in handling of the link status

Thanks a lot for your valuable response!

 Best Regards

--Armin