From patchwork Thu May 26 14:25:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng Li X-Patchwork-Id: 1635881 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=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L89GG5Wvvz9s75 for ; Fri, 27 May 2022 00:25:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id A01B1411D2; Thu, 26 May 2022 14:25:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T5tRuun6AsXT; Thu, 26 May 2022 14:25:54 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 00EEF40127; Thu, 26 May 2022 14:25:52 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id C5701C0039; Thu, 26 May 2022 14:25:52 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id DF6B5C002D for ; Thu, 26 May 2022 14:25:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C001B61484 for ; Thu, 26 May 2022 14:25:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z5cSq4LDnvD7 for ; Thu, 26 May 2022 14:25:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from chinatelecom.cn (prt-mail.chinatelecom.cn [42.123.76.226]) by smtp3.osuosl.org (Postfix) with ESMTP id DA162606EB for ; Thu, 26 May 2022 14:25:49 +0000 (UTC) HMM_SOURCE_IP: 172.18.0.218:59660.914202367 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-222.210.154.207 (unknown [172.18.0.218]) by chinatelecom.cn (HERMES) with SMTP id 3C68128009D; Thu, 26 May 2022 22:25:43 +0800 (CST) X-189-SAVE-TO-SEND: +lic121@chinatelecom.cn Received: from ([172.18.0.218]) by app0025 with ESMTP id e3876128e7c84958a3620d3c117e0218 for dev@openvswitch.org; Thu, 26 May 2022 22:25:45 CST X-Transaction-ID: e3876128e7c84958a3620d3c117e0218 X-Real-From: lic121@chinatelecom.cn X-Receive-IP: 172.18.0.218 X-MEDUSA-Status: 0 From: lic121 To: dev@openvswitch.org, i.maximets@ovn.org, echaudro@redhat.com Date: Thu, 26 May 2022 14:25:12 +0000 Message-Id: X-Mailer: git-send-email 1.8.3.1 Subject: [ovs-dev] [PATCH v2 0/2] fix revalidation triggers 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: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" v2: - split lldp patch into two This series fix revalidation trigger: - avoid revalidation if lldp config doesn't change I have these two patch in one series because the second patch may fails without the first one. lic121 (2): lldp: fix lldp memory leak ofproto-dpif: avoid unneccesary backer revalidation lib/lldp/lldpd.c | 10 +++------- lib/ovs-lldp.c | 8 ++++++++ lib/ovs-lldp.h | 1 + ofproto/ofproto-dpif.c | 7 +++++-- tests/ofproto-dpif.at | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 50 insertions(+), 9 deletions(-)