Merge "Update neutron ovs-agent init"
This commit is contained in:
commit
915276f4f7
@ -184,6 +184,10 @@ function process_dpdk_nics {
|
|||||||
if [ -n "${vf_index}" ]; then
|
if [ -n "${vf_index}" ]; then
|
||||||
vf_string="vf ${vf_index}"
|
vf_string="vf ${vf_index}"
|
||||||
ip link set ${iface} ${vf_string} trust on
|
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
|
ip link set ${iface} ${vf_string} spoofchk off
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -278,6 +282,10 @@ function process_dpdk_bonds {
|
|||||||
if [ -n "${vf_index}" ]; then
|
if [ -n "${vf_index}" ]; then
|
||||||
vf_string="vf ${vf_index}"
|
vf_string="vf ${vf_index}"
|
||||||
ip link set ${iface} ${vf_string} trust on
|
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
|
ip link set ${iface} ${vf_string} spoofchk off
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user