From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=u2Uqs8ZNuN29xGcAIigHDdTBO0DTPeQSRhj5Bo2Q/uw=; b=HFaTKiwZwl4kLpLHZupfhMiBVujV/1X78b2nA2+hl5C0AvPbB5luG52UC6Egapqr79 PDcJwuCWndvUURP20oEPBRVvvTWxQlBMipOSajrzqa5hg+ajxDKGGLQbENe+rP950Vsh CzdAPW9laTl6OrCDTmKI+GEjOl+UdNmpXTQ9QUSMGaRhs//AuJvmiUq+xVnCV1bciceB nejf92+FxwTdHxULzLNwlYXpSnhKZj5UGQ7Ob1X9MZmkqlBtmHYrEoc7CaueDMPVVQIz ngNmfMDz+88u0N4lVB2ulurK9An4wq6gNPiPuw+BgRQloL5tvhXkzBW5MdfaEXOkCDt8 90lg== X-Gm-Message-State: ALoCoQnkDj6erVruNSxkV2QojPNNqx3f3EDNFOdT66gMuedWTOfaJmdP/o91e6dim9jJRdCqA9lj X-Received: by 10.180.23.33 with SMTP id j1mr65406969wif.44.1436373633429; Wed, 08 Jul 2015 09:40:33 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ef10sm4286484wjd.49.2015.07.08.09.40.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 09:40:32 -0700 (PDT) From: Thomas Monjalon To: Marian Barbu Date: Wed, 08 Jul 2015 18:39:22 +0200 Message-ID: <718191943.GArJdUoPBA@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] FDIR issues when upgrading custom application from dpdk 1.8 to dpdk 2.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 16:40:33 -0000 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