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

    RTL8125, Is there a way to enable this option?

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 Posters 2.9k Views 3 Watching
    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.
    • R Offline
      rtlques
      last edited by

      gigabit lite option is also disabled by default in Windows.
      Is there any way to enable this option in pfsense?
      alt text

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        Not that I've ever seen. Also I have no idea why you would ever want to. It seems to be some 500Mb mode. I would assume both ends have to support it. Seems like something non-standard.

        What are you trying to use it for?

        Steve

        JKnottJ 1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          Mmm, interesting:

          Giga Lite (500M) mode allows two link partners that both support 1000Base-T and Giga Lite mode to transmit at 500Mbps data rate if only two pairs (AB pairs) can be detected in the CAT.5 UTP cable. This feature is a Realtek proprietary feature and it conforms to the 802.3az-2010(EEE) specification.
          

          But, no I've never seen anything use it or any mention of it in a driver.

          Steve

          1 Reply Last reply Reply Quote 1
          • JKnottJ Offline
            JKnott @stephenw10
            last edited by

            @stephenw10 said in RTL8125, Is there a way to enable this option?:

            Also I have no idea why you would ever want to.

            Fewer calories? ๐Ÿ˜‰

            Actually, I really don't see the need for this either? If only 2 pairs are usable, then you have a defective cable, which should be replaced. I suppose it's someone's solution for a problem that doesn't exist.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              Mmm, now I see what it does I guess I can see how it would be useful if you do have only 2 pairs for whatever reason. 5x better than 100M ๐Ÿ˜‰
              But it should only ever be a fallback option and both ends need to support it. I wouldn't expect it to make any difference except in that very specific circumstance.

              Steve

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rtlques @stephenw10
                last edited by

                @stephenw10
                One direction of upper line is already set, just need to set up pfsense
                (installed latest version 1.9.7 RTL driver with pfsense ce 2.6)
                "if_re.c" file contains keywords for "giga lite" in RTL official freebsd driver "rtl_bsd_drv_v197.00.tgz"
                i don't know how to do it, but hope there is a way to enable

                1 Reply Last reply Reply Quote 0
                • stephenw10S Offline
                  stephenw10 Netgate Administrator
                  last edited by

                  So you are trying to use a 4 wire link? And currently only seeing 100M?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    It looks like it's mentioned in two places. One where it's disabled for a list of MAC types:

                            if (sc->re_type == MACFG_68 || sc->re_type == MACFG_69 ||
                                sc->re_type == MACFG_70 || sc->re_type == MACFG_71 ||
                                sc->re_type == MACFG_72 || sc->re_type == MACFG_73 ||
                                sc->re_type == MACFG_74) {
                                    //Disable Giga Lite
                                    MP_WritePhyUshort(sc, 0x1F, 0x0A42);
                                    ClearEthPhyBit(sc, 0x14, BIT_9);
                    

                    And the other where it's disabled unconditionally in the setup function for the 8125:

                    static int re_ifmedia_upd_8125(struct ifnet *ifp)
                    {
                            struct re_softc	*sc = ifp->if_softc;
                            struct ifmedia	*ifm = &sc->media;
                            int anar;
                            int gbcr;
                            int cr2500 = 0;
                    
                            if (IFM_TYPE(ifm->ifm_media) != IFM_ETHER)
                                    return(EINVAL);
                    
                            //Disable Giga Lite
                            ClearEthPhyOcpBit(sc, 0xA428, BIT_9);
                            ClearEthPhyOcpBit(sc, 0xA5EA, BIT_0);
                    
                            cr2500 = MP_RealReadPhyOcpRegWord(sc, 0xA5D4);
                            cr2500 &= ~RTK_ADVERTISE_2500FULL;
                    

                    Neither has any sort of external config dependency so it doesn't look like you can choose.
                    And it looks like it's always disabled in the 8125.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.