From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by dpdk.org (Postfix) with ESMTP id 124354CA0 for ; Tue, 2 Oct 2018 06:28:06 +0200 (CEST) Received: by mail-lf1-f45.google.com with SMTP id o21-v6so423381lfe.0 for ; Mon, 01 Oct 2018 21:28:06 -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=LlvAJL6Twm9JgCrj0QjnniZV6Ou6u6EHVOFzHoX3b+c=; b=fzeAhNn6OtP+UTzIr2lwT26u59F0nKnQH0PLKEBU0c05X3o2Wd4bFE278tF07hS4iW 4KFQxQ5RcOhxgXDXCHkufp5sAiJn1KWKiM+r6mjyhhV1t7GZzE5uf33ppo+L6a73muDB osMv1zaAYMqbYtk7tsavyHUKa4sdQjlhp8e+HNAhPigBqGf7dUGFA5b6Iikcv2cBryrt TIPmc+5Q+JX6h4gk6/w560HwjhSxX2Wd1bD9t/xG9nncPmibp+6v60d5AOLvqmT/9QoV WZ3/qbU4+J+TIAeriyRUU4joCLTwP4uy1Thbe28OnoJd4vkBynGLFOZy3YkD7lESAofq 9l/Q== 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=LlvAJL6Twm9JgCrj0QjnniZV6Ou6u6EHVOFzHoX3b+c=; b=awNe5JHK5hcxgLUHYxyBTqSR+WRzVfpQydXcNYSxanLxJ6grvcIV5uT7PHsWR8ANGM TsgifA042+xNSZwEWrm9IhBTAlu914/KX0l5kPEJbXQkW64EA0HWjrtunmzc7bwD0Fgd RB4rBVih2ew7X80iHCr7sw7qMTTDuk2OcVi+sTKodX1C2k4UowQg+0nQBgiO0mb4jTLR Iu2MHEkYUFIMCdHvEjY99vSiQ1nBkAlN7ZLM4SM7KmPkvkfAzgQMbeSAF7cSzwkm3KJX dB4EfJedod0xWkc4VGhUAxzQ5Ry8Kyaizu6Qgttfy75rXkDsLDM54vYW9+SydpIsyIhm NbGQ== X-Gm-Message-State: ABuFfohrxsMb51C9jVqz2ISXiNudgtB1H9G5KeN9wycoj1Oyi3gxfYon zYpBRJsIMZ6rUZhvPM3f5y7tXzX9yKGLAO1eScE= X-Google-Smtp-Source: ACcGV61VWlmVZoqgifz/UD4O0AU+ZIn+J+Wk8SrXyxCkgchtE4LFYX9kRZfv9N9nnUdUwbYh8jyaZfoNXyvp/GaR0NY= X-Received: by 2002:a19:98c1:: with SMTP id a184-v6mr6817992lfe.94.1538454485480; Mon, 01 Oct 2018 21:28:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arvind Narayanan Date: Mon, 1 Oct 2018 23:27:53 -0500 Message-ID: To: shaklee3@gmail.com Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] rte_flow error after upgrading 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: Tue, 02 Oct 2018 04:28:06 -0000 It is because of a recent patch http://patchwork.dpdk.org/patch/36068/ If you don't care about VLAN action, just remove that action all together and check the correctness of your code. If all of them are going to q0 (and assuming isolation mode is not enabled), then it is most likely because packets don't match any of the rte_flow rules you created. A On Mon, Oct 1, 2018 at 11:20 PM Cliff Burdick wrote: > Hi, I upgraded to DPDK 18.05 from 17.11 and a previously-working rte_flow > code now fails. I'm using the mlx5 driver, and when I do something similar > to the rte_flow example code, the following error shows: > > "VLAN cannot be empty" > > I looked at the code in .drivers/net/mlx5/mlx5_flow.c, and it looks like it > now complains when the mask isn't set on a VLAN flow layer. I tried setting > the mask to 0xffff, and the error no longer shows, but packets are not > classified properly either, and they all go to queue 0. Has anyone been > able to get a working rte_flow queue classifier working with 18.05+? >