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

    Igb or igc in tunables?

    Scheduled Pinned Locked Moved Hardware
    25 Posts 2 Posters 4.2k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yes, it's enabled in my output above.

      J 2 Replies Last reply Reply Quote 1
      • J
        jsmiddleton4 @stephenw10
        last edited by jsmiddleton4

        @stephenw10

        Thanks for your help. I’ve seen you responding in other threads regarding Tunables and Loader questions.

        My #3 that was not true, now it makes more sense. There are variables that can go in both places.

        hw.igc.eee_setting: 0

        Doesn’t seem to be setting anything from my loader.config.local.

        The tunables work.

        hw.igc.max_interrupt_rate: 8000
        hw.igc.eee_setting: 1
        hw.igc.rx_process_limit: 100
        hw.igc.sbp: 1
        hw.igc.smart_pwr_down: 0
        hw.igc.rx_abs_int_delay: 66
        hw.igc.tx_abs_int_delay: 66
        hw.igc.rx_int_delay: 0
        hw.igc.tx_int_delay: 66
        hw.igc.disable_crc_stripping: 0

        Edit. I keep typing config. My file is loader.conf.local. My bad.

        1 Reply Last reply Reply Quote 1
        • J
          jsmiddleton4 @stephenw10
          last edited by

          @stephenw10

          This says “1” is disabled.

          https://www.freebsd.org/cgi/man.cgi?query=igc#LOADER_TUNABLES

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

            Hmm, curious. Well it guess it pays to always read the man page! Nice catch.

            J 1 Reply Last reply Reply Quote 1
            • J
              jsmiddleton4 @stephenw10
              last edited by jsmiddleton4

              @stephenw10

              What does the command IF wanted to put them in loader.conf.local actually look like?

              hw.igc.eee_setting=“1”

              Also there’s no mention of loader.conf.local. That page says everything goes in loader.conf.

              If the default already turns off eee why bother with any tunable for eee?

              Edit: Also this is why I'm a bit confused regarding 0's and 1's. Some times 1 disables and some times 0?

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

                @jsmiddleton4 said in Igb or igc in tunables?:

                hw.igc.eee_setting=“1”

                Yes, that would work.

                The default works fine, there's no need to set it. The same is true for almost all the tunables or loader variables. I would only expect to ever need to set anything there if you are using an unusual NIC type or using a common NIC in an unusual way.

                Steve

                J 1 Reply Last reply Reply Quote 0
                • J
                  jsmiddleton4 @stephenw10
                  last edited by

                  @stephenw10

                  “A common NIC in an unusual way”

                  Hilarious.

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

                    Like using WoL where it needs to remain active or some custom lagg type etc. 😉

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jsmiddleton4 @stephenw10
                      last edited by jsmiddleton4

                      @stephenw10

                      I’m a registered nurse. I’m wondering what the variable is to use a NIC do do a colonoscopy. Is that a hw, inet, kern….?

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

                        Well, you'd need the right adapter.... 😉

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