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

    SFP+ DAC "media: Ethernet Unknown <full-duplex,rxpause,txpause>"

    Scheduled Pinned Locked Moved Hardware
    16 Posts 4 Posters 3.8k 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

      I see output there even on a device that doesn't have a Chelsio card:

      [2.5.0-DEVELOPMENT][admin@apu.stevew.lan]/root: sysctl hw.cxgbe
      hw.cxgbe.lazy_tx_credit_flush: 1
      hw.cxgbe.starve_fl: 0
      hw.cxgbe.nm_holdoff_tmr_idx: 2
      hw.cxgbe.nm_rx_nframes: 64
      hw.cxgbe.nm_rx_ndesc: 256
      hw.cxgbe.nm_black_hole: 0
      

      You won't see those values there are they are loader tunables:
      https://www.freebsd.org/cgi/man.cgi?query=cxl&apropos=0&sektion=4&manpath=FreeBSD+11-current&format=html

      Steve

      1 Reply Last reply Reply Quote 0
      • kklouzalK
        kklouzal
        last edited by

        After setting hw.cxgbe.autoneg="1" and rebooting the firewall we are still unable to identify the DAC. I'm thinking this cable is unsupported. Might there be anything else to try?

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

          That seems likely. There is no config option to allow SFP modules I can see for cxgbe. They do have a lot of options though. Updating the card firmware for example might be an option.
          Using a different DAC cable is probably a better option though.

          Steve

          1 Reply Last reply Reply Quote 0
          • kklouzalK
            kklouzal
            last edited by

            dev.t4nex.0.firmware_version: 1.19.1.0 I'm not sure if this is the latest available but I have hw.cxgbe.fw_install="2" so it should force install whatever firmware is present in the driver being used, that being said it is most likely the latest available for the Chelsio driver provided by FreeBSD 11.2-RELEASE-p10.

            I'll go ahead and order two of the Ubiquiti DACs and see what happens.

            Thank you for all your help I really appreciate it.

            1 Reply Last reply Reply Quote 0
            • hydrianH
              hydrian
              last edited by

              @kklouzal said in SFP+ DAC "media: Ethernet Unknown <full-duplex,rxpause,txpause>":

              hw.cxgbe.autoneg="1"

              What ever became of this? I'm hitting the same situation with a Chelsio 422-CR. I have the Ubiquiti UDC-3 (3 meter) and USW-16-150 switch.

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

                So 1G uplink ports and you need to force the cxl ports to match?

                That can be an problem with DAC cables.

                Try running ifconfig -vvvvvm cxl and see what it offers.

                Steve

                hydrianH 1 Reply Last reply Reply Quote 0
                • hydrianH
                  hydrian @stephenw10
                  last edited by

                  @stephenw10 ,

                  I forced that switch to 1Gb/Full-duplex. This is what I got from the ifconfig -vvvvm cxgbe1
                  pfsnese-ifconfig.png

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

                    Hmm, what NIC is that? Is it not 10G?

                    Seems like it's autoselect only which is quite common with a DAC attached. In which case I would expect it to only link with the switch also set to auto-negotiate. I assume you tried that first though?

                    hydrianH 1 Reply Last reply Reply Quote 0
                    • hydrianH
                      hydrian @stephenw10
                      last edited by

                      @stephenw10 ,
                      I'm connecting the ports with a Ubiquiti UDC-3 DAC. It is a passive DAC that is certified to run both 1Gb and 10Gb with Ubiquiti equipment. I figured that was my best chance of getting a working DAC. I'm using the SPF+ ports on the T422-CR to the SPF ports of the USW-16-150.

                      I tried getting it to connect with hw.cxgbe.autoneg = 1, 0, and -1. None of them worked. I've also force the USW-16-150 sfp ports to 1000Gb/Full. So there should be no autoneg needed.

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

                        With that DAC cable there is no option to set a fixed speed in the Chelsio NIC. It can only be autoselect.
                        That is quite common and in those situations it will often only link at 10G.

                        Using fibre modules instead of DAC will probably allow it if you can test that.

                        Steve

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