We tried to rate limit the vf_rep interface using the match all filter by using tc command.We have used the following command for this purpose:
(sudo tc filter add dev <interface_name> parent ffff: protocol all prio 1 matchall action police rate 1mbit burst 9000).However, during our testing, we noticed an unexpected behavior. When we executed the above command and subsequently performed a tcpdump on the interface that resides in the OVS bridge, we observed that the matchall destroy function was being called.
In an attempt to troubleshoot this issue, we also tried rate limiting using the OVS command as follows:
ovs-vsctl set interface <interface_name> ingress_policing_rate=1000
Interestingly, with this approach, we did not encounter the same observation of the matchall destroy function being called.
To gain more insights into this matter, we placed dump stack traces to trace the callback and found that this call is originating from the Vswitchd when using the tcpdump. We have attached the relevant dmesg log for your reference.
Could you kindly provide any insights or suggestions regarding this
issue.
(sudo tc filter add dev <interface_name> parent ffff: protocol all prio 1 matchall action police rate 1mbit burst 9000).However, during our testing, we noticed an unexpected behavior. When we executed the above command and subsequently performed a tcpdump on the interface that resides in the OVS bridge, we observed that the matchall destroy function was being called.
In an attempt to troubleshoot this issue, we also tried rate limiting using the OVS command as follows:
ovs-vsctl set interface <interface_name> ingress_policing_rate=1000
Interestingly, with this approach, we did not encounter the same observation of the matchall destroy function being called.
To gain more insights into this matter, we placed dump stack traces to trace the callback and found that this call is originating from the Vswitchd when using the tcpdump. We have attached the relevant dmesg log for your reference.
Could you kindly provide any insights or suggestions regarding this
issue.