# echo 6 > /sys/ class /net/ens4f0/device/sriov_numvfs # lspci|grep Mellanox b1: 00.0 Ethernet controller: Mellanox Technologies MT2894 Family [ConnectX- 6 Lx] b1: 00.1 Ethernet controller: Mellanox Technologies MT2894 Family [ConnectX- 6 Lx] b1: 00.2 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function b1: 00.3 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function b1: 00.4 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function b1: 00.5 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function b1: 00.6 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function b1: 00.7 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function # ip link |grep ens4 261 : ens4f0v0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 262 : ens4f0v1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 263 : ens4f0v2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 264 : ens4f0v3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 265 : ens4f0v4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 266 : ens4f0v5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 18 : ens4f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 19 : ens4f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 # ip link show ens4f0v0 261 : ens4f0v0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 56 :ba: 79 :b5:fb:3a brd ff:ff:ff:ff:ff:ff [root @stgExt
|