From patchwork Fri Sep 8 01:34:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: duanjiong X-Patchwork-Id: 811278 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Y/3VfXn8"; dkim-atps=neutral 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 3xpKc90GJ8z9sBZ for ; Fri, 8 Sep 2017 11:34:15 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id DE0B3A74; Fri, 8 Sep 2017 01:34:11 +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 6856840A for ; Fri, 8 Sep 2017 01:34:10 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id D7A9C47F for ; Fri, 8 Sep 2017 01:34:09 +0000 (UTC) Received: by mail-lf0-f66.google.com with SMTP id m199so505049lfe.5 for ; Thu, 07 Sep 2017 18:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tqBf8oKUtjw/9jm2Enc5yYQa+U80IG3qFwixByL1bQo=; b=Y/3VfXn8RPPwAcMoj3AgY0KMa3waGZicIoz4WifimQ3HzGNtYaM7YMLLmk2AolMqFt hQ+c2XEb8JrUXzHTRRgSWNciJkEfmBiO78OCnlhubb576KPGsqUAKA4ftCn5WkVE00pH 3V8r6yPDnZMZ0KWuz3v/iwkfn+l4VD/ctApTLt1KOTdv8fTVK/1ByrdfSqdm+txD12Fz Tac+a+xEeUoFjX4biY/h/pEzE3IjFfWB1xw0B5YWTKSg3JuuqrOK2f0wR74Ehe1pQBr6 LeeJaGq4bm5d2aWz0ozK+tiBj/0kgl7mdwsIV25MK0QyjtUVlpWMjBjkp6/xWjiFb5Ke 3LCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tqBf8oKUtjw/9jm2Enc5yYQa+U80IG3qFwixByL1bQo=; b=qAe8Zy6jRFjsZXx6g5WmZp/7R0YUadphs9INwDNCv0D8nFY+1w7qmSiucs2+RXAjd1 RjjVyuCL1bGHun5f8yGYga6bP07NmFmiTcgVE28+/ro2Pnl2bteYY1cZbMyOoHylTP+/ Cusq5FcP9gEUEsTDFmnqVdIUIuWOtF5N4/XcEZdmWnI+tZnQh+7Vz3Mwird8NGFa7u5A v+k4IIEuUeAly2cS58wbxxY/myK8V1lt46mC7sw0aYsrYnAFxipKePf95tirEB4lw/Kd hGoOe/AiomnZYg6ZwVsXQQS+BxEgcVRS7YosSD6pYyerNx1wzrqpqgBJtGmZi0anYTjh S21A== X-Gm-Message-State: AHPjjUj8Ix3Ty4Xdd5Bt6cBzJPL084dxU3vxmps+nAZ9Yp4b4YhDFE7R TDOfj3jbozHsMQxLNLacWmalo3TZBbOT X-Google-Smtp-Source: ADKCNb4DV4HXEBKJSvBpbSbhdHjIN7bkIR9yTdLU8yJuJpUsu87NjUv2GsX+feCbLiW1saacgHUz2h01bvw5sRvsiF0= X-Received: by 10.46.1.223 with SMTP id f92mr376694lji.9.1504834447943; Thu, 07 Sep 2017 18:34:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.92.198 with HTTP; Thu, 7 Sep 2017 18:34:07 -0700 (PDT) From: Duan Jiong Date: Fri, 8 Sep 2017 09:34:07 +0800 Message-ID: To: dev@openvswitch.org X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Content-Filtered-By: Mailman/MimeDel 2.1.12 Subject: [ovs-dev] [PATCH] fix the comment in struct ofbundle 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: , Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org From 415ad9ffdb57a012729bef4ff19d1dc7b5b4cbcd Mon Sep 17 00:00:00 2001 From: Duan Jiong Date: Fri, 8 Sep 2017 09:30:31 +0800 Subject: [PATCH] fix the comment in struct ofbundle the ovs_list ports should contain struct ofport_dpif Signed-off-by: Duan Jiong --- ofproto/ofproto-dpif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 1a8e829..59927eb 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -92,7 +92,7 @@ struct ofbundle { char *name; /* Identifier for log messages. */ /* Configuration. */ - struct ovs_list ports; /* Contains "struct ofport"s. */ + struct ovs_list ports; /* Contains "struct ofport_dpif"s. */ enum port_vlan_mode vlan_mode; /* VLAN mode */ uint16_t qinq_ethtype; int vlan; /* -1=trunk port, else a 12-bit VLAN ID. */