I've ran into an issue when creating a large number of virtual functions on a SR-IOV capable device.
ip link show reports a message truncated error:
ip link show > /dev/null
Message truncated
Message truncated
Message truncated
A likely cause might be that when called in a system where the number of PCIe Virtual Functions are more than 30 for a given Physical Function, the netlink response is larger than 16K, meaning that a message is truncated.
The issue is seen with Ubuntu14.04 and Ubuntu16.04.
A possible solution for the issue is to increase the size of the receive buffer in libnetlink.c
Additional information:
=====================================================================================================
Ubuntu16 system
stack@cluster04:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
I've ran into an issue when creating a large number of virtual functions on a SR-IOV capable device.
ip link show reports a message truncated error:
ip link show > /dev/null
Message truncated
Message truncated
Message truncated
A likely cause might be that when called in a system where the number of PCIe Virtual Functions are more than 30 for a given Physical Function, the netlink response is larger than 16K, meaning that a message is truncated.
The issue is seen with Ubuntu14.04 and Ubuntu16.04.
A possible solution for the issue is to increase the size of the receive buffer in libnetlink.c
Additional information: ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===
=======
Ubuntu16 system
stack@cluster04:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
stack@cluster04:~$ uname -r
4.4.0-93-generic
stack@cluster04:~$ apt-cache policy iproute2 16.04.1 16.04.1 500 us.archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======
iproute2:
Installed: 4.3.0-1ubuntu3.
Version table:
*** 4.3.0-1ubuntu3.
500 http://
=======
Ubuntu14 system:
root@boomslang:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
root@boomslang:~# uname -r
4.4.0-96-generic
root@boomslang:~# apt-cache policy iproute2 za.archive. ubuntu. com/ubuntu/ trusty-updates/main amd64 Packages
iproute2:
Installed: 3.12.0-2ubuntu1
Version table:
*** 3.12.0-2ubuntu1 0
500 http://