SR-IOV
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSR-IOV
Заметки про SR-IOV
echo 7 > /sys/class/net/enp4s0f1/device/sriov_numvfs
ip link set dev enp5s0f0 vf 0 trust on
ip link show dev enp5s0f0 4: enp5s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 90:e2:ba:4a:d3:3c brd ff:ff:ff:ff:ff:ff vf 0 link/ether 52:49:9c:61:90:18 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust on, query_rss off
ip link set dev enp5s0f0 vf 0 spoofchk off
ip link show dev enp5s0f0 4: enp5s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 90:e2:ba:4a:d3:3c brd ff:ff:ff:ff:ff:ff vf 0 link/ether 52:49:9c:61:90:18 brd ff:ff:ff:ff:ff:ff, spoof checking off, link-state auto, trust on, query_rss off
ip link add link enp5s0f0v0 name enp5s0f0v0.132 type vlan id 132
ip -d link show dev enp5s0f0v0.132 117: enp5s0f0v0.132@enp5s0f0v0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 52:49:9c:61:90:18 brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 0 maxmtu 65535 vlan protocol 802.1Q id 132 <REORDER_HDR> addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535