Jump to content

Armada-3720 pcie driver issue


lmhhj

Recommended Posts

Hi All!

 

I am verifying the function about pcie  to net port on armada-3720 ESPRESSObin. I insert 3 PCIE network cards in 3720 with PCIE bridge, connect to PC by switch. PC ping 3 net port at the same time ,but only one net port could be pinged successfully.   

     

I use the same test environment to test on the cavium's development board ,and  PC can ping 3 network cards successfully at the same time.

     

Besides, I used 3 network cards connect to 3 PC directly not by switch on 3720, and 3 PC can also ping 3 network cards successfully at the same time.

 

Through the above cross-testing, it seems that this problem will occur as long as there is some communication connection between different network cards. I think it may be related to the 3720's pcie driver and compatibility.  Is it?    

 

linux-kernel 4.14    https://github.com/MarvellEmbeddedProcessors/linux-marvell/tree/linux-4.14.76-armada-18.12

 

Link to comment
Share on other sites

Is there maybe a problem with the driver which occurs because you connect all 3 network adapters with each other (via the switch)? only logical conclusion for me, because you said connecting to all 3 with different devices works. Maybe some layer 2/3 routing problem?

Link to comment
Share on other sites

6 hours ago, count-doku said:

Is there maybe a problem with the driver which occurs because you connect all 3 network adapters with each other (via the switch)? only logical conclusion for me, because you said connecting to all 3 with different devices works. Maybe some layer 2/3 routing problem?

The network card  driver is no problem, because I test it in different device with the same network card  driver, and the route  is default. With some tests and capturing the network packet, I find that sometimes the network MSI  interrupt is no reply, so is it related to the 3720's pcie driver and compatibility when it is OK in other test device? 

Link to comment
Share on other sites

On 9/1/2020 at 11:18 PM, Pali said:

@lmhhj: Can you try 5.8 kernel? It contains lot of fixes in 3720 pcie driver. Also, if you have problems with MSI interrupts, you can try to turn them off and use just classic PCI interrupts by appending pci=nomsi into boot args.


https://github.com/armbian/build/pull/2101
its easy, "just" someone has to test and build. Then CI builds and user can upgrade hassle free.

Espressobin maintenance log for past 3 years might also tell you how things are and explain our decisions in a better light:
https://github.com/armbian/build/commits/master/config/sources/families/mvebu64.conf

https://github.com/armbian/build/commits/v19.08/config/sources/mvebu64.conf

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines