> On 19 Sep 2018, at 21:39, Anand Kumar <[email protected]> wrote:
> 
> This patch implements limiting conntrack entries
> per zone using dpctl commands.
> 
> Example:
> ovs-appctl dpctl/ct-set-limits default=5 zone=1,limit=2 zone=1,limit=3
> ovs-appctl dpct/ct-del-limits zone=4
> ovs-appctl dpct/ct-get-limits zone=1,2,3
> 
> - Also update the netlink-socket.c to support netlink family
>  'OVS_WIN_NL_CTLIMIT_FAMILY_ID' for conntrack zone limit.
> 
> Signed-off-by: Anand Kumar <[email protected]>
> ---
> v3->v4:
>  - Fix macro defnition
> v2->v3:
>  - Change loop index variable from UINT16 to UINT32
> v1->v2:
>  - Use spinlock to guard against multiple access.
>  - Use Interlock api to update zone counters.
>  - Address review comments.
> ---
> datapath-windows/include/OvsDpInterfaceExt.h |   1 +
> datapath-windows/ovsext/Conntrack.c          | 167 ++++++++++++++++++++++++++-
> datapath-windows/ovsext/Conntrack.h          |  12 ++
> datapath-windows/ovsext/Datapath.c           |  34 +++++-
> lib/netlink-socket.c                         |   5 +
> 5 files changed, 216 insertions(+), 3 deletions(-)
> 

Thanks a lot for the patch! I tested it a bit and things look ok.

Acked-by: Alin Gabriel Serdean <[email protected] <mailto:[email protected]>>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to