SRIOV/vDPA configuration no longer works
lmilleri opened this issue · comments
After a quick test, it seems to me the SRIOV/vDPA configuration on a ConnectX-6 DX card no longer works.
I suspect it's a regression introduced by of #365.
Changing the sriov_config.json path in the following files seems to sort it out:
--- a/bindata/manifests/switchdev-config/files/switchdev-configuration-after-nm.sh.yaml
+++ b/bindata/manifests/switchdev-config/files/switchdev-configuration-after-nm.sh.yaml
@@ -5,7 +5,7 @@ contents:
inline: |
#!/bin/bash
set -eux
- input="/etc/sriov_config.json"
+ input="/etc/sriov-operator/sriov_config.json"
minId=-1
maxId=-1
diff --git a/bindata/manifests/switchdev-config/files/switchdev-configuration-before-nm.sh.yaml b/bindata/manifests/switchdev-config/files/switchdev-configuration-before-nm.sh.yaml
index 3337b22c..32187683 100644
--- a/bindata/manifests/switchdev-config/files/switchdev-configuration-before-nm.sh.yaml
+++ b/bindata/manifests/switchdev-config/files/switchdev-configuration-before-nm.sh.yaml
@@ -5,11 +5,11 @@ contents:
inline: |
#!/bin/bash
set -eux
- input="/etc/sriov_config.json"
+ input="/etc/sriov-operator/sriov_config.json"
UDEV_RULE_FILE='/etc/udev/rules.d/10-persistent-net.rules'
if [ ! -f $input ]; then
- echo "File /etc/sriov_config.json not exist."
+ echo "File /etc/sriov-operator/sriov_config.json not exist."
exit
fi
@lmilleri can this be closed ?
yes thanks