From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 645] mlx5 does not reflect lpbk_mode setting
Date: Mon, 01 Mar 2021 11:13:14 +0000 [thread overview]
Message-ID: <bug-645-3@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=645
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=1 settings to 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 same
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 Family
[ConnectX-5] 1017 (fw 16.27.2008)
Reproduce:
```
> port stop all
> set fwd txonly
> port config all loopback 1
> port start all
> start
> show port stats all
######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
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
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
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
############################################################################
```
--
You are receiving this mail because:
You are the assignee for the bug.
reply other threads:[~2021-03-01 11:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-645-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).