From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: FDIR issues when upgrading custom application from dpdk 1.8 to dpdk 2.0 Date: Wed, 08 Jul 2015 18:39:22 +0200 Message-ID: <718191943.GArJdUoPBA@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Marian Barbu Return-path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id A40C55A57 for ; Wed, 8 Jul 2015 18:40:33 +0200 (CEST) Received: by widjy10 with SMTP id jy10so222363842wid.1 for ; Wed, 08 Jul 2015 09:40:33 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-07-08 16:17, Marian Barbu: > Hello, > > I've been working on upgrading a custom dpdk application from dpdk 1.8.0 to > dpdk 2.0.0. > > I want to use FDIR to distribute the traffic based on IP to multiple > queues, but I seem to get -95 (ENOTSUP) error code from > *rte_eth_dev_fdir_set_masks. > *I mention that this was all working fine with dpdk 1.8.0. Any ideas? We had some troubles when migrating FDIR to a new API. In DPDK 2.0, the old API you are using is implemented only for enic. In order to use FDIR for ixgbe, you have to check the new API: http://dpdk.org/doc/api-2.0/structrte__eth__fdir__filter.html