From patchwork Sun Jul 21 08:34:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roi Dayan X-Patchwork-Id: 1134514 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45ryjS6fkTz9sDQ for ; Sun, 21 Jul 2019 18:35:08 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id BE399BA0; Sun, 21 Jul 2019 08:35:04 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id A5229B79 for ; Sun, 21 Jul 2019 08:35:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id BE477FE for ; Sun, 21 Jul 2019 08:34:53 +0000 (UTC) Received: from Internal Mail-Server by MTLPINE2 (envelope-from roid@mellanox.com) with ESMTPS (AES256-SHA encrypted); 21 Jul 2019 11:34:47 +0300 Received: from r-vnc05.mtr.labs.mlnx (r-vnc05.mtr.labs.mlnx [10.208.0.115]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x6L8YlS0015331; Sun, 21 Jul 2019 11:34:47 +0300 From: Roi Dayan To: dev@openvswitch.org Date: Sun, 21 Jul 2019 11:34:20 +0300 Message-Id: <1563698063-28256-1-git-send-email-roid@mellanox.com> X-Mailer: git-send-email 2.7.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Simon Horman , Vlad Buslov Subject: [ovs-dev] [PATCH 0/3] be able to tune revalidator timing X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Hi, The following series expose configuration options to be able to tune revalidator timing to different setups at runtime instead of using hard coded values. Thanks, Roi Vlad Buslov (3): upcall: Configure datapath max-revalidator through ovs-vsctl. upcall: Change should_revalidate to use max-revalidator value upcall: Configure datapath min-revalidate-pps through ovs-vsctl. ofproto/ofproto-dpif-upcall.c | 9 +++++---- ofproto/ofproto-provider.h | 8 ++++++++ ofproto/ofproto.c | 19 +++++++++++++++++++ ofproto/ofproto.h | 4 ++++ vswitchd/bridge.c | 6 ++++++ vswitchd/vswitch.xml | 25 +++++++++++++++++++++++++ 6 files changed, 67 insertions(+), 4 deletions(-)