Skip to content

Instantly share code, notes, and snippets.

@jianzzha
Last active October 18, 2021 16:58
Show Gist options
  • Save jianzzha/337ecbb0ddf42bc9893f459772f91570 to your computer and use it in GitHub Desktop.
Save jianzzha/337ecbb0ddf42bc9893f459772f91570 to your computer and use it in GitHub Desktop.
fec-test
oc delete -f create-fec-vf.yaml
sriovfecclusterconfig.sriovfec.intel.com "config" deleted
lspci | grep acc
b5:00.0 Processing accelerators: Intel Corporation Device 0d5c
Capacity:
intel.com/intel_fec_acc100: 5
Allocatable:
intel.com/intel_fec_acc100: 0
it took some several mins (5 min?) for Capacity to become 0
oc describe node worker1 | grep intel_fec_acc100
intel.com/intel_fec_acc100: 0
intel.com/intel_fec_acc100: 0
intel.com/intel_fec_acc100 0 0
physicalFunction:
pfDriver: pci-pf-stub
vfDriver: vfio-pci
vfAmount: 16
bbDevConfig:
acc100:
pfMode: false
numVfBundles: 16
maxQueueSize: 1024
uplink4G:
numQueueGroups: 0
numAqsPerGroups: 16
aqDepthLog2: 4
downlink4G:
numQueueGroups: 0
numAqsPerGroups: 16
aqDepthLog2: 4
uplink5G:
numQueueGroups: 4
numAqsPerGroups: 16
aqDepthLog2: 4
downlink5G:
numQueueGroups: 4
numAqsPerGroups: 16
aqDepthLog2: 4
oc create -f create-fec-vf.yaml
sriovfecclusterconfig.sriovfec.intel.com/config created
lspci | grep acc
b5:00.0 Processing accelerators: Intel Corporation Device 0d5c
b6:00.0 Processing accelerators: Intel Corporation Device 0d5d
b6:00.1 Processing accelerators: Intel Corporation Device 0d5d
b6:00.2 Processing accelerators: Intel Corporation Device 0d5d
b6:00.3 Processing accelerators: Intel Corporation Device 0d5d
b6:00.4 Processing accelerators: Intel Corporation Device 0d5d
oc describe node worker1 | grep intel_fec_acc100
intel.com/intel_fec_acc100: 5
intel.com/intel_fec_acc100: 5
intel.com/intel_fec_acc100 0 0
physicalFunction:
pfDriver: pci-pf-stub
vfDriver: vfio-pci
vfAmount: 5
bbDevConfig:
acc100:
pfMode: false
numVfBundles: 5
maxQueueSize: 1024
uplink4G:
numQueueGroups: 4
numAqsPerGroups: 16
aqDepthLog2: 5
downlink4G:
numQueueGroups: 4
numAqsPerGroups: 16
aqDepthLog2: 5
uplink5G:
numQueueGroups: 0
numAqsPerGroups: 16
aqDepthLog2: 4
downlink5G:
numQueueGroups: 0
numAqsPerGroups: 16
aqDepthLog2: 4
no issue observed at update: it chanage the VF to 5; reboot, 5 VF recreated
Capacity:
intel.com/intel_fec_acc100: 5
Allocatable:
intel.com/intel_fec_acc100: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment