Giter Site home page Giter Site logo

Cannot connect to switch about corundum HOT 10 CLOSED

corundum avatar corundum commented on July 24, 2024
Cannot connect to switch

from corundum.

Comments (10)

alexforencich avatar alexforencich commented on July 24, 2024

What switch are you using? What kind of cable? And what link rate?

from corundum.

Gaojiaqi avatar Gaojiaqi commented on July 24, 2024

I'm using a Wedge 100B from EdgeCore: https://www.edge-core.com/productsInfo.php?cls=1&cls2=5&cls3=181&id=335.
The cable is 1 meter 100G QSFP28 DAC Twinax cable.
The link speed is 100G, I've tried both RS and None FEC options.

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

Well, a DAC cable is less likely to have issues than an AOC, so that's good. What does the switch say for the port status?

from corundum.

dmsspb avatar dmsspb commented on July 24, 2024

When I connect the two ports on my U250 card directly, the os can send and receive packets.

I guess your OS is Linux. If you looped two ports on a U250 without the Linux routing table trick, Linux loop the packet inside the kernel, no data will be sent to the U250.
If your IP of the link 'eth0' is X.X.X.X, you may try to send ARP packets to the interface: arping -c 100 -I eth0 X.X.X.Y. ARP will be sent to the physical link through U250.

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

Ah yes, that's a good point. Simple sanity check: unplug the cable and see if that stops the flow of traffic.

from corundum.

Gaojiaqi avatar Gaojiaqi commented on July 24, 2024

The port status is down and no change at all after I tried to bring the interface up, down, add/remove the kernel module, etc.
Are you looking for something? Perhaps I can dig it out in the switch.

For the loopback testing, I'm sending packets directly to the interface via scapy and capturing packets on the other interface and it works.

I think it might be a cable issue, may I know what are the QSFP modules supported by the current CMAC?

from corundum.

dmsspb avatar dmsspb commented on July 24, 2024

Corundum CMAC 100G "out of the box" has RS-FEC(528/514) and no AutoNeg(AN), i.e. 100GBASE-SR4. IMHO, Alveo should work with any QSFP28 AOC with multimode fiber (MMF) or 100GBASE-SR4 transceiver with MTP/MTO MMF.
Or 100GBASE-LR4 (single mode fiber) when AN, RS-FEC OFF.
Or 100GBASE-CR4 (DAC cables) when AN, RS-FEC ON.
In practice, short DAC cables work when the AN is disabled, but may not work.

Sorry for my question, but can you try this:

Simple sanity check: unplug the cable and see if that stops the flow of traffic.

If traffic stops - DAC cable seems to be good

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

I have had no issues with DACs the way corundum is configured, but I usually test with a Mellanox NIC on the other end instead of a switch.

The annoying thing about AN is Xilinx charges a lot of money for the privilege of using AN, so I have not turned it on.

from corundum.

Gaojiaqi avatar Gaojiaqi commented on July 24, 2024

I connected it to another NIC and this works fine now. I think we can close this issue for now because it seems more likely to be a switch side issue.

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

It might make more sense to open a new issue or post on the mailing list instead of hijacking this one.

from corundum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.