Hi Bill,

This is very interesting.

A couple of questions (#4 is the important one):
1) What version of VxWorks are you using?  Is this VxWorks 6.3 or
VxWorks 6.4?
2) What are the TIPC buffers set to (parameters TIPC_DATA_00064 through
TIPC_DATA_65536)?
3) I am assuming you are running over Ethernet with MTU=1500?  Or are
you using Jumbo frames?
4) When you say you get the error and the data reported by WireShark
looks OK, do you mean that the data is correctly received on the other
node just that the sender registers an error?

If the data is getting through alright to the other node, then it could
be that the buffer pool management system indicates an error for the
size you are sending but then TIPC allocates space off the heap and
continues.  Try increasing the value of TIPC_DATA_16384 which is
probably 0 right now.

Many of the values of these parameters were left at 0 since they are
fairly application dependent and any large packets will be allocated as
needed.  But if the application is constantly using large packets, then
pre-allocating them by setting the buffer parameters will be faster
overall.

Let me know how it goes.

Elmer
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Kinahan
Sent: Thursday, December 20, 2007 3:41 PM
To: [email protected]
Subject: [tipc-discussion] CLSIZE_INVALID errno

I'm running TIPC 1.5 under VxWorks. I'm seeing errno 0x730002
(S_netBufLib_CLSIZE_INVALID) when I attempt to use sendto to transmit
12524 bytes of data using a socket with a family of af_tipc, and a mode
of sock_rdm. When I look at the tipc and netStack pool show output, I do
not see anything suspicious, and the data as reported from WireShark
looks OK. I was under the assumption that I could use this approach for
sending datagrams as large as 15000 bytes. Is that not the case?

Thanks for your help,

Bill


 
________________________________________________________________________
____________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to