From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) by dpdk.org (Postfix) with ESMTP id 79C8E914 for ; Mon, 18 Jul 2016 18:36:44 +0200 (CEST) Received: by mail-io0-f177.google.com with SMTP id m101so164330353ioi.2 for ; Mon, 18 Jul 2016 09:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blendin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=K5NoO7x7WgK4KSqwVk9/kzuiC6c3vFjpmRDXSb7yvyM=; b=Ds936QqtJTHN2ydF0xBhNNsQqZEQKZvs6z4wfFdr/hpGu4eU/1qSMmf3pwQSUhIG+d O3/V+XXvwYJapHIWpIIxpZOrwKlic4d3h60EC/P1pMs8mHuLxozp+APGDZ/s8+7MPS47 uXh+BimwRFlynh7De03w4BYQf5f1kWb5KizFDbLBp9gjA0P5lH/5CkfHDmUFP+a7TUZk F9uEvEhkiKwNTQ6+k9d/ndm7XLUAUCW8OhD5EXJGJoYOSrbg45wnXTVpfjYgljwNJwcw rAMf2ms2BmKXQOAzuaNBVPWUX12uo0S7HLCjJsTjT2KmMr6ybF3/SilCCfN6FCHjDkWx drGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=K5NoO7x7WgK4KSqwVk9/kzuiC6c3vFjpmRDXSb7yvyM=; b=CjAuUqbDz5xjnebEJBj8j021Lu07A9QWSmOT9Kfeeixx76koBG+IVbngDOdsxFmijZ my/fGCwOi4my/E9cg0wWOBwpFBLrnQO27x27So9XLms40HbroXRIjLh1oyZp96koamWb E4YNmJBn362Kk9R97ADZymf8sgH5V6g+aDk/XnKgVxddoOkdNKtl6YHArtK8+DXrfDLy NVqIYLpn82p19bdULNnS5SzqRs7mKxDitPy2SSjDxaF5vXTUyjU5aUqfNhnEgIQuDeQV IjqC2JOD89ri2v1Ono0roKmhQVL8DQMF4Kj5KSzksQgX/pWU6EryhcpqjBeu1COira7g IZQw== X-Gm-Message-State: ALyK8tLbCeSW54Z0ytA108QVnB41eKedbJ1JeRBSleHQSsPVa2SHJnlPQtee7N3PmLJbs63KHDeOyQZtPgAvbQ== X-Received: by 10.107.19.8 with SMTP id b8mr35609857ioj.9.1468859803907; Mon, 18 Jul 2016 09:36:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.0.18 with HTTP; Mon, 18 Jul 2016 09:36:43 -0700 (PDT) In-Reply-To: <57739782.60708@net.in.tum.de> References: <57739782.60708@net.in.tum.de> From: Jeremias Blendin Date: Mon, 18 Jul 2016 18:36:43 +0200 Message-ID: To: Paul Emmerich Cc: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-users] FDir flex filters on XL710/i40e NICs with the new filter API X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 16:36:44 -0000 Hi, I am really curious about this issue as well. Any hint is appreciated. Thanks! 2016-06-29 11:40 GMT+02:00 Paul Emmerich : > Hi, > > we are trying to use flex filters to match on payload bytes and our code > stopped working with the new Filter API after upgrading to DPDK 2.2 or later > (currently using 16.04). > > We use these filters to match on the bytes 42 and 43 of the payload, the > filter worked with DPDK 2.0 with both XL710 and 82599 NICs with the old fdir > filter API. > > We then upgraded to DPDK 2.2 and later to DPDK 16.04 and migrated to the new > filter API. The filter still works on 82599 NICs but not on XL710 NICs. > > Any ideas what we might be doing wrong here? > > The initialization code can be found here: > https://github.com/emmericp/MoonGen/blob/master/src/device.c#L115-L157 > > Adding the filter is done here: > https://github.com/emmericp/MoonGen/blob/master/lua/include/filter.lua#L356-L385 > > rte_eth_dev_filter_ctrl() does not return an error and the same code works > for the 82599 NIC. Yet, the filter matches no packets on XL710 NICs. > > Is there a minimal example for the flex filters somewhere that could help me > track down this? > > Any help would be appreciated. > > Thanks! > > > Paul