OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Infiniband as Network interface?
« previous next »
  • Print
Pages: [1]

Author Topic: Infiniband as Network interface?  (Read 4434 times)

studiofunk

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Infiniband as Network interface?
« on: March 21, 2019, 01:03:18 pm »
Hi there,

we have a few Mellanox Infiniband interfaces (MCX354A-FCBT) and would love to get the 40G speed into our OPNsense system.
Anything possible?

I just found that the mlx4en driver is available. not the mlx4ib.

Could I get this to work somehow?

Best regards,
Thomas
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Infiniband as Network interface?
« Reply #1 on: March 21, 2019, 02:36:24 pm »
I compiled it years ago for pfSense 2.1 but didn't touched it yet again.
Infiniband and FreeBSD isn't really funny, you should stick to en where possible.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

studiofunk

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Infiniband as Network interface?
« Reply #2 on: March 25, 2019, 10:43:22 am »
Thank you very much!

Too bad  :-\
Logged

studiofunk

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Infiniband as Network interface?
« Reply #3 on: March 26, 2019, 03:59:06 pm »
With the sources package from FreeBSD 11.2 it's not a problem...

fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.2-RELEASE/src.txz
tar -C / -xvzf src.txz

echo '#!/bin/sh -e' > ofed_install.sh
echo -en '\n' >> ofed_install.sh
echo 'cd /usr/src/sys/modules' >> ofed_install.sh
echo 'for module in mlx4 ibcore mlx4ib ipoib; do ' >> ofed_install.sh
echo '    cd $module' >> ofed_install.sh
echo '    make' >> ofed_install.sh
echo '    make install' >> ofed_install.sh
echo '    sync' >> ofed_install.sh
echo '    kldload $module || true' >> ofed_install.sh
echo '    printf "${module}_load=\"YES\"\n" >> /boot/loader.conf.local' >> ofed_install.sh
echo '    cd ..' >> ofed_install.sh
echo 'done' >> ofed_install.sh
echo 'kldstat' >> ofed_install.sh

ibv_devinfo

sysctl sys.device.mlx4_core0.mlx4_port1=ib
sysctl sys.device.mlx4_core0.mlx4_port2=ib
« Last Edit: March 28, 2019, 12:00:31 pm by studiofunk »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Infiniband as Network interface?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2