From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by dpdk.org (Postfix) with ESMTP id 834851B024 for ; Thu, 18 Jan 2018 09:48:41 +0100 (CET) Received: by mail-lf0-f53.google.com with SMTP id f136so4066248lff.8 for ; Thu, 18 Jan 2018 00:48:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=rtmNZuRG4XwjS9kGj0nnLiqT4XE8EVkC3n/Cwu0KN9o=; b=2IkzQgAOVF9QHBZhORcaX//9QRuLBZgYR/gmRFT+IJxJkMyN5gTbPK/6gjFUT80gkm D72Q4uVVMm3e37k0HCcq2zLEGLGMRA1zpuBGPSSo5F6XQGN7y/rN/DxGF9l/oVaHMzhR G8NZnt6JLkKH8C7N2Qv8tTUGRMUKA6EhPH/6Aj5d26QlOQHUVEnqJFVVz0p3YP3H1BfH JHAU7RyT+6x+17ZwXjcJk7p3gBA6YZSy1fcAr0hEu77hO19PKuZXqJXKSc3rpluzpfc/ ee6vq61fQ2HjsNnDM6RR/Pam3Gh078KT7MssmVN75klKhtRXk/lBVcJZtZtUkU8uzlE4 iEuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=rtmNZuRG4XwjS9kGj0nnLiqT4XE8EVkC3n/Cwu0KN9o=; b=cM+xMrhVzmlXEIIms9fmwqJ438d6+OXqEh3HH1oT5jTQkJcd6SrQMgHvH8btII6JpO 9zY3l75sl9wU4OKdHCtRcjJPBM7h1alkWwQbCTtX3iAnCKDymRttHIPUFrFEBP7hIs4b FPwT3xldxvC1hjfuwftUSI/G4F9Qcnkg45BhE1W3RhMjeLgl0v8oRGJ8SkFRT8wEHdjy 4mRIe1Dt0AB7ess4OYGp4XbpIU+KNjgWUuZo6115L4AdYBg7g5TYz0NwPpxn/NtF5Xkm sz/F3bALko5tCmwekEePuGFgH4sjIEhq4qIhI68Lo0s8LeJcXdv7CBCoURBuFNKmF85D JjKw== X-Gm-Message-State: AKwxytfFxzgmyBBFwfl/pVXlM7/e6vmWpPlDu2uP1EqkL/dQ63AEQP4a fR8GehdiDhAnKgAf8qfdxsLrhA== X-Google-Smtp-Source: ACJfBotPbETyc2AYrESNk2iz4JKXCa3LEovfiFzbT/P7AgdnaHDWJVtsUDrZxMKUBQ5YfE5VV2Mp3A== X-Received: by 10.25.199.208 with SMTP id x199mr12047800lff.77.1516265321130; Thu, 18 Jan 2018 00:48:41 -0800 (PST) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 39sm1226052ljb.49.2018.01.18.00.48.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 00:48:40 -0800 (PST) Date: Thu, 18 Jan 2018 09:48:28 +0100 From: Adrien Mazarguil To: Timur Bogdanov Cc: users@dpdk.org, Olga Shern , Shahaf Shuler , Timothy Redaelli Message-ID: <20180118084828.GO4256@6wind.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-users] Unable to launch testpmd with Mellanox ConnectX-3 Pro NIC 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, 18 Jan 2018 08:48:41 -0000 On Tue, Jan 16, 2018 at 06:59:31PM +0300, Timur Bogdanov wrote: > Hi, > > I'm trying to use dpdk with Mellanox ConnectX-3 Pro NIC. > I built PMD for it according to instructions on > "http://dpdk.org/doc/guides/nics/mlx4.html" and tried to launch > testpmd app but got following error: > PMD: net_mlx4: 0xda13c0: cannot attach flow rules (code 95, "Operation > not supported"), flow error type 2, cause 0x7f2869cdab80, message: > flow rule rejected by device > > Fail to start port 0 > What can be the reason of testpmd does not start correctly? Did you provide by any chance -7 instead of -1 as a value for mlx4_core.ko's log_num_mgm_entry_size parameter (as recommended by the above documentation)? Timothy (CC'ed) reported that -7 does not quite work with the default flow rules (too many limitations) and results in the above error message. -1 should be used, -7 is only for specific use cases and should probably not even be documented in this file. -- Adrien Mazarguil 6WIND