From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 99] axgbe driver does not support 1G Copper 1000BASE-T SFPs (Unsupported AN_CL37)
Date: Wed, 24 Oct 2018 12:19:33 +0000 [thread overview]
Message-ID: <bug-99-3@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=99
Bug ID: 99
Summary: axgbe driver does not support 1G Copper 1000BASE-T
SFPs (Unsupported AN_CL37)
Product: DPDK
Version: 18.02
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: Arsalan_Awan@mentor.com
Target Milestone: ---
Overview:
The AXGBE driver does not support 1G Copper 1000BASE-T SFPs. When any of the
DPDK test apps (such as: l2fwd, kni etc) are run, the following errors show up:
axgbe_an_init(): Unsupported AN_CL37
axgbe_an_enable_interrupts(): Unsupported AN_MOD_37
axgbe_an_init(): Unsupported AN_CL37
axgbe_an_restart(): Unsupported AN_MODE_CL37
Looking into the AXGBE driver code, it seems like the "Clause 37
Auto-Negotiation (AN_CL37)" protocol being used by these SFPs is not
yet-supported/yet-implemented in the DPDK AXGBE Poll Mode Driver.
Steps to Reproduce:
1) Setup DPDK (hugepages, igb_uio, dpdk-devbind):
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
modprobe igb_uio
dpdk-devbind -b igb_uio 03:00.4
dpdk-devbind -b igb_uio 03:00.5
2) Run any of the DPDK examples/tests (such as: l2fwd, kni etc) and observe the
output:
/usr/share/dpdk/examples/l2fwd/l2fwd -- -p 1 -T 1
Actual Results: (Using 1G Copper 1000BASE-T SFP)
EAL: Multi-process socket /var/run/.rte_unix
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:03:00.4 on NUMA socket 0
EAL: probe driver: 1022:1458 net_axgbe
EAL: PCI device 0000:03:00.5 on NUMA socket 0
EAL: probe driver: 1022:1458 net_axgbe
MAC updating enabled
Notice: odd number of ports in portmask.
Lcore 0: RX port 0
Initializing port 0... axgbe_an_init(): Unsupported AN_CL37
axgbe_an_enable_interrupts(): Unsupported AN_MOD_37
axgbe_an_init(): Unsupported AN_CL37
axgbe_an_restart(): Unsupported AN_MODE_CL37
done:
Port 0, MAC address: 00:00:1A:1C:A4:A5
Skipping disabled port 1
Checking link statusdone
Port0 Link Up. Speed 4294967295 Mbps - half-duplex
L2FWD: lcore 1 has nothing to do
L2FWD: lcore 2 has nothing to do
L2FWD: lcore 3 has nothing to do
L2FWD: lcore 4 has nothing to do
L2FWD: lcore 5 has nothing to do
L2FWD: lcore 6 has nothing to do
L2FWD: lcore 7 has nothing to do
L2FWD: entering main loop on lcore 0
L2FWD: -- lcoreid=0 portid=0
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
Expected Results: (Using 10G Optical SFP)
EAL: Multi-process socket /var/run/.rte_unix
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:03:00.4 on NUMA socket 0
EAL: probe driver: 1022:1458 net_axgbe
EAL: PCI device 0000:03:00.5 on NUMA socket 0
EAL: probe driver: 1022:1458 net_axgbe
MAC updating enabled
Notice: odd number of ports in portmask.
Lcore 0: RX port 0
Initializing port 0... done:
Port 0, MAC address: 00:00:1A:1C:A4:A5
Skipping disabled port 1
Checking link statusdone
Port0 Link Up. Speed 10000 Mbps - full-duplex
L2FWD: lcore 1 has nothing to do
L2FWD: lcore 2 has nothing to do
L2FWD: lcore 3 has nothing to do
L2FWD: lcore 4 has nothing to do
L2FWD: lcore 5 has nothing to do
L2FWD: lcore 6 has nothing to do
L2FWD: lcore 7 has nothing to do
L2FWD: entering main loop on lcore 0
L2FWD: -- lcoreid=0 portid=0
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 15
Packets received: 15
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 15
Total packets received: 15
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 17
Packets received: 17
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 17
Total packets received: 17
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 20
Packets received: 20
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 20
Total packets received: 20
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 22
Packets received: 22
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 22
Total packets received: 22
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 22
Packets received: 22
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 22
Total packets received: 22
Total packets dropped: 0
====================================================
^[[2J^[[1;1H
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 22
Packets received: 22
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 22
Total packets received: 22
Total packets dropped: 0
====================================================
Build Date & Hardware:
root@znver1:~# uname -a
Linux znver1 4.9.21-yocto-standard #1 SMP PREEMPT Mon Sep 24 13:38:24 UTC 2018
x86_64 GNU/Linux
root@znver1:~#
root@znver1:~# opkg list-installed | grep dpdk
dpdk - 18.02.2-r0.9
dpdk-dev-libibverbs - 1.2.1-3.4-2.0.0.0-r0.3
dpdk-examples - 18.02.2-r0.9
dpdk-test - 18.02.2-r0.9
root@znver1:~#
root@znver1:~# opkg info dpdk
Package: dpdk
Version: 18.02.2-r0.9
Depends: kernel-module-igb-uio-4.9.21-yocto-standard,
kernel-module-rte-kni-4.9.21-yocto-standard, libc6 (>= 2.27-2018.05-999999),
libcrypto1.0.2 (>= 1.0.2p), python-subprocess, virtual/libibverbs
Status: install ok installed
Architecture: znver1
Installed-Size: 61918937
Installed-Time: 1540281805
Additional Builds and Platforms:
Must be occurring on all builds & platforms since AN_CL37 is not yet
implemented in AXGBE PMD.
--
You are receiving this mail because:
You are the assignee for the bug.
reply other threads:[~2018-10-24 12:19 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-99-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.