mbox series

[ovs-dev,v1,0/3] dpctl conntrack: Add nconns/maxconns commands.

Message ID 1513614439-40419-1-git-send-email-dlu998@gmail.com
Headers show
Series dpctl conntrack: Add nconns/maxconns commands. | expand

Message

Darrell Ball Dec. 18, 2017, 4:27 p.m. UTC
Commands are added to:
Get the number of conntrack connections.
Get the maximum limit of conntrack connections.
Set the maximum limit of conntrack connections.

These commands are only supported in the userspace
datapath at this time.

A supporting test is added.

Darrell Ball (3):
  dpctl conntrack: Add get and set maxconns command.
  dpctl conntrack: Add get number of connections command.
  tests: Add dpctl test for conntrack nconns/maxconns.

 lib/conntrack.c                  | 21 +++++++++
 lib/conntrack.h                  |  3 ++
 lib/ct-dpif.c                    | 24 ++++++++++
 lib/ct-dpif.h                    |  3 ++
 lib/dpctl.c                      | 94 ++++++++++++++++++++++++++++++++++++++++
 lib/dpctl.man                    | 18 ++++++++
 lib/dpif-netdev.c                | 27 ++++++++++++
 lib/dpif-netlink.c               |  3 ++
 lib/dpif-provider.h              |  6 +++
 tests/system-kmod-macros.at      | 19 ++++++++
 tests/system-traffic.at          | 85 ++++++++++++++++++++++++++++++++++++
 tests/system-userspace-macros.at | 12 +++++
 12 files changed, 315 insertions(+)