HPE NIC driver update through source rpm file from Ubuntu OS.
Test System
DL380 Gen10+562SFP+(X710 chipset)
1. Install SPP2020.03
2. Set WP to Virtualization - Max Performance.
3. Install Ubuntu 18.04.5 LTS
Check inbox driver (dmesg | grep i40e)
[ 3.733322] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.1.14-k
a. enable root account
# sudo passwd root
b. enable root login via ssh
# vim /etc/ssh/sshd_config
PermitRootLogin yes
# service ssh restart
4.1 Install rpm for use rpm package on Ubuntu
# apt install rpm
# rpm -ivh ./hp-i40e-2.10.19.30-2.all.src.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
Updating / installing...
1:hp-i40e-2.10.19.30-2.all ################################# [100%]
rpm -ql ./hp-i40e-2.10.19.30-2.all.src.rpm
hp-i40e-2.10.19.30.tar.gz
hp-i40e.files
hp-i40e.spec
>> package installed at
/rpmbuild/SOURCE
4.2. Install alien for use rpm package on Ubuntu
# apt install alien
# alien hp-i40e-2.10.19.30-2.all.src.rpm
hp-i40e_2.10.19.30-3_amd64.deb generated
# dpkg -i hp-i40e_2.10.19.30-3_amd64.deb
# dpkg -L hp-i40e
/.
/hp-i40e-2.10.19.30.tar.gz
/hp-i40e.files
/hp-i40e.spec
/usr
/usr/share
/usr/share/doc
/usr/share/doc/hp-i40e
/usr/share/doc/hp-i40e/changelog.Debian.gz
/usr/share/doc/hp-i40e/copyright
>> package installed at
/
5. Move source package to temporary space
# mkdir /tmp/i40e
# mv hp-i40e* /tmp/i40e
6. Install new driver.
# tar zxf hp-i40e-2.10.19.30.tar.gz
# cd /tmp/i40e/hp-i40e-2.10.19.30/src
# make install
7. remove old driver and then load new driver
# rmmod i40e; modprobe i40e
8. update. seems automatically done during install but. confirm
# update-initramfs -u
Reboot and check new driver loaded.
[ 4.028479] i40e: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver - version 2.10.19.30