Skip to content

Commit

Permalink
fix ovn dhcp not work with ovs-dpdk (#1853)
Browse files Browse the repository at this point in the history
* fix ovn dhcp for ovs-dpdk.

Co-authored-by: wanglong <[email protected]>
  • Loading branch information
wlooppy and wanglong authored Aug 25, 2022
1 parent 44e4125 commit 2a2a32f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions dist/images/Dockerfile.base-dpdk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN cd /usr/src/ && \
cd ovs && \
git checkout c50a0f080d95e9027b7ba3a70150b02c2377c721 && \
curl -s https://github.com/kubeovn/ovs/commit/22ea22c40b46ee5adeae977ff6cfca81b3ff25d7.patch | git apply && \
curl -s https://github.com/openvswitch/ovs/commit/a432b1eb496cc1606873068c26716977a02029e2.patch | git apply && \
# compile without avx512
if [ "$ARCH" = "amd64" -a "$NO_AVX512" = "true" ]; then curl -s https://github.com/kubeovn/ovs/commit/38c59e078d69b343f56ab0f380fb9f42b94b7c02.patch | git apply; fi && \
./boot.sh && \
Expand Down
4 changes: 2 additions & 2 deletions dist/images/start-ovs-dpdk-v2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ modprobe vfio-pci


# band nic to dpdk driver
driverctl set-override ${DPDK_DEV} modprobe vfio-pci
driverctl set-override ${DPDK_DEV} vfio-pci

# link sock
mkdir -p /usr/local/var/run
Expand Down Expand Up @@ -103,4 +103,4 @@ ovs-vsctl set open . external-ids:ovn-remote-probe-interval=10000
ovs-vsctl set open . external-ids:ovn-openflow-probe-interval=180
ovs-vsctl set open . external-ids:ovn-encap-type=geneve

tail -f /var/log/openvswitch/ovs-vswitchd.log
tail -f /var/log/openvswitch/ovs-vswitchd.log

0 comments on commit 2a2a32f

Please sign in to comment.