On Tue, Aug 28, 2018, at 20:32, Navdeep Parhar wrote: > On 8/28/18 11:27 AM, Marius Halden wrote: > > On Tue, Aug 28, 2018, at 20:06, Navdeep Parhar wrote: > >> On 8/28/18 2:35 AM, Marius Halden wrote: > >>> ... > >>> media: Ethernet 1000baseSX <full-duplex,rxpause,txpause> > >>> status: active > >>> supported media: > >>> media 1000baseSX mediaopt full-duplex,rxpause,txpause > >>> media 1000baseSX mediaopt full-duplex,rxpause > >>> media 1000baseSX mediaopt full-duplex,txpause > >>> media 1000baseSX mediaopt full-duplex > >>> plugged: SFP/SFP+/SFP28 1000BASE-LX (LC) > >> > >> This shows that the SFP+ is recognized properly and the link is up > >> (active). Can you please provide the outputs of ifconfig and sysctl > >> from when the system is in the problem state, when the link doesn't come > >> up? > > > > This is from when it's in the problem state. According to ifconfig there is > > link and everything looks fine to me, but it doesn't seem to pass any > > traffic through the interface at all. > > > > Try passing some network traffic through the interface and look at > before/after state of the MAC counters in sysctl dev.cxl.0.stats. Do > you see the tx_frames/rx_frames counter move at all?
tx_frames does move, rx_frames is stuck at zero. The following counters are non-zero and does increase when traffic is sent through the interface, all other are stuck at zero: dev.cxl.0.stats.tx_frames_65_127: 26083 dev.cxl.0.stats.tx_frames_64: 4084 dev.cxl.0.stats.tx_mcast_frames: 26083 dev.cxl.0.stats.tx_bcast_frames: 4084 dev.cxl.0.stats.tx_frames: 30167 dev.cxl.0.stats.tx_octets: 2608846 Anything else I should look at? -- Marius Halden _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"