From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E0E38A00E6 for ; Thu, 18 Apr 2019 09:11:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5FA081B924; Thu, 18 Apr 2019 09:11:35 +0200 (CEST) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) by dpdk.org (Postfix) with ESMTP id EF7B41B805 for ; Thu, 18 Apr 2019 09:11:33 +0200 (CEST) Received: by mail-ua1-f42.google.com with SMTP id c13so432964uao.12 for ; Thu, 18 Apr 2019 00:11:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yZfM97AEth0kehxo8ZvfZlD2pX8DXx0EMlhklvp764A=; b=FAxE38y882E7dYMpR+69cMg6QbR0wsDul/XZ362Vfaswp6Ed1oYOpI+0SYE8HFjGs9 U7deP9GE+aZIGEEow9pNfUNbGQfhvni3GRzxuirEV8aflOuzKdekaftJ/vEo+PawIEbQ HLwEODe4Cr6JnO9ftj3URo82KhXUM/hfoARz5lLE2wKtBDfAQ0I201qCdAqWFH/bW+5K On/AH9oZ00UPv/wbptiU66Gx4oWc5ih3t27+NsYszNuMD6+QugX4AWF00Y0zUjAm4BHQ fijsfmWtn94G8bw+qMsLPiSRj/xPPe5Q2eLhX/AS+GDos1FPMcNiTsK524VlmurhXS94 GsDw== X-Gm-Message-State: APjAAAXY+bgaUmVf5FADIgofdtJkywVWvUNmVtYNZzqxpKWIVdAodKaQ a9xej+6SPeRjOAqzx+IGRRvRrr0oDkgoPTvbjHQaSA== X-Google-Smtp-Source: APXvYqyb1sBYnkARnDh7AF5neTeQsBfYE7ocOiJVvRF9+bMm3OIwdR/iIKbH4p1w5qAulO3MdJgT2TESenyiBlbFqz0= X-Received: by 2002:ab0:1591:: with SMTP id i17mr48004020uae.41.1555571493128; Thu, 18 Apr 2019 00:11:33 -0700 (PDT) MIME-Version: 1.0 References: <1554900829-16180-1-git-send-email-david.marchand@redhat.com> <1554900829-16180-3-git-send-email-david.marchand@redhat.com> <9a4fa115-0f92-9686-ae89-0f1427ab6d29@gmail.com> In-Reply-To: <9a4fa115-0f92-9686-ae89-0f1427ab6d29@gmail.com> From: David Marchand Date: Thu, 18 Apr 2019 09:11:22 +0200 Message-ID: To: Chas Williams <3chas3@gmail.com> Cc: dev , =?UTF-8?B?UHJ6ZW15c8WCYXcgT8WCdGFyemV3c2tp?= , dpdk stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH 2/4] net/bonding: fix LACP fast queue Rx handler X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190418071122.UrohTDLMKy97eA2J_tpvsWK9MpelExygQ0VYGKWYqlk@z> Hello Chas, On Fri, Apr 12, 2019 at 4:02 PM Chas Williams <3chas3@gmail.com> wrote: > I should have some time this weekend to run these patches through our > regression system. > Did you manage to run this series through your tests system ? > On 4/10/19 8:53 AM, David Marchand wrote: > > @@ -357,10 +318,16 @@ > > hdr = rte_pktmbuf_mtod(bufs[j], struct ether_hdr > *); > > subtype = ((struct slow_protocol_frame > *)hdr)->slow_protocol.subtype; > > > > - /* Remove packet from array if it is slow packet > or slave is not > > - * in collecting state or bonding interface is not > in promiscuous > > - * mode and packet address does not match. */ > > - if (unlikely(is_lacp_packets(hdr->ether_type, > subtype, bufs[j]) || > > + /* Remove packet from array if: > > + * - it is slow packet but no dedicated rxq is > present, > > + * - slave is not in collecting state, > > + * - bonding interface is not in promiscuous mode > and > > + * packet is not multicast and address does not > match, > > + */ > > + if (unlikely( > > The coding style checker doesn't like this: > > CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' > Yes, I had seen this warning, just found it easier to read this way. > > + (!dedicated_rxq && > > + is_lacp_packets(hdr->ether_type, subtype, > > + bufs[j])) || > > !collecting || > > (!promisc && > > !is_multicast_ether_addr(&hdr->d_addr) && > > -- David Marchand