EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Ethernet question
From: Hinko Kocevar via Tech-talk <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 8 Jan 2020 11:24:56 +0000
Hi Mark,

seems the packets with frame errors do not show up in the application layer (i.e. to be inspected with wireshark/tcpdump). Have you tried something like this post suggests?

https://stackoverflow.com/questions/22101650/how-can-i-receive-the-wrong-ethernet-frames-and-disable-the-crc-fcs-calcul

If the 10G NIC allows rx-fcs/rx-all you might be able to get more insight as why the frames are being dropped on 10G and not on 1G.

my 2c,
Hinko
________________________________________
From: Tech-talk <[email protected]> on behalf of Mark Rivers via Tech-talk <[email protected]>
Sent: Wednesday, January 8, 2020 1:27:44 AM
To: 'Rod Nussbaumer'
Cc: [email protected]
Subject: RE: Ethernet question

Hi Rod,



Thanks for the suggestion.



This is the result of tcpdump when I run on the 1 Gbit interface:



17:51:24.319897 00:00:af:00:03:ed (oui Unknown) > 54:bf:64:66:64:fd (oui Unknown), 802.3, length 69: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x90b1), length 61:

      0x0000:  aaaa 0300 00af 90b1 f266 03af 0100 0002  .........f......

      0x0010:  54bf 6466 64fd 5461 686f 6555 3138 1d00  T.dfd.TahoeU18..

      0x0020:  0000 0000 0000 0000 0100 0601 0200 0900  ................

      0x0030:  02fc fb03 000e ff07 0000 7fff ffff ffff  ................

      0x0040:  02f2 ffff ff                             .....

17:51:24.626808 54:bf:64:66:64:fd (oui Unknown) > 00:00:af:00:03:ed (oui Unknown), 802.3, length 116: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9031), length 108:

      0x0000:  aaaa 0300 00af 9031 f266 03af 0100 0101  .......1.f......

      0x0010:  0000 0000 0000 0000 0000 0000 0000 4c00  ..............L.

      0x0020:  0000 0000 0000 0000 4400 0000 0100 1600  ........D.......

      0x0030:  2000 0000 0001 1011 2021 3031 4041 5051  .........!01@APQ

      0x0040:  6061 7071 8081 9091 a0a1 b0b1 c0c1 d0d1  `apq............

      0x0050:  e0e1 f0f1 fe7f 0000 45ca 5636 267f 0000  ........E.V6&...

      0x0060:  0031 03df fe7f 0000 2004 fc37 267f 0000  .1.........7&...

      0x0070:  0000 0000                                ....

17:51:24.680937 00:00:af:00:03:ed (oui Unknown) > 54:bf:64:66:64:fd (oui Unknown), 802.3, length 80: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9031), length 72:

      0x0000:  aaaa 0300 00af 9031 f266 03af 0100 0101  .......1.f......

      0x0010:  54bf 6466 64fd 5461 686f 6555 3138 2800  T.dfd.TahoeU18(.

      0x0020:  0000 0000 0000 0000 2000 0000 0200 0900  ................

      0x0030:  ffff ffff 02f4 02f7 ffff 02f6 ffff ffff  ................

      0x0040:  02f2 ffff ffff ffff ffff ffff ffff ffff  ................

17:51:24.688343 54:bf:64:66:64:fd (oui Unknown) > 00:00:af:00:03:ed (oui Unknown), 802.3, length 180: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9031), length 172:

      0x0000:  aaaa 0300 00af 9031 f266 03af 0100 0201  .......1.f......

      0x0010:  0000 0000 0000 0000 0000 0000 0000 8c00  ................

      0x0020:  0000 0000 0000 0000 8400 0000 0100 1500  ................

      0x0030:  0100 0000 2000 0000 0000 0000 0000 0000  ................

      0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00b0:  0000 0000                                ....

17:51:24.703064 00:00:af:00:03:ed (oui Unknown) > 54:bf:64:66:64:fd (oui Unknown), 802.3, length 48: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9031), length 56:

      0x0000:  aaaa 0300 00af 9031 f266 03af 0100 0201  .......1.f......

      0x0010:  54bf 6466 64fd 5461 686f 6555 3138 0800  T.dfd.TahoeU18..

      0x0020:  0000 0000 0000 0000 0000 0000 0200 0900  ................

      0x0030:  ffff ffff 02f4 02f7 ffff 02f6 ffff ffff  ................





I then modified the driver to sleep for 100 ms before sending each command.

This is the result when I run on the 10 Gbit interface:



18:20:32.675372 00:00:af:00:03:ed (oui Unknown) > b4:96:91:2e:0a:76 (oui Unknown), 802.3, length 69: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x90d1), length 61:

      0x0000:  aaaa 0300 00af 90d1 f266 03af 0100 0002  .........f......

      0x0010:  b496 912e 0a76 5461 686f 6555 3138 1d00  .....vTahoeU18..

      0x0020:  0000 0000 0000 0000 0100 0601 0200 0900  ................

      0x0030:  02fc fb03 00f4 02f7 ffff 02f6 ffff ffff  ................

      0x0040:  02f2 ffff ff                             .....

18:20:32.984284 b4:96:91:2e:0a:76 (oui Unknown) > 00:00:af:00:03:ed (oui Unknown), 802.3, length 116: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9051), length 108:

      0x0000:  aaaa 0300 00af 9051 f266 03af 0100 0101  .......Q.f......

      0x0010:  0000 0000 0000 0000 0000 0000 0000 4c00  ..............L.

      0x0020:  0000 0000 0000 0000 4400 0000 0100 1600  ........D.......

      0x0030:  2000 0000 0001 1011 2021 3031 4041 5051  .........!01@APQ

      0x0040:  6061 7071 8081 9091 a0a1 b0b1 c0c1 d0d1  `apq............

      0x0050:  e0e1 f0f1 fc7f 0000 454a f426 ff7e 0000  ........EJ.&.~..

      0x0060:  e0d0 6e5f fc7f 0000 2084 9928 ff7e 0000  ..n_.......(.~..

      0x0070:  0000 0000                                ....

18:20:33.039033 00:00:af:00:03:ed (oui Unknown) > b4:96:91:2e:0a:76 (oui Unknown), 802.3, length 80: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9051), length 72:

      0x0000:  aaaa 0300 00af 9051 f266 03af 0100 0101  .......Q.f......

      0x0010:  b496 912e 0a76 5461 686f 6555 3138 2800  .....vTahoeU18(.

      0x0020:  0000 0000 0000 0000 2000 0000 0200 0900  ................

      0x0030:  ffff ffff 02f4 02f7 ffff 02f6 ffff ffff  ................

      0x0040:  02f2 ffff ffff ffff ffff ffff ffff ffff  ................

18:20:33.144761 b4:96:91:2e:0a:76 (oui Unknown) > 00:00:af:00:03:ed (oui Unknown), 802.3, length 180: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9051), length 172:

      0x0000:  aaaa 0300 00af 9051 f266 03af 0100 0201  .......Q.f......

      0x0010:  0000 0000 0000 0000 0000 0000 0000 8c00  ................

      0x0020:  0000 0000 0000 0000 8400 0000 0100 1500  ................

      0x0030:  0100 0000 2000 0000 0000 0000 0000 0000  ................

      0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00b0:  0000 0000                                ....

