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.
v1->v2: Use atomic_store_relaxed instead of atomic_init
Add NEWS items.
Add missing comments to the documentation that new
commands are only supported for the userspace datapath.
Darrell Ball (3):
dpctl conntrack: Add get and set maxconns command.
dpctl conntrack: Add get number of connections.
tests: Add dpctl test for conntrack nconns/maxconns.
NEWS | 4 ++
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 | 21 +++++++++
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 +++++
13 files changed, 322 insertions(+)
--
1.9.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev