From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7A9EA04C2 for ; Wed, 12 Aug 2020 14:42:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B0CEB1C19C; Wed, 12 Aug 2020 14:42:40 +0200 (CEST) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 78D4B1C19C for ; Wed, 12 Aug 2020 14:42:39 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id a14so1892272wra.5 for ; Wed, 12 Aug 2020 05:42:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=gJdQkOl1YqE3uEiwB1o3Qyt+4O6cHzeTXqnEC3PltCI=; b=Gsma6xLeotNsbG38X2PvMmf6Nb6tc3Xm2rgF5a3Pnlr/HcsUnYWiyHCENCmXfvNqCl Zo4v+WO3DOSlqkCi4nJjJoBg0WLnslQVJjWyA9pvrCwFxjWvQWy/NSxkOdiquGcefP8O M/kir6IOShlb3F1ZqO78+NOyZq4mfnL72rOeP0L2YBWOpYaYvsjz4TAtLesGA7ERICcm pOdwvWi/yqhZGPY16qnyLPkbyF7ti9X4uQOm7bz31AQXhn3EJkV+jubKyW/9sNe++/s2 ux+H48Nk7+93m2AeTlVdZg5TgHFGGhsiyPUDcpYE+SzRXpWH1bkaNvRB6Wi/gW6YsZ17 wPsA== X-Gm-Message-State: AOAM532vAJjv2+OZY9gXAznRh5WJXKN/P/ozPdlo817/ozzqLB3cAwlK im//ynv2EJN08R7YdzkT2Y8= X-Google-Smtp-Source: ABdhPJxZ4pcIEB4j4xI6Sqwen88ztM2BlxY51STWAQMaTzdXzjDWXAdoKLBRdTXD+3FR4ujfiOiD6A== X-Received: by 2002:a5d:5383:: with SMTP id d3mr10413301wrv.42.1597236159122; Wed, 12 Aug 2020 05:42:39 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id k1sm4191349wrw.91.2020.08.12.05.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Aug 2020 05:42:37 -0700 (PDT) Message-ID: <2193f7a294baf38f8f3d1ca1b47fc6ec0f87bf2c.camel@debian.org> From: Luca Boccassi To: Suanming Mou Cc: stable@dpdk.org, rasland@nvidia.com Date: Wed, 12 Aug 2020 13:42:37 +0100 In-Reply-To: <1597136387-49015-1-git-send-email-suanmingm@mellanox.com> References: <1597136387-49015-1-git-send-email-suanmingm@mellanox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 19.11] net/mlx5: fix counter query 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" On Tue, 2020-08-11 at 16:59 +0800, Suanming Mou wrote: > [ upstream commit e1293b10dea9bbae2cb2ebc47b5066df73275e2f ] >=20 > Currently, the counter query requires the counter ID should start > with 4 aligned. In none-batch mode, the counter pool might have the > chance to get the counter ID not 4 aligned. In this case, the counter > should be skipped, or the query will be failed. >=20 > Skip the counter with ID not 4 aligned as the first counter in the > none-batch count pool to avoid invalid counter query. Once having > new min_dcs ID in the poll less than the skipped counters, the > skipped counters will be returned to the pool free list to use. >=20 > Fixes: 5382d28c2110 ("net/mlx5: accelerate DV flow counter transactions") > Signed-off-by: Suanming Mou > --- > drivers/net/mlx5/mlx5.h | 4 +- > drivers/net/mlx5/mlx5_flow.c | 6 +++ > drivers/net/mlx5/mlx5_flow_dv.c | 94 ++++++++++++++++++++++++++++++++- > drivers/net/mlx5/mlx5_prm.h | 3 ++ > 4 files changed, 104 insertions(+), 3 deletions(-) Thanks, applied and pushed. FYI: Gmail marked this email as spam - I noticed it by coincidence. You'll probably want to mention this to your IT folks. --=20 Kind regards, Luca Boccassi