Giter Site home page Giter Site logo

mqnic module compile error about corundum HOT 12 OPEN

corundum avatar corundum commented on July 24, 2024
mqnic module compile error

from corundum.

Comments (12)

alexforencich avatar alexforencich commented on July 24, 2024

RHEL/centos is not currently supported. This is in large part because the RHEL kernel version is a total lie due to all of their patching and back-porting. Most likely corundum will not support RHEL unless someone decides to sponsor the maintenance of the driver.

from corundum.

kimanha avatar kimanha commented on July 24, 2024

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

Ubuntu, debian, arch, etc. Basically any distribution other than redhat/centos should work fine.

from corundum.

kimanha avatar kimanha commented on July 24, 2024

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

I guess I don't have a getting started guide on the wiki yet; I should put something together. At any rate, here are the basics. You should be able to use pretty much any QSFP or QSFP28 solution with the design (DAC, AOC, optical transceivers of various types), though if you want to use a QSFP28 AOC or optical module at 10G on the U50 or U280 you may run in to problems as you can't adjust the transceiver configuration via I2C on those boards due to lack of support in the BMC firmware. You can also use SFP+ and SFP28 DACs, AOCs, and optical modules with the appropriate adapter.

To load the design onto a fresh card, you'll likely need to use JTAG. There are a few different ways to do this. One is to write to the flash directly from Vivado. This is a very slow process, I don't recommend it if you have to flash a bunch of cards. The faster way is to load the design into the FPGA directly, then do a warm reboot so you can talk to the card from linux, and use mqnic-fw to flash the design over PCIe. It may even be possible to do this without rebooting. Once the design is loaded into flash, you can use mqnic-fw to update it over PCIe. The mqnic-fw utility does not require the kernel module; it can either interface with the card via the kernel module or via sysfs if the kernel module is not loaded.

Once the card is installed and the driver is loaded, the driver will attempt attempt to read persistent MAC addresses from the card. See https://github.com/corundum/corundum/wiki/Persistent-MAC-Addresses for more information about this. For the U50, it should automatically read the MAC addresses out of the BMC.

After that, it should behave like a normal network card in linux, so you can use iproute2 (ip link, ip addr, etc.) or ifconfig to configure the IP addresses and what not. For simple testing, you can use ping, iperf, netperf, etc.

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

I just added: https://github.com/corundum/corundum/wiki/Getting-Started

from corundum.

kimanha avatar kimanha commented on July 24, 2024

from corundum.

muzzammilashraf avatar muzzammilashraf commented on July 24, 2024

@alexforencich Hi, if it is required then I can add support for RHEL/CentOS in the driver.

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

The issue is not so much simply "adding support," but continuous maintenance and testing going forward. RHEL lies about the kernel version number and back-ports all sorts of stuff from the mainline kernel, so there would need to be a complete set of RHEL-specific kernel version ifdefs that's parallel to the existing ones for the mainline Linux kernel. If you're interested in helping to implement and maintain all of the RHEL kernel release specific ifdefs in the driver going forward, then we can certainly discuss that.

from corundum.

muzzammilashraf avatar muzzammilashraf commented on July 24, 2024

Yes, I am interested in adding support for RHEL/CentOS in the driver. We can discuss.

from corundum.

alexforencich avatar alexforencich commented on July 24, 2024

Got it. Please make sure you're on the Corundum zulip (https://corundum.zulipchat.com/). I know the folks from MLE are also potentially looking in to doing some stuff with CentOS as well, so there is probably going to be some opportunity for cooperation along those lines.

from corundum.

muzzammilashraf avatar muzzammilashraf commented on July 24, 2024

I have joined Corundum zulip.

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.