Browse Source

Fix unbind nic in devstack plugin

Devstack plugin re-binds dpdk nics when unstack.sh runs although
it must unbind. This patch fixes the issue so that it unbinds dpdk nics.

Change-Id: I4b1c38044131dbe826113fdb967d56c9ddc2f495
Hirofumi Ichihara 1 year ago
parent
commit
7a3e4e2daf
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      devstack/lagopus

+ 1
- 1
devstack/lagopus View File

@@ -109,7 +109,7 @@ function unbind_nics() {
109 109
             addr=`echo $pair | cut -f 1 -d "#"`
110 110
             NICS="$NICS $addr"
111 111
         done
112
-        sudo $DPDK_DIR/usertools/dpdk-devbind.py -b e1000 $NICS
112
+        sudo $DPDK_DIR/usertools/dpdk-devbind.py --force -u $NICS
113 113
     fi
114 114
 }
115 115
 

Loading…
Cancel
Save