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 6DDA8A00E6 for ; Thu, 18 Apr 2019 09:11:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 30E1E1B805; Thu, 18 Apr 2019 09:11:35 +0200 (CEST) Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com [209.85.222.48]) by dpdk.org (Postfix) with ESMTP id 00A121B890 for ; Thu, 18 Apr 2019 09:11:33 +0200 (CEST) Received: by mail-ua1-f48.google.com with SMTP id l22so445170uao.8 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=lt3sDSeWdlPUDtSz/P7H8sJgpAR2MBzJjmTlxtUPCoRQyxkNec0aQRuf5wP7jcj+e5 +b9aQqPIJiOE+Em/fJ/Kd/o8ax+zqfhPPMkBHzT6QzGkYLZ/R6ns9d+Ezj80Lv3c2/X5 K4DW9lMeZYahQ0wEVB69S4XVWIJttpLrv+sx5RT85hDpyQSCLvHuaT/hqEHSTZjmtxNZ /sNrPvQz5U+QkheHDz0mWsXnZOr2JCDQD1G0mey4wlRvLmB/Qpm5nvPkBLYxCyCk6B1t tvQuXnzYVoPeYjt6681dYwJfsZe+ZD1HrxtKLiitCusjzfGuXMvdcpU6Maw0k4d89TP8 n1Og== X-Gm-Message-State: APjAAAXNTHpMlya8krkzj5zJDIWVgKnx9SYp5PD+phYBLnoA38rLH1dP HFWyNXuPcA7VH74O9swTyHYs8XdukY3BhALCnQZQXg== 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-stable] [dpdk-dev] [PATCH 2/4] net/bonding: fix LACP fast queue Rx handler X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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