From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id 2C6C54C92; Thu, 15 Nov 2018 14:09:52 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 15 Nov 2018 13:09:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 18.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: barbette@kth.se X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 107] Cannot set rte_flow QUEUE action for VF representor 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: , X-List-Received-Date: Thu, 15 Nov 2018 13:09:52 -0000 https://bugs.dpdk.org/show_bug.cgi?id=3D107 Bug ID: 107 Summary: Cannot set rte_flow QUEUE action for VF representor Product: DPDK Version: 18.11 Hardware: x86 OS: Linux Status: CONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: barbette@kth.se Target Milestone: --- Hi all, I'm trying to direct a given flow directly to a VF's specific queue. Steps to reproduce: sudo ./testpmd -w "pci:03:00.1,representor=3D0" -- -i EAL: Detected 16 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:03:00.1 on NUMA socket 0 EAL: probe driver: 15b3:1017 net_mlx5 net_mlx5: port 1 ioctl(SIOCETHTOOL, ETHTOOL_GSET) failed: Operation not supported Interactive-mode selected testpmd: create a new mbuf pool : n=3D203456, size=3D21= 76, socket=3D1 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=3D203456, size=3D21= 76, socket=3D0 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) Port 0: 98:03:9B:33:FE:E3 Configuring Port 1 (socket 0) Port 1: 62:74:FA:85:79:13 Checking link statuses... Done testpmd> flow create 0 transfer ingress pattern eth dst is 1e:00:b6:cb:66:e= 4 / end actions port_id id 1 / queue index 5 / end Caught error type 16 (specific action): cause: 0x7ffce7c70428, action not supported: Operation not supported testpmd> flow create 0 transfer ingress pattern eth dst is 1e:00:b6:cb:66:e= 4 / end actions port_id id 1 / end Flow rule #0 created testpmd> flow create 1 ingress pattern eth dst is 1e:00:b6:cb:66:e4 / end actions queue index 5 / end Caught error type 15 (action configuration): cause: 0x7ffce7c72368, queue i= ndex out of range: Invalid argument testpmd> flow create 1 ingress pattern eth dst is 1e:00:b6:cb:66:e4 / end actions queue index 0 / end Flow rule #0 created testpmd>=20 Expected results: - I can understand the first line, doing both VF and queue at the same tim= e is hard to support. - The second line works and send packets to the VF. (Why can't I use the VF action by the way? And why do I need transfer for PF to VF?) - The third line does not work because the VF representor has a single queue (the real VF has 8). Now at the end of the EAL lines I get 'net_mlx5: port 1 ioctl(SIOCETHTOOL, ETHTOOL_GSET) failed: Operation not supported.'. Is that= a failing ethtool -L ? - However if I use queue 0, it is accepted but does not work anyway (I get a random RSS choosen index). I hope the answer is not "line 4" should fail, because I'd really like to be able to do this without having to send rules from the VF itself (if that works). Tom --=20 You are receiving this mail because: You are the assignee for the bug.=