From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4FF19A054F; Mon, 1 Mar 2021 12:13:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7FF722A257; Mon, 1 Mar 2021 12:13:15 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id EB88722A23C for ; Mon, 1 Mar 2021 12:13:14 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id B07ECA055D; Mon, 1 Mar 2021 12:13:14 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 01 Mar 2021 11:13:14 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: viktorin@cesnet.cz X-Bugzilla-Status: UNCONFIRMED 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 645] mlx5 does not reflect lpbk_mode setting X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" https://bugs.dpdk.org/show_bug.cgi?id=3D645 Bug ID: 645 Summary: mlx5 does not reflect lpbk_mode setting Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: viktorin@cesnet.cz Target Milestone: --- The mlx5 PMD does not seem to reflect rte_eth_conf.lpbk_mode=3D1 settings t= o a port when calling rte_eth_dev_configure(). It is expected that after this setting everything sent on TX of that port would be returned on RX of the s= ame port but no packet is received. System: CentOS 7, DPDK 20.11.0, OFED-5.2-1.0.4, rdma-core 1fdf0b375818823ead89cd39ff2ff4c1279a60f4. Tested NICs: MT2892 Family [ConnectX-6 Dx] 101d (fw 22.28.1002), MT27800 Fa= mily [ConnectX-5] 1017 (fw 16.27.2008) Reproduce: ``` > port stop all > set fwd txonly > port config all loopback 1 > port start all > start=20 > show port stats all ######################## NIC statistics for port 0 #####################= ### RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0=20=20=20=20=20=20=20=20=20 TX-packets: 959424928 TX-errors: 0 TX-bytes: 61403195392 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 9542270 Tx-bps: 4885642712 #########################################################################= ### ######################## NIC statistics for port 1 #####################= ### RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0=20=20=20=20=20=20=20=20=20 TX-packets: 959429568 TX-errors: 0 TX-bytes: 61403492352 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 9541256 Tx-bps: 4885110968 #########################################################################= ### ``` The same steps work with 82599ES/ixgbe with results like (RX-missed roughly quals to TX-packets): ``` ######################## NIC statistics for port 0 #####################= ### RX-packets: 255 RX-missed: 149026638 RX-bytes: 16320 RX-errors: 0 RX-nombuf: 0=20=20=20=20=20=20=20=20=20 TX-packets: 149033632 TX-errors: 0 TX-bytes: 9538149184 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 14204421 Tx-bps: 7272664256 #########################################################################= ### ``` --=20 You are receiving this mail because: You are the assignee for the bug.=