From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by dpdk.org (Postfix) with ESMTP id 1D1231B9FD for ; Fri, 12 Oct 2018 18:11:24 +0200 (CEST) Received: by mail-yb1-f175.google.com with SMTP id g15-v6so5120888ybf.6 for ; Fri, 12 Oct 2018 09:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8oLILqpyCdK3KVgZdZS6J+3WNPmR29eEuTaFd7ZWRwk=; b=ctr3Hq3gwK8ndpx234e0d00g2xoVYO3yo7po0k2rokoRvfv3JbD9KAP7xa7OVLUl/f tVxfV8BG3QniRjFbF5pLX9B91Rn26VBQ0qSYBF4ruyPKJdyonx0i+OacBdBiwrb8QEeX vMaM+0zGdIbZ2zPhuA6uCy4PsqvV3+ZhOBizNQaYQhaXWzg4Vipf3DUBzNAthlW60xZW wA5WUkXVEgfZcATycv42tQf8OltbTjN2Iu5FJ4G5+Y1y2Gu07b7/BM+FOL5BPT/Ncnht 2fUXJo4SiIShpiuP5sIvI9sENkFtH0pplA2qDnQsdYUrDODmHuE2vQ3JDOvuNhQqjEmd beEA== 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=8oLILqpyCdK3KVgZdZS6J+3WNPmR29eEuTaFd7ZWRwk=; b=Fcw2sXhIx8Tu1tucoecqjHD6yeNSSu4V+ygFpZxMxlVZ4AJgtzjhqWgsLkD1Ciobn1 50LrzP5fwN7S89UldKkEyBEUhfxn5WExBAHpHVhcPbSXMiwERw3+9Tsfq9qW6Gnk7ISM 8href4i9TCp2fKg4OfdrlqPph4bSMGamSHzy0dyDD+EjHuwN5Tc3rO2rxmNc5ZJ0D5dn C7j1KT7urzHy1fWAofSD+I2ZeBwCeU4VkniaocD6cnk03rjxq1ANP8egW2aXxQAE+nY7 SsBk3x2EtbSLMxK3HZth0ystbynKlwF+d3azYAlpacc2LB66tHamzSVQrgKqPjmfAbTf h4YA== X-Gm-Message-State: ABuFfoih7G0GW9JxY8h3iubzg3So9Is+L0ojvGXqrwtOOyUbnOaRPb1e mN+fp/oOxgdKmmvvgF6Q7TcCr7UfMA6GfR1GG0o= X-Google-Smtp-Source: ACcGV61DGvq4myzScA5vX2+x/ASJxpSoNaW+gC4Ymtkstquj0aAeNvHsmD9I7VTew0R7UBdPrc8F08J6GwvzPW+Qcos= X-Received: by 2002:a25:3455:: with SMTP id b82-v6mr3753658yba.471.1539360683073; Fri, 12 Oct 2018 09:11:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Fri, 12 Oct 2018 09:11:11 -0700 Message-ID: To: rasland@mellanox.com Cc: katsikas.gp@gmail.com, users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Problem installing rules with counters on MLX5 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2018 16:11:24 -0000 Hi Raslan, can you confirm if rte_flow is partially broken in dpdk 18 on mlx5? The example code for rte_flow is broken, and I didn't see any responses here: http://mails.dpdk.org/archives/users/2018-October/003510.html On Thu, Oct 11, 2018 at 5:16 AM Raslan Darawsheh wrote: > Hi Georgios, > > You are trying to create the same rule with three different actions. > I would suggest that you change your mask to be proto is 1/6/17 > This way you'll have three different rules > > Kindest regards, > Raslan Darawsheh > > > -----Original Message----- > > From: users On Behalf Of Georgios Katsikas > > Sent: Thursday, October 11, 2018 3:01 PM > > To: users@dpdk.org > > Subject: [dpdk-users] Problem installing rules with counters on MLX5 > > > > Dear all, > > > > I am trying to install 3 simple rules (to match ICMP, TCP, and UDP > flows) on a > > Mellanox ConnectX-5 100 GbE NIC using DPDK's flow API. > > The rules are as follows: > > > > 1. flow create 0 ingress pattern eth type is 2048 / ipv4 proto spec 1 > > proto mask 0x0 / end actions queue index 0 / count / end > > 2. flow create 0 ingress pattern eth type is 2048 / ipv4 proto spec 6 > > proto mask 0x0 / end actions queue index 0 / count / end > > 3. flow create 0 ingress pattern eth type is 2048 / ipv4 proto spec 17 > > proto mask 0x0 / end actions queue index 0 / count / end > > > > Only the first rule gets properly installed. The remaining 2 rules throw > the > > following error: > > Caught error type 1 (cause unspecified): hardware refuses to create flow > > > > If I try to incorporate 'count identifier shared 0', I still get > error (with > > or without shared). > > If I try to install the same rules without action count, then everything > works > > as expected. > > Action count on rules that match src/dst IP addresses works fine. > > Could you please shed some light on this? > > > > I am using DPDK 18.08 with Mellanox OFED 4.4-2.0.7.0 (latest). > > > > Thanks, > > Georgios >