[ovs-git] [openvswitch/ovs] 5f3818: mac-learning: Add additional mac-learning coverage...

GitHub noreply at github.com
Fri Jul 6 21:26:56 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5f3818f1c601d006a53a2a2d71faecfc223163b4
      https://github.com/openvswitch/ovs/commit/5f3818f1c601d006a53a2a2d71faecfc223163b4
  Author: Eelco Chaudron <echaudro at redhat.com>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M lib/mac-learning.c

  Log Message:
  -----------
  mac-learning: Add additional mac-learning coverage counters

This patch adds two additional mac-learning coverage counters:
  - mac_learning_evicted, entries deleted due to mac table being full
  - mac_learning_moved, entries where the port has changed.

Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: f34a5d4022c536484bcee4464c7e2c3e23a020c9
      https://github.com/openvswitch/ovs/commit/f34a5d4022c536484bcee4464c7e2c3e23a020c9
  Author: Eelco Chaudron <echaudro at redhat.com>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M lib/mac-learning.c
    M lib/mac-learning.h

  Log Message:
  -----------
  mac-learning: Add per mac learning instance counters

This patch adds counters per mac_learning instance.
The following counters are added:

total_learned: Total number of learned MAC entries
total_expired: Total number of expired MAC entries
total_evicted: Total number of evicted MAC entries, i.e. entries moved
         out due to the table being full.
total_moved  : Total number of port moved MAC entries, i.e. entries
         where the MAC address moved to a different port.

Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 4ef1edf085a2160a79ec043f885e62b25d2b92a7
      https://github.com/openvswitch/ovs/commit/4ef1edf085a2160a79ec043f885e62b25d2b92a7
  Author: Eelco Chaudron <echaudro at redhat.com>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M utilities/gdb/ovs_gdb.py

  Log Message:
  -----------
  utilities: Update gdb script to include mac_learning counters

This patch updates the GDB script "ovs_show_fdb" command to include
the new per mac_learning instance counters.

Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 95dcecc5b5df36011872dc108f5cc65fbcc7d0d0
      https://github.com/openvswitch/ovs/commit/95dcecc5b5df36011872dc108f5cc65fbcc7d0d0
  Author: Eelco Chaudron <echaudro at redhat.com>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M lib/mac-learning.c
    M lib/mac-learning.h
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto: Add CLI commands to show and clear mac_learning statistics

Add two new commands, fdb/stats-show and fdb/stats-clear, to
ovs-appctl to show and clear the new mac_learning statistics.

$ ovs-appctl fdb/stats-show ovs_pvp_br0
Statistics for bridge "ovs_pvp_br0":
  Current/maximum MAC entries in the table: 4/2048
  Total number of learned MAC entries     : 4
  Total number of expired MAC entries     : 1
  Total number of evicted MAC entries     : 0
  Total number of port moved MAC entries  : 32

$ ovs-appctl fdb/stats-clear ovs_pvp_br0
statistics successfully cleared

Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 6433e2c7fb94bcd081c30bbc28e7a262d8f710cb
      https://github.com/openvswitch/ovs/commit/6433e2c7fb94bcd081c30bbc28e7a262d8f710cb
  Author: Eelco Chaudron <echaudro at redhat.com>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M vswitchd/ovs-vswitchd.8.in

  Log Message:
  -----------
  vswitchd: Document new fdb statistics commands

Document the new fdb/stats-clear and fdb/stats-show commands

Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/04f803fddc8d...6433e2c7fb94
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list