• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How To Disable/Enable Energy Efficient Ethernet (EEE)?

Scheduled Pinned Locked Moved Hardware
51 Posts 5 Posters 12.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Maff
    last edited by Mar 26, 2024, 9:22 AM

    Hi sorry for asking for this to be simplified but apparently virgin media has broken there 2.5gig port with the latest firmware for the hub5 the thread on the forums say it is due to eee and would like to test this but so far can’t find out how to get info if it is enabled or not, am using an intel x710 card

    Currently on pfsense 23.09-1

    Can someone list the commands needed to get info about that state of eee my card is listed as ixl0 and ixl1, 0 is the wan port

    Thread for virgin media https://community.virginmedia.com/t5/Tech-Chatter/Hub-5-Firmware-Upgrade/td-p/5480079/page/2

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Mar 26, 2024, 1:33 PM

      On ixl it is set by:

      [24.03-BETA][admin@7100.stevew.lan]/root: sysctl -d dev.ixl.0.eee.enable
      dev.ixl.0.eee.enable: Enable Energy Efficient Ethernet (EEE)
      [24.03-BETA][admin@7100.stevew.lan]/root: sysctl dev.ixl.0.eee.enable
      dev.ixl.0.eee.enable: 0
      

      You can also check to see if it's sending or receiving LPI symbols:

      [24.03-BETA][admin@7100.stevew.lan]/root: sysctl dev.ixl.0.eee
      dev.ixl.0.eee.rx_lpi_count: 0
      dev.ixl.0.eee.tx_lpi_count: 0
      dev.ixl.0.eee.rx_lpi_status: 0
      dev.ixl.0.eee.tx_lpi_status: 0
      dev.ixl.0.eee.enable: 0
      

      Steve

      1 Reply Last reply Reply Quote 0
      • M
        Maff
        last edited by Mar 26, 2024, 6:12 PM

        thanks for that

        would i be correct in saying that eee is enabled?

        sysctl dev.ixl.0.eee
        dev.ixl.0.eee.rx_lpi_count: 1205843
        dev.ixl.0.eee.tx_lpi_count: 1448892
        dev.ixl.0.eee.rx_lpi_status: 1
        dev.ixl.0.eee.tx_lpi_status: 1
        dev.ixl.0.eee.enable: 1

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Mar 26, 2024, 7:46 PM

          Yes that's enabled and it's both seeing and ending LPI.

          M 1 Reply Last reply Mar 26, 2024, 8:08 PM Reply Quote 0
          • M
            Maff @stephenw10
            last edited by Maff Mar 26, 2024, 8:17 PM Mar 26, 2024, 8:08 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M
              Maff
              last edited by Maff Mar 26, 2024, 8:51 PM Mar 26, 2024, 8:32 PM

              okay so managed to disable it but doesn't seem to be persistant through a reboot, but turning it off does solve the virgin media problem, just need to make it permament now

              to disable it i had to use sysctl dev.ixl.0.eee.enable:0

              and adding dev.ixl.0.eee.enable as a system tunable and a value of 0 survives a reboot :)

              U 2 Replies Last reply Mar 26, 2024, 9:13 PM Reply Quote 1
              • U
                uplink @Maff
                last edited by Mar 26, 2024, 9:13 PM

                @Maff and @stephenw10

                I think if you look at my 1st post in this thread I mention adding an option to the system tunables section in the pfSense UI so that the EEE option can configured/persisted. I think that's still a thing?

                However, I thought @stephenw10 mentioned there was a bug (not sure it's fixed) that the EEE config below actually uses 1 to disable it, not 0. Although, this is for igc adapters, I'm not sure about your ixl adapter. Maybe @stephenw10 can chime in on how to use the system tunable for your adapter?

                @stephenw10 said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                EEE is disabled by default in igc in FreeBSD. The description text for 'hw.igc.eee_setting' is incorrect. That should be 1 to disable it as mentioned.

                To check your current EEE configuration:

                [23.05.1-RELEASE][user@router.lan]/: sysctl hw.igc | grep eee
                hw.igc.eee_setting: 1
                [23.05.1-RELEASE][user@router.lan]/: sysctl dev.igc.0 | grep eee
                dev.igc.0.eee_control: 1
                

                cf5eac65-4bd5-43a6-b86b-03667323a160-image.png

                S 1 Reply Last reply Mar 26, 2024, 9:39 PM Reply Quote 0
                • U
                  uplink @Maff
                  last edited by uplink Mar 26, 2024, 9:18 PM Mar 26, 2024, 9:17 PM

                  I see you found the system tunable! I guess I'm wondering if using a 0 actually disables it. Again, there was mention of a bug in this thread that system tunable uses a 1 to set EEE to disable (at least for my igc adapter).

                  @Maff said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                  and adding dev.ixl.0.eee.enable as a system tunable and a value of 0 survives a reboot :)

                  M 1 Reply Last reply Mar 26, 2024, 10:28 PM Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator @uplink
                    last edited by Mar 26, 2024, 9:39 PM

                    @uplink said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:

                    However, I thought @stephenw10 mentioned there was a bug (not sure it's fixed) that the EEE config below actually uses 1 to disable it, not 0.

                    That's true but that only applies to igc.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Maff @uplink
                      last edited by Mar 26, 2024, 10:28 PM

                      @uplink

                      How I’ve configured it works for my case and card and is easily tested as with it enabled I have 90% packet loss and with it disabled it works and zero loss

                      Thanks for all the help and to @stephenw10

                      1 Reply Last reply Reply Quote 1
                      51 out of 51
                      • First post
                        51/51
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received