From patchwork Thu Dec 17 19:23:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Traynor X-Patchwork-Id: 1417917 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=dNUL17EJ; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CxhkV3gtLz9sT5 for ; Fri, 18 Dec 2020 06:24:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 48FBB87AD8; Thu, 17 Dec 2020 19:24:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8VYV9aCLB-hd; Thu, 17 Dec 2020 19:23:59 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id B1A6287AC8; Thu, 17 Dec 2020 19:23:59 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9E91BC088E; Thu, 17 Dec 2020 19:23:59 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id E675FC013B for ; Thu, 17 Dec 2020 19:23:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D3A2F876BB for ; Thu, 17 Dec 2020 19:23:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tNV58f8I9EtB for ; Thu, 17 Dec 2020 19:23:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 663DA876BA for ; Thu, 17 Dec 2020 19:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608233036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p5DC1B6GJRcuHi1KmldAuHQz85C5GeY0Yj3g8JUSqfo=; b=dNUL17EJ0usSoZnLlgsvuPOFsi6M2FTZI1qEvfcRjyGQVDF8imR6DlyJV5YYKmEcUKkl7n FDLm2u3hFVWihhlH5/UBkg2Q8KNUeHB09VMcNDBzdiotltnbFf3Ah6Kx7pH9FxjmJDerHy DdPQSoFvIopptE5xzlq5MgP63mbt9Cs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-14-o49WsrQDNnK_9kwR83-78Q-1; Thu, 17 Dec 2020 14:23:54 -0500 X-MC-Unique: o49WsrQDNnK_9kwR83-78Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 81FFC19251A0; Thu, 17 Dec 2020 19:23:53 +0000 (UTC) Received: from rh.redhat.com (ovpn-114-24.ams2.redhat.com [10.36.114.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id C0BBD18993; Thu, 17 Dec 2020 19:23:47 +0000 (UTC) From: Kevin Traynor To: dev@openvswitch.org Date: Thu, 17 Dec 2020 19:23:28 +0000 Message-Id: <20201217192331.549753-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: fbl@sysclose.org, i.maximets@ovn.org, david.marchand@redhat.com Subject: [ovs-dev] [PATCH v4 0/3] Add auto load balance parameters X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" v4: - Changed naming of params - Updated default #defines names - Used atomic for param accessed in the pmd thread - Revert to default if param range is exceeded - Only set params if they are changed - Add logging for params when they are changed - Add log for auto load balance enabled/disabled when param changed Christophe Fontaine (1): dpif-netdev: Add parameters to configure auto load balance. Kevin Traynor (2): dpif-netdev: Add better debug on auto load balance parameters. AUTHORS: Add Christophe Fontaine. AUTHORS.rst | 1 + NEWS | 1 + lib/dpif-netdev.c | 68 +++++++++++++++++++++++++++++++++++--------- vswitchd/vswitch.xml | 27 +++++++++++++++++- 4 files changed, 83 insertions(+), 14 deletions(-)