•
•
•
Installing MLNX_OFED on Arm Cores
Prerequisite Packages for Installing MLNX_OFED
MLNX_OFED installation requires some prerequisite packages to be installed on the system.
Currently, CentOS installed on the BlueField Controller Card has a private network to the host via the USB connection, and it can be used to Secure
Copy Protocol (SCP) all the required packages. However, it is recommended for the BlueField Controller Card to have a direct access to the network
to use “yum install” to install all the required packages. For direct access to the network, set up the routing on the host via:
iptables -t nat -o eth0 -A POSTROUTING -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
systemctl restart dhcpd
Reset the BlueField Controller Card network for Internet connection (access to the web) as long as the host is connected:
[root@localhost
~]# ifdown eth0;
ifup eth0 [root@localhost
~]# ping google.com
PING google.com (172.217.10.142) 56(84)
bytes of data.
64 bytes from lga34s16-in-f14.1e100.net (172.217.10.142): icmp_seq=1 ttl=53 time=19.2 ms
64 bytes from lga34s16-in-f14.1e100.net (172.217.10.142): icmp_seq=2 ttl=53 time=17.7 ms
64 bytes from
lga34s16-in-f14.1e100.net (172.217.10.142): icmp_seq=3 ttl=53 time=15.8 ms
Run “yum install” to install all the required MLNX_OFED packages:
“eth0” is the outgoing network interface on the host. Change this according to your system requirements.
These commands are not saved in Linux startup script, and might be needed to be applied again after host machine reboots.