From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com [209.85.221.177]) by dpdk.org (Postfix) with ESMTP id 9FB581B587 for ; Thu, 11 Oct 2018 14:00:53 +0200 (CEST) Received: by mail-vk1-f177.google.com with SMTP id l65so2076941vki.8 for ; Thu, 11 Oct 2018 05:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wVKdIr7o33JTx1pz4TZ3ZiPqCKHxKNDc0bt92QyrsOE=; b=Py9Jbfzn+bl/TWpbllVHZ/ciQgXXzYSOd/dp7DroJUKMrDn4qzXeeonWvbRttdLnzZ 0ZhBVYUseu9dF8PFaF+sHgsfzIujxz6Pg2UeLxnhEUC38NVoPOFV6KE99F5AG9Rw5YJY A/9+nnY1uiZnLFc3npDU4JB8aTHKsahfwKZcznJl4bWO7GWQiyrq4/IZd27OkR/ppVoC HA3DtkoMdc5flJiQsMOSK4t32m9W6gh0fAN5HcLamCRmdsJUotsotDP4cBMtEvpXj11m m8tdyvvAYGHjrsBnZMTzKTUZlZdR5SjDPxDk2Lwzm2MUyvDyUjRDqUAQQ5RNYQFBvi5W zqFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wVKdIr7o33JTx1pz4TZ3ZiPqCKHxKNDc0bt92QyrsOE=; b=sb4UmKxSUMI+i8AmXQFG0xeDKUWMFVTr+7WWSlB8nzLPKNh7m2Vdf+4P042XuTy+uV kMwmAgZnoceLnTD2LQ8d0wINKq00nulWW2QY7YRqDLLls9fIOMpqN8BIZmeuL7CvQb/H BcfdNsaYa+Q2p2zjGKiiw9QbM7U0i8m+bUsqYJSotSIwfSHR7m4e5P2WpXbBkUNlOg+1 JTRtsUKUT1iE6vmNsnoa+vQQ3aXYPlS+Z6jDCli4/R76k3F64htEXBY5WmuckA0bDmFx 6oc5JDRUIxdv/5BTMY2hvPnC0DUiKZHpAxL8buVDSjJbl8P1U2GARNkWO2L/p8x/s0k4 p/3g== X-Gm-Message-State: ABuFfohdsHNREiUvvfpxcXRzedVxdzL/h2axuqIzX5KoIwWhxCPSuJoq cK3BbVIha0Twcamy1o4IXXudTi0MqaPisXzCWAF6hXJq X-Google-Smtp-Source: ACcGV604ExHvEjwKCAKqzYPtodG2wk1I3O4neHfUKorgGb92u3bKLIugdmWNh13qttbKEzZxCsIpdJZ9zvwNOK3UwMw= X-Received: by 2002:a1f:1b4e:: with SMTP id b75mr531606vkb.68.1539259252135; Thu, 11 Oct 2018 05:00:52 -0700 (PDT) MIME-Version: 1.0 From: Georgios Katsikas Date: Thu, 11 Oct 2018 15:00:41 +0300 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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: Thu, 11 Oct 2018 12:00:53 -0000 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