Hi,

I am trying, ovs tc offload marvell octeontx2 driver.  I could see
that flow gets offloaded initially; but there is no statistics sync  (
added a print in netdev_tc_flow_get() and could see that it is not
hitting) , so flow gets removed and added again.  So it is causing a
lot of fluctuations. When I increased the max_idle time, this time
period between these dips increased, as expected (ovs-vsctl set
Open_vSwitch . other_config:max-idle=30000)  Is there any hint/clue ?


ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth0
ovs-vsctl add-port br0 eth1
ovs-ofctl dump-flows br0
ovs-ofctl del-flows br0
ovs-ofctl add-flow br0
tcp,nw_src=192.168.9.100,nw_dst=192.168.9.200,in_port=1,actions=output:2
ovs-ofctl add-flow br0
tcp,nw_src=192.168.9.200,nw_dst=192.168.9.100,in_port=2,actions=output:1
ovs-ofctl add-flow br0 arp,in_port=2,actions=output:1
ovs-ofctl add-flow br0 arp,in_port=1,actions=output:2
ethtool -K eth0 ntuple off
ethtool -K eth0 hw-tc-offload on
ethtool -K eth1 ntuple off
ethtool -K eth1 hw-tc-offload on
ovs-vsctl set Open_vSwitch . other_config:tc-policy=skip_sw
ovs-vsctl set Open_vSwitch . other_config:hw-offload=true
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to