Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - io-pkt-v4 and MTU change: (13 Items)
   
io-pkt-v4 and MTU change  
Hello,
I have project where I am using jumbo frames for communication with GigE Digital Cameras.
For this reason I installed patch-632-CE-CN-Milestone-Fn under QNX 632. Using this patch I am modifying the MTU by 
command:"ifconfig wm0 mtu 9000".
In QNX 632 this works fine,
Recently I installed QNX 641 on the same hardware, but the command above fails with message: "ifconfig: SIOCSIFMTU: 
Invalid argument", although it is supposed to work.
The chipset used is Intel 82573L, and I am starting io-pkt with:

io-pkt-v4 -di82544 -pqnet tx_retries=1 periodic_ticks=10
waitfor /dev/socket
ifconfig wm0 ip4csum tcp4csum udp4csum
ifconfig wm0 mtu 9000
ifconfig wm0 10.0.0.1

Driver used is: devnp-i82544.so

Why in QNX6.4.1 MTU modification does not work?
Re: io-pkt-v4 and MTU change  
I have no solution for you, but you can at some point consider using 
options *pagesize* and *mclbytes* for performance reasons:

http://www.qnx.com/developers/docs/6.4.1/io-pkt_en/user_guide/drivers.html#Jumbo

/P
Re: io-pkt-v4 and MTU change  
Unfortunately that does not help me.
Without Jumbo Frame support( MTU>= 9000 ) the frame rate will be too slow, which is unacceptable for the project. 
I will have to stick with QNX 6.3.2 ?!?!
Re: io-pkt-v4 and MTU change  
Hi again,

Just to clarify. Jumbo packets work fine in 6.4.

Sorry, I don't know why you're having problems. My previous note was 
simply to say that you can further optimize performance of jumbo packets 
using pagesize and mclbytes options.

Perhaps you could provide more details and maybe someone will be able to 
help you?

Cheers!
/P

Kostadin Vardin wrote:
> Unfortunately that does not help me.
> Without Jumbo Frame support( MTU>= 9000 ) the frame rate will be too slow, which is unacceptable for the project. 
> I will have to stick with QNX 6.3.2 ?!?!
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post39797
>
>   

Re: io-pkt-v4 and MTU change  
Please find attached the scripts I am using to start io-pkt, and to setup the MTU.
I am providing separate scripts for QNX 632 and QNX641.
Accordingly see nicinfo printout after the the stack has been started.
You will see that in QNX641 MTU has not been changed at all, and I am providing the file mount_io_pkt_report_qnx641.txt 
with the error message of the stack, when trying to set MTU in QNX641.
Hope this is enough info?!?
Attachment: Text jumbo_641.tgz 1.28 KB
Re: io-pkt-v4 and MTU change  
Looks like the file attached was not properly transferred.
I am trying again
Attachment: Text jumbo_641.tgz 1.28 KB
Re: io-pkt-v4 and MTU change  
Failed again.
Will attach separately all of the files.
Attachment: Text mount_io_pkt_qnx632.sh 603 bytes
Re: io-pkt-v4 and MTU change  
next
Attachment: Text mount_io_pkt_qnx641.sh 325 bytes
Re: io-pkt-v4 and MTU change  
next
Attachment: Text mount_io_pkt_report_qnx641.txt 80 bytes
Re: io-pkt-v4 and MTU change  
next
Attachment: Text nicinfo_qnx632.txt 3.66 KB
Re: io-pkt-v4 and MTU change  
end of files
Attachment: Text nicinfo_qnx641.txt 3.64 KB
Re: io-pkt-v4 and MTU change  
Hello again,
I do not know why, but after I loaded qnxbasesmp.ifs image, which uses DMA, finally I was able to setup MTU to 9000 in 
QNX 641.
Strange, but works!!!
Re: io-pkt-v4 and MTU change  
I left enum-devices to decide which driver to be started. 
QNX641 started devnp-e1000.so, instead devnp-i82544.so( as I am using in QNX632 ).
Having e1000 driver started I was able to modify MTU to 9000!!!
Bingo.

End of trouble!