From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 44F2FF72 for ; Mon, 23 Jul 2018 19:09:55 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id e7-v6so1438915wrs.9 for ; Mon, 23 Jul 2018 10:09:55 -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:mime-version; bh=TwSlzwK+mhwHVq+1v1uyD7wNJOSb/QYfVoTllNzUdec=; b=qZo+bA0kuYOzEUBUCTDvuhQcc3az9lHj0eyvkXIRYfvZjtW0iiNiUhcSC/dmHfm0/r Gw8LoD/ciyHCSSHNRtfHXIObdUL6oyVoudpo7LHx+wfw05i0FSEV6NijxoaNTOAu1Lc+ TlP58tAO0BZKI7/VjAFMWjusZvbldI4zG7RrbIXl2efMpf2bO2YNgmj9ajEblkIIrwjt Fc+RfF7BthE1Rb3UwJD6pmvqp6HSNd6YhWcXijPuAhJ6pbztHFKtbBrSMFP+i9EP/FAt fcdyJKzEg2FF9OfXbAURACvFzV1jRndU0DL3jR7fH4D0ggyz1aMzHk/2/+FBIQ3c8a1G W9zg== X-Gm-Message-State: AOUpUlGpkw/8Is5+beujeTveK88Cc5O8THidNyigh5G7KtsqUS/+Y2zh bgcg3e72ESNLNtWCYqeKxKRSK01u X-Google-Smtp-Source: AAOMgpf7OhwWQPalSFqbTMmO2tHoUoiOdMwYGr3DJ1ErhiuYyCJqRb1mizeLc1TXqjA+vP9E3+UZhg== X-Received: by 2002:adf:bc03:: with SMTP id s3-v6mr9741573wrg.211.1532365795054; Mon, 23 Jul 2018 10:09:55 -0700 (PDT) Received: from localhost ([2a00:23c5:be94:4600:7b12:f8a0:fd52:f87d]) by smtp.gmail.com with ESMTPSA id y102-v6sm12723954wmh.9.2018.07.23.10.09.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 10:09:53 -0700 (PDT) Message-ID: <1532365793.7624.11.camel@debian.org> From: Luca Boccassi To: Shahaf Shuler , stable@dpdk.org, christian.ehrhardt@canonical.com, yskoh@mellanox.com Cc: orika@mellanox.com Date: Mon, 23 Jul 2018 18:09:53 +0100 In-Reply-To: <1532331035-152775-1-git-send-email-shahafs@mellanox.com> References: <1532331035-152775-1-git-send-email-shahafs@mellanox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix compilation for rdma-core v19 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: , X-List-Received-Date: Mon, 23 Jul 2018 17:09:55 -0000 On Mon, 2018-07-23 at 10:30 +0300, Shahaf Shuler wrote: > [ backported from upstream commit > 06b1fe3f6d2121009b3b879e92b8cca25d4c0c42 ] >=20 > The flow counter support introduced by > commit 9a761de8ea14 ("net/mlx5: flow counter support") was intend to > work only with MLNX_OFED_4.2 as the upstream rdma-core > libraries were lack such support. >=20 > On rdma-core v19 the support for the flow counters was added but with > different user APIs, hence causing compilation issues on the PMD. >=20 > This patch fix the compilation errors by forcing the flow counters > to be enabled only with MLNX_OFED APIs. > Once MLNX_OFED and rdma-core APIs will be aligned, a proper patch to > support the new API will be submitted. >=20 > Fixes: 9a761de8ea14 ("net/mlx5: flow counter support") > Cc: stable@dpdk.org > Cc: orika@mellanox.com >=20 > Reported-by: Stephen Hemminger > Reported-by: Ferruh Yigit > Signed-off-by: Shahaf Shuler > --- > =C2=A0drivers/net/mlx5/Makefile=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A02 +- > =C2=A0drivers/net/mlx5/mlx5_flow.c | 13 +++++++------ > =C2=A02 files changed, 8 insertions(+), 7 deletions(-) Hi Shahaf, For which stable release branch is this patch intended? --=20 Kind regards, Luca Boccassi