Page MenuHomeFreeBSD

stephan.dewt_yahoo.co.uk (Stephan de Wit)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 22 2020, 6:36 AM (9 w, 3 d)

Recent Activity

Oct 9 2020

stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

Hi Rajesh,

In my setup, port_mode is SFP, and sfp_base is XGBE_SFP_BASE_10000_SR, where auto-negotiation is disabled. But I still see the same behavior. From earlier logs, your port mode is also SFP, but not sure about sfp_base and whether Auto-negotiation is enabled. Can you please check that (enabling verbose logs during hotplug would give that info)? It would be good if you can share a verbose log capture from your setup (starting from driver load).

Of course, here are the relevant hotplug logs:

Oct 9 2020, 10:14 AM
stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

Hi Rajesh,

Regarding the port0 - port1 direct connection back-to-back. I just did a quick test in my setup here. I couldn't see the toggling issue. As expected, both side link goes down when I pull the cable/SFP module just one side and coming up. But thanks for bringing this, let me do some more testing to see the problem.

Keep in mind that this test was performed using a fiber connection. Using an SFP module with a copper cable (RJ45) produces a different result: only one port establishes a link, the other port does not, this does not seem to change over time.

Oct 9 2020, 7:33 AM

Oct 7 2020

stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

Hello Rajesh,

Regarding the link issue you are facing, can you try setting "an_cdr_workaround = 0" in if_axgbe_pci.c in appropriate version and give a try?

Unfortunately, this does not seem to fix the issue.

Oct 7 2020, 1:53 PM

Sep 30 2020

stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

Hi Rajesh,

Unfortunately, I couldn't do the hotplug test until Oct 5th with my remote setup as mentioned before. Sorry about that. I will do my hotplug testing next week and see whether I can recreate the problem. Until then, I will see if I can recreate the problem somehow.

That's no problem at all. The link issue is indeed hotplug-related. I will also continue to see if I can recreate the problem. I suspect that it is a timing issue, so I'm logging everything to see if I can find the issue.

Sep 30 2020, 3:12 PM

Sep 29 2020

stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

Hi Rajesh, apologies for the late reply.

Just to make sure on my understanding. By link issue, you just mean the delay of more than 30 secs for Link UP? Or delayed link up + link not coming up intermittently? Just wanted to make sure whether you see link not coming up issue after you fix the EEPROM read issue.

I mean the delayed link up + link not coming up intermittently.

Sep 29 2020, 10:15 AM

Sep 25 2020

stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

So, with the increased timeout I believe you are not seeing EERPOM read issue and link always coming up. But, are you still facing the delays in link up often? Is it blocking your progress by anyway?

The increased timeout indeed eliminates the issue of reading the EEPROM. I don't think this has anything to do with the link issue, as there is (as far as I know) a service timer that executes every second to see if any signals have changed, it then proceeds to read the EEPROM again, regardless of whether the module has changed. We should not see a Link UP after 30 seconds or more (or never) if the service timer executes every second. Could this have something to do with the integration with iflib? My suspicion comes from the fact that the "Link UP" message comes from iflib.
By the way, I also applied the logic analyzer to the Linux driver and saw the exact same results, except no EEPROM read fail....

Sep 25 2020, 12:15 PM
stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

Regarding the following statement, Does it mean the Link doesn't come up at all? or It takes some delay to come up?

Frequently, the link does not seem to be established (or at least, not right away).

Sep 25 2020, 7:09 AM

Sep 24 2020

stephan.dewt_yahoo.co.uk added inline comments to D25793: 10Gigabit Ethernet driver for AMD SoC.
Sep 24 2020, 12:38 PM
stephan.dewt_yahoo.co.uk added a comment to D25793: 10Gigabit Ethernet driver for AMD SoC.

Hi Rajesh,

Sep 24 2020, 10:08 AM