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