14 Replies Latest reply on Apr 13, 2018 3:35 PM by Carlos_A

    disable autonegotiation with igb

    ranchu Green Belt

      Hello,

       

      I am using igb driver:

      user@user-VirtualBox:/media/yocto4/kontron/buildroot-2017.08$ cat output/build/linux-4.10.17/.config | grep IGB

      CONFIG_IGB=y

      CONFIG_IGB_HWMON=y

      CONFIG_IGBVF=y

      user@user-VirtualBox:/media/yocto4/kontron/build

       

      But every boot is takes a lot of time till ethernet is ready.

      We tried to disable auto negotiation, but nothing helped:

       

      adapter->fc_autoneg = false;

      hw->mac.autoneg = false;

      hw->phy.autoneg_advertised = 0;

       

      We tried this support in the past, but there was no real assistance with this issue,

       

      Is there anyone in Intel who knows how to disable auto-negotiation ? Why is it so complex to disable auto negotiation in driver ?

       

      Regards,

      ran

        • Re: disable autonegotiation with igb
          AdolfoS Brown Belt

          Hello, ranchu,

           

          This topic was labelled as a discussion rather than a question so it wasn't noticed until now, please accept our apologies.

           

          I will consult this with our contact related to I210 to see if they have any advice for your issue.

           

          Best regards,

          Adolfo Sanchez

            • Re: disable autonegotiation with igb
              ranchu Green Belt

              Hi Adolfo,

               

              Thank you for the update, I'll wait for your response.

               

              Regards,

              Ranchu

              • Re: disable autonegotiation with igb
                Carlos_A Brown Belt

                Hello, ranchu:

                 

                In order to be on the same page, could you please tell us if the situation is related to a design developed by you or a third party one? In case that it is a third party one, could you please give us all the information related to it? Or if it is your own design, could you please tell us if it has been reviewed by Intel?

                 

                Thanks in advance for your reply.

                 

                Best regards,

                Carlos_A.

                  • Re: disable autonegotiation with igb
                    ranchu Green Belt

                    Hi Carlos,

                     

                    We use kontron come-mbt10, with kontron jig,

                    (This is not our design )

                     

                    Best Regards,

                    Ran

                      • Re: disable autonegotiation with igb
                        Carlos_A Brown Belt

                        Hello, ranchu:

                         

                        Thanks for your update.

                         

                        We would like to help you with your consultations related to any third-party device, but we suggest you contact their manufacturers to obtain the proper information.

                         

                        In this case as a reference please address your questions to the channels listed on the following website:

                         

                        https://www.kontron.com/about-kontron/company-overview/contact-us/forms/contact-support

                         

                        We hope that this information may help you.

                         

                        Best regards,

                        Carlos_A.

                          • Re: disable autonegotiation with igb
                            ranchu Green Belt

                            Hello,

                             

                            We have contacted them 2 weeks ago, and they told us that they don't support Intel issues.

                            So, I understand there won't be any support or assistance for this issue, in any direction ? .....

                             

                            Regards,

                            Ran

                              • Re: disable autonegotiation with igb
                                Carlos_A Brown Belt

                                Hello, ranchu:

                                 

                                Thanks for your reply.

                                 

                                We can give you information that may help you but only the manufacturer can confirm you if it is valid for their devices or can give you the proper information for their products.

                                 

                                In order to better understand this situation, could you please tell us where do you obtain the cited driver?

                                 

                                Waiting for your reply.

                                 

                                Best regards,

                                Carlos_A .

                                  • Re: disable autonegotiation with igb
                                    ranchu Green Belt

                                    Hello Carlos,

                                     

                                    We have tried to contact manufacturer (Kontron), yet they did not have any additional information to give us or assist regarding Intel's i210.

                                    There is DS for  come-mbt10 here:

                                    https://www.kontron.com/downloads/datasheets/datasheet_come-mbt10.pdf

                                     

                                    Best Regards,

                                    Ran

                                      • Re: disable autonegotiation with igb
                                        Carlos_A Brown Belt

                                        Hello, ranchu:

                                         

                                        Thanks for your update.

                                         

                                        In order to be on the same page, could you please let us know NIC or LOM (MM# of card or ETID of LOM nvm image), the type of connection (SERDES, copper, SGMII), Operating System [OS] (base and VM), and driver version?

                                         

                                        Waiting for your rely top our previous question.

                                         

                                        Best regards,

                                        Carlos_A.

                                          • Re: disable autonegotiation with igb
                                            ranchu Green Belt

                                            Hello,

                                             

                                            Igb driver: version 5.4.0

                                            addition info (from previosuly attached dmesg):

                                            [    1.898789] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k

                                            [    1.898790] igb: Copyright (c) 2007-2014 Intel Corporation.

                                            [    1.926430] igb 0000:03:00.0: added PHC on eth0

                                            [    1.926433] igb 0000:03:00.0: Intel(R) Gigabit Ethernet Network Connection

                                            [    1.926436] igb 0000:03:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 00:e0:4b:5e:d6:08

                                            [    1.926439] igb 0000:03:00.0: eth0: PBA No: FFFFFF-0FF

                                            [    1.926457] igb 0000:03:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)

                                             

                                            NIC: i210, Intel Corporation I210 Gigabit Network Connection (rev 03)

                                            I find it in come-mbt10 datasheet and also in dmesg:

                                             

                                            # lspci

                                            00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 11)

                                            00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 11)

                                            00:13.0 IDE interface: Intel Corporation Atom Processor E3800 Series SATA IDE Controller (rev 11)

                                            00:16.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series OTG USB Device (rev 11)

                                            00:17.0 SD Host controller: Intel Corporation Atom Processor E3800 Series eMMC 4.5 Controller (rev 11)

                                            00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 11)

                                            00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 11)

                                            00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 11)

                                            00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 11)

                                            00:1d.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB EHCI (rev 11)

                                            00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 11)

                                            00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 11)

                                            01:00.0 PCI bridge: PLX Technology, Inc. PEX 8505 5-lane, 5-port PCI Express Switch (rev aa)

                                            03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

                                             

                                            OS: Linux, buildroot 4.10.17 (no VM)

                                            Linux version 4.10.17 (buildroot@buildroot) (gcc version 6.4.0 (Buildroot 2017.08-gf7c7d37) ) #1 SMP Sat Jan 13 21:06:19 MST 2018

                                             

                                            CPU: Intel(R) Atom(TM) CPU  E3845  @ 1.91GHz (family: 0x6, model: 0x37, stepping: 0x9)

                                             

                                            Type of connection : copper

                                             

                                            Best Regards,

                                            Ran

                                            • Re: disable autonegotiation with igb
                                              ranchu Green Belt

                                              Hello Carlos,

                                               

                                              In addition to my previous post above, I want to add that we are open to all options for optimizing the boot time, including adding static arp etc.

                                              The only thing that is required is to keep the 1Gb speed (we can't reduce it to 100M).

                                               

                                              Thank you very much for any idea.

                                              ranran