18:20:34.145231 b4:96:91:2e:0a:76 (oui Unknown) > 00:00:af:00:03:ed (oui Unknown), 802.3, length 180: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9051), length 172:

      0x0000:  aaaa 0300 00af 9051 f266 03af 0100 0201  .......Q.f......

      0x0010:  0000 0000 0000 0000 0000 0000 0000 8c00  ................

      0x0020:  0000 0000 0000 0000 8400 0000 0100 1500  ................

      0x0030:  0100 0000 2000 0000 0000 0000 0000 0000  ................

      0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00b0:  0000 0000                                ....

18:20:35.145717 b4:96:91:2e:0a:76 (oui Unknown) > 00:00:af:00:03:ed (oui Unknown), 802.3, length 180: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown (0x9051), length 172:

      0x0000:  aaaa 0300 00af 9051 f266 03af 0100 0201  .......Q.f......

      0x0010:  0000 0000 0000 0000 0000 0000 0000 8c00  ................

      0x0020:  0000 0000 0000 0000 8400 0000 0100 1500  ................

      0x0030:  0100 0000 2000 0000 0000 0000 0000 0000  ................

      0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................

      0x00b0:  0000 0000                                ....



These are the times between the important messages:

                                   1 Gbit interface       10 Gbit interface

160 byte message to the device          0 ms                   0 ms

80 byte reply from the device        54.1 ms                54.7 ms

180 byte message to the device        7.4 ms               105.8 ms

48 byte reply from the device        14.7 ms                No reply



So increasing the time between the device reply to the first message and sending the second message by 100 ms had no effect.  The device still never replies to the second 180 byte request.



Mark





-----Original Message-----
From: Tech-talk <[email protected]> On Behalf Of Rod Nussbaumer via Tech-talk
Sent: Tuesday, January 7, 2020 1:55 PM
To: [email protected]
Subject: Re: Ethernet question



The turn-around time between the second and third packets in this exchange is 0.5ms. Have you compared the timing on the system that does work? Device '00:00:af:00:03:ed' seems to take much longer to respond to the initial packet; about 53ms.



My thinking is that on a vintage device, that might be too soon for the device to ready itself to receive or properly handle the response. Are you able to add any delays in the timing to see if that has any remedial effect? I'm wondering if the increased speed has caused to to cross some threshold that makes it impossible for an older, slower device to keep up.



    ---   rod.





On 1/1/20 10:31 AM, Mark Rivers via Tech-talk wrote:

> 11:30:18.680030 3c:fd:fe:a3:f2:58 (oui Unknown) > 00:00:af:00:03:ed

> (oui Unknown), 802.3, length 116: LLC, dsap SNAP (0xaa) Individual,

> ssap

>

> SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown

> (0x5034), length 108:





>

> 11:30:18.733989 00:00:af:00:03:ed (oui Unknown) > 3c:fd:fe:a3:f2:58

> (oui Unknown), 802.3, length 80: LLC, dsap SNAP (0xaa) Individual,

> ssap S

>

> NAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown

> (0x5034), length 72:

>





> 11:30:18.734415 3c:fd:fe:a3:f2:58 (oui Unknown) > 00:00:af:00:03:ed

> (oui Unknown), 802.3, length 180: LLC, dsap SNAP (0xaa) Individual,

> ssap

>

> SNAP (0xaa) Command, ctrl 0x03: oui Unknown (0x0000af), pid Unknown

> (0x5034), length 172:

>


Replies:
RE: Ethernet question Mark Rivers via Tech-talk
References:
RE: Ethernet question Mark Rivers via Tech-talk
RE: Ethernet question Mark Rivers via Tech-talk
Re: Ethernet question Rod Nussbaumer via Tech-talk
RE: Ethernet question Mark Rivers via Tech-talk

Navigate by Date:
Prev: "st.cmd" internal code question 최원철 via Tech-talk
Next: Re: "st.cmd" internal code question Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Ethernet question Mark Rivers via Tech-talk
Next: RE: Ethernet question Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 08 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·