Re: [mpls-linux-general] Problem with measure of network traffic
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2006-01-24 04:40:52
|
Are you capable of building your own kernel? If so I have submitted a possible fix for this issue. The fix is to do exactly when IPSEC and IP-IP and IP-GRE do, when a packet comes through MPLS from IPv[46] that is marked for HW checksumming, we calculate the checksum and then mark the packet at no longer needing HW checksumming. The fix is submitted to by development tree. If you need a patch instead, let me know ... On Tue, Jan 24, 2006 at 03:33:50AM +0000, guilhermemtorresbase-lista@yahoo.= com.br wrote: > Hello James, >=20 > I did some tests with different > machines/linux-distributions and the problem with TCP > traffic generally occurs with Intel 82547GI Gigabit > network card with Knoppix-MPLS distribution. This > card accepts the "ethtool -K eth0 rx/tx off" command, > but it isn?t working with TCP connections. It seems > that Knoppix don?t work very well with this card and > MPLS. >=20 > The mii-tool command works only to set the > autonegotiation speed of network cards. >=20 > Best regards >=20 >=20 >=20 >=20 > --- "James R. Leu" <jl...@mi...> escreveu: >=20 > > What driver is it? I can look in the source to see > > if it even supports > > hardware checksumming. > >=20 > > Some NIC drivers have not been converted to ethtool > > yet, try using > > mii-tool. > >=20 > > On Wed, Jan 18, 2006 at 07:22:21PM +0000, > > gui...@ya... wrote: > > > James, > > >=20 > > > if you remember, some time ago I got a similar > > problem > > > with ssh connections between MPLS machines. > > >=20 > > > I've solved this problem with the command ethtool, > > > turning off the checksum of my network card. Now, > > > everything is ok with ssh. =20 > > >=20 > > > I don't know why I'm getting the same type of > > messages > > > from tcpdump now, when I try to use Iperf.=20 > > >=20 > > > It seems that some cards don't accept the ethtool > > > command: > > >=20 > > > "Cannot set device tx csum settings: Operation not > > > supported" > > >=20 > > > I'm going to check it again > > >=20 > > > Best regards! > > >=20 > > > > There is a thread about this in the archive.=20 > > The > > > > short of it is that > > > > you probably have a NIC that does hardware > > > > checksumming, which will not > > > > work with MPLS (or any tunneling protocol). I > > have > > > > submitted code > > > > (post 1.950) that recognizes this and turns off > > > > hardware checksumming > > > > for MPLS packets. The work around for now is to > > > > disable hardware > > > > checksumming on your NICs. > > > >=20 > > > > Let me know if this does not fix your issue. > > > >=20 > > > > On Wed, Jan 18, 2006 at 05: > > >=20 > > >=20 > > > =09 > > >=20 > > >=20 > > >=20 > > > =09 > > > =09 > > > > > > _______________________________________________________ > >=20 > > > Yahoo! doce lar. Fa?a do Yahoo! sua homepage.=20 > > > http://br.yahoo.com/homepageset.html=20 > > >=20 > > >=20 > > >=20 > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do > > you grep through log files > > > for problems? Stop! Download the new AJAX search > > engine that makes > > > searching your log files as easy as surfing the=20 > > web. DOWNLOAD SPLUNK! > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > >=20 > > --=20 > > James R. Leu > > jl...@mi... > >=20 >=20 >=20 >=20 > =09 >=20 >=20 > =09 > =09 > _______________________________________________________=20 > Yahoo! doce lar. Fa?a do Yahoo! sua homepage.=20 > http://br.yahoo.com/homepageset.html=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |