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: Thu, 9 Jan 2020 09:16:17 +0000
Hi Mark,

> However this command does work to pass all packets to the higher levels, even "bad" ones.
> sudo ethtool --features enp23s0f1 rx-all on
>
> When I did that the software worked fine on the 10 Gbit adapter!  It gets the expected response and is able to parse it correctly.

Nice!

> As the IOC is running the number of RX errors and frame errors reported by Ifconfig keeps increasing.  But the IOC does not report any errors.

Hmm, interesting..

> Now we need to figure out why it thinks those packets are bad, since the content I care about seems to be fine.

I'd fire up the wireshark / tcpdump and inspect the frame checksum sequence bytes (https://en.wikipedia.org/wiki/Ethernet_frame) on 10G. It might happen that wireshark is able to color code the frame CRC as valid/invalid on-the-fly. If not, the frame can be fed into a CRC32 calculator (https://github.com/jwbensley/Ethernet-CRC32 or similar) and the obtained CRC value compared to the frame CRC value.
If they are the same (and given the same behavior of dropping frames is observed in windows, too) it could be NIC firmware that messes up the CRC calculation for your SNAP packets (Ethernet ones seem to have good CRC, AFAICT from previous messages).
Otherwise, if CRCs are in fact different, something is mangling the 10G CRC along the path to your host. No idea what could do that, TBH.

Cheers,
Hinko

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
Re: Ethernet question Hinko Kocevar via Tech-talk
RE: Ethernet question Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: EPICS release series after 7.0: 7.1 or 8.0? Ralph Lange via Tech-talk
Next: Re: CA link question Benjamin Franksen 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 J. Lewis Muir 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, 09 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·