mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-27 18:24:45 +00:00
Merge "Update neutron ovs-agent init"
This commit is contained in:
@@ -184,6 +184,10 @@ function process_dpdk_nics {
|
||||
if [ -n "${vf_index}" ]; then
|
||||
vf_string="vf ${vf_index}"
|
||||
ip link set ${iface} ${vf_string} trust on
|
||||
|
||||
# NOTE: To ensure proper toggle of spoofchk,
|
||||
# turn it on then off.
|
||||
ip link set ${iface} ${vf_string} spoofchk on
|
||||
ip link set ${iface} ${vf_string} spoofchk off
|
||||
fi
|
||||
fi
|
||||
@@ -278,6 +282,10 @@ function process_dpdk_bonds {
|
||||
if [ -n "${vf_index}" ]; then
|
||||
vf_string="vf ${vf_index}"
|
||||
ip link set ${iface} ${vf_string} trust on
|
||||
|
||||
# NOTE: To ensure proper toggle of spoofchk,
|
||||
# turn it on then off.
|
||||
ip link set ${iface} ${vf_string} spoofchk on
|
||||
ip link set ${iface} ${vf_string} spoofchk off
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user