From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8AF94A04DD; Sat, 30 Nov 2019 17:23:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9195E1DBD; Sat, 30 Nov 2019 17:23:28 +0100 (CET) Received: from smtp-3.sys.kth.se (smtp-3.sys.kth.se [130.237.48.192]) by dpdk.org (Postfix) with ESMTP id 8F0D2235 for ; Sat, 30 Nov 2019 17:23:27 +0100 (CET) Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id 36D1BA184; Sat, 30 Nov 2019 17:23:27 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9wtzBbutyg8Y; Sat, 30 Nov 2019 17:23:26 +0100 (CET) X-KTH-Auth: barbette [2a02:a03f:4075:6000:edef:808e:612e:a89b] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1575131006; bh=s5z5IDXA1kOR2hcCM+lXCf9Kik56rIj+w1NtwGOPuyI=; h=Subject:From:To:Cc:References:Date:In-Reply-To; b=EpEgnGdTbQeKrYuZsX9YkKcCfUSScsTCnJOGyuUFqFGQL2Eco2WiObePW5ojFQ9tI W8wag5yqiwW1bDfQ43leV6kb21ztd00nWkq6zy3S0TL/amMOlEMmdRF9qklaW2bQXl CmRpAlKTrbnAb4fUnHKEfhFdSLelNVeAxj1EtOAs= X-KTH-mail-from: barbette@kth.se Received: from [IPv6:2a02:a03f:4075:6000:edef:808e:612e:a89b] (unknown [IPv6:2a02:a03f:4075:6000:edef:808e:612e:a89b]) by smtp-3.sys.kth.se (Postfix) with ESMTPSA id C1A3574B8; Sat, 30 Nov 2019 17:23:25 +0100 (CET) From: Tom Barbette To: dev@dpdk.org Cc: Shahaf Shuler References: Message-ID: <747a9c1a-8324-5e6b-69ec-55c35807c109@kth.se> Date: Sat, 30 Nov 2019 17:23:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] Cannot use MLX5 groups : cannot create jump action.: Operation not supported X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Solved. The error was due to that NIC not having UCTX_EN enabled in the firmware. Maybe a less cryptic message/warning would be helpful though? DV was enabled so I did not thought the problem could be below. A warning when the user explicitly asks for dv_flow_en=1 but UCTX_EN is not enabled maybe? Thanks, Tom Le 30/11/2019 à 12:19, Tom Barbette a écrit : > Hi all, > > I'm struggling to use the group feature with MLX5. > > I'm using 19.08.2 for now (while > https://bugs.dpdk.org/show_bug.cgi?id=371 gets fixed). > > I use the latest OFED (no inbox driver this time). > > I have dv_flow_en=1, but I still get "cannot create jump action.: > Operation not supported". when I want to use the jump action or "cannot > create table: Cannot allocate memory" when trying to add a rule to table > 1, all of this with testpmd but my own app does not work better. > > sudo ~/dpdk-skylake/x86_64-native-linuxapp-gcc/app/testpmd –l 0-3 -w > 0000:17:00.0,dv_flow_en=1 –n 6 -- -i > EAL: Detected 36 lcore(s) > EAL: Detected 2 NUMA nodes > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Selected IOVA mode 'VA' > EAL: Probing VFIO support... > EAL: PCI device 0000:17:00.0 on NUMA socket 0 > EAL:   probe driver: 15b3:1017 net_mlx5 > net_mlx5: can not get IB device "mlx5_0" ports number > Interactive-mode selected > testpmd: create a new mbuf pool : n=283456, > size=2176, socket=1 > testpmd: preferred mempool ops selected: ring_mp_mc > testpmd: create a new mbuf pool : n=283456, > size=2176, socket=0 > testpmd: preferred mempool ops selected: ring_mp_mc > > Warning! port-topology=paired and odd forward ports number, the last > port will pair with itself. > > Configuring Port 0 (socket 0) > Port 0: 50:6B:4B:43:8A:DA > Checking link statuses... > Done > testpmd> flow create 0 group 1 ingress pattern eth / end actions queue > index 0 / end > Caught error type 1 (cause unspecified): cannot create table: Cannot > allocate memory > testpmd> flow validate 0 group 1 ingress pattern eth / end actions queue > index 0 / end > Flow rule validated > testpmd> flow create 0 group 0 ingress pattern eth / end actions jump > group 1 / end > Caught error type 16 (specific action): cannot create jump action.: > Operation not supported > testpmd> > > Thanks, > > Tom