mbox series

[ovs-dev,v2,0/5] Add FDB aging mechanism

Message ID 20230608072917.105629-1-amusil@redhat.com
Headers show
Series Add FDB aging mechanism | expand

Message

Ales Musil June 8, 2023, 7:29 a.m. UTC
Add FDB mechanism that is very similar to
already existing MAC binding aging mechanism.

There are two new config options to achieve that
"fdb_age_threshold" that si configurable per
logical switch and "fdb_removal_limit" which
allows to specify bulk removal limit.

The feature is disabled by default.

Ales Musil (5):
  northd: Extract aging functionality into separate context
  northd: Rename mac-binding-aging to aging
  northd, controller: Add timestamp column to FDB table
  northd, controller: Add FDB timestamp feature indication
  northd: Add FDB aging mechanism

 NEWS                                    |   3 +
 controller/chassis.c                    |   8 +
 controller/pinctrl.c                    |  23 +-
 include/ovn/features.h                  |   1 +
 northd/aging.c                          | 366 ++++++++++++++++++++++++
 northd/{mac-binding-aging.h => aging.h} |  17 +-
 northd/automake.mk                      |   4 +-
 northd/en-northd-output.c               |   8 +
 northd/en-northd-output.h               |   2 +
 northd/inc-proc-northd.c                |  16 +-
 northd/mac-binding-aging.c              | 192 -------------
 northd/northd.c                         |  10 +
 northd/northd.h                         |   1 +
 northd/ovn-northd.c                     |   2 +-
 ovn-nb.xml                              |  15 +
 ovn-sb.ovsschema                        |   7 +-
 ovn-sb.xml                              |   5 +
 tests/ovn.at                            |  64 +++++
 18 files changed, 539 insertions(+), 205 deletions(-)
 create mode 100644 northd/aging.c
 rename northd/{mac-binding-aging.h => aging.h} (69%)
 delete mode 100644 northd/mac-binding-aging.c

Comments

Mark Michelson June 8, 2023, 8:15 p.m. UTC | #1
Thanks for the rebase Ales. I pushed the series to main.

On 6/8/23 03:29, Ales Musil wrote:
> Add FDB mechanism that is very similar to
> already existing MAC binding aging mechanism.
> 
> There are two new config options to achieve that
> "fdb_age_threshold" that si configurable per
> logical switch and "fdb_removal_limit" which
> allows to specify bulk removal limit.
> 
> The feature is disabled by default.
> 
> Ales Musil (5):
>    northd: Extract aging functionality into separate context
>    northd: Rename mac-binding-aging to aging
>    northd, controller: Add timestamp column to FDB table
>    northd, controller: Add FDB timestamp feature indication
>    northd: Add FDB aging mechanism
> 
>   NEWS                                    |   3 +
>   controller/chassis.c                    |   8 +
>   controller/pinctrl.c                    |  23 +-
>   include/ovn/features.h                  |   1 +
>   northd/aging.c                          | 366 ++++++++++++++++++++++++
>   northd/{mac-binding-aging.h => aging.h} |  17 +-
>   northd/automake.mk                      |   4 +-
>   northd/en-northd-output.c               |   8 +
>   northd/en-northd-output.h               |   2 +
>   northd/inc-proc-northd.c                |  16 +-
>   northd/mac-binding-aging.c              | 192 -------------
>   northd/northd.c                         |  10 +
>   northd/northd.h                         |   1 +
>   northd/ovn-northd.c                     |   2 +-
>   ovn-nb.xml                              |  15 +
>   ovn-sb.ovsschema                        |   7 +-
>   ovn-sb.xml                              |   5 +
>   tests/ovn.at                            |  64 +++++
>   18 files changed, 539 insertions(+), 205 deletions(-)
>   create mode 100644 northd/aging.c
>   rename northd/{mac-binding-aging.h => aging.h} (69%)
>   delete mode 100644 northd/mac-binding-aging.c
>