This patch updates the GDB script "ovs_show_fdb" command to include the new per mac_learning instance counters.
Signed-off-by: Eelco Chaudron <[email protected]> --- utilities/gdb/ovs_gdb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utilities/gdb/ovs_gdb.py b/utilities/gdb/ovs_gdb.py index 65f9216d9..4e9dac040 100644 --- a/utilities/gdb/ovs_gdb.py +++ b/utilities/gdb/ovs_gdb.py @@ -797,6 +797,10 @@ class CmdShowFDB(gdb.Command): print("{}ports_by_ptr.n : {}".format(indent, ml['ports_by_ptr']['n'])) print("{}ports_by_usage.n: {}".format(indent, ml['ports_by_usage']['n'])) + print("{}total_learned : {}".format(indent, ml['total_learned'])) + print("{}total_expired : {}".format(indent, ml['total_expired'])) + print("{}total_evicted : {}".format(indent, ml['total_evicted'])) + print("{}total_moved : {}".format(indent, ml['total_moved'])) @staticmethod def display_mac_entry(mac_entry, indent=0, dbg=False): _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
