Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4813 Discussions

XL710 and ethtool loopback

YVarm1
Beginner
3,773 Views

Hi

I'm trying to set a local or remote loopback to my adapter.

this is the result

/i40e-2.4.10/src$ sudo ethtool -t enp1s0f0 external_lb

The test result is FAIL

External loopback test was not executed

The test extra info:

Register test (offline) 0

Eeprom test (offline) 0

Interrupt test (offline) 0

Link test (on/offline) 1

Is there support to that ??

Yossi

0 Kudos
7 Replies
idata
Employee
2,481 Views

Hello Yossi.varman,

 

 

Thank you for posting in Intel Wired Ethernet Communities. Please confirm that you are using the latest drivers for the Intel XL710 series adapter? Please use this https://downloadcenter.intel.com/download/22283/Intel-Ethernet-Adapter-Complete-Driver-Pack?product=96044 Link to download and install the latest drivers. If the problem persists please post the output from: (ethtool enp1s0f0) and (ethtool -i enp1s0f0). We will further investigate the issue with this information.

 

 

Best Regards,

 

Daniel D

 

Intel Customer Support

 

Agent under contract to Intel
0 Kudos
YVarm1
Beginner
2,481 Views

it still not working

I'm using the latest sw

linux:~$ ethtool enp1s0f0

Settings for enp1s0f0:

Supported ports: [ FIBRE ]

Supported link modes: 10000baseT/Full

Supported pause frame use: Symmetric

Supports auto-negotiation: No

Advertised link modes: 10000baseT/Full

Advertised pause frame use: No

Advertised auto-negotiation: No

Speed: Unknown!

Duplex: Unknown! (255)

Port: Direct Attach Copper

PHYAD: 0

Transceiver: internal

Auto-negotiation: off

Cannot get wake-on-lan settings: Operation not permitted

Current message level: 0x0000000f (15)

drv probe link timer

Link detected: no

linux:~$ modinfo i40e

filename: /lib/modules/4.15.0-24-generic/updates/drivers/net/ethernet/intel/i40e/i40e.ko

version: 2.4.10

license: GPL

description: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver

author: Intel Corporation, <</span>mailto:e1000-devel@lists.sourceforge.net e1000-devel@lists.sourceforge.net>

srcversion: 3977C21019A3C4865FF253A

alias: pci:v00008086d0000158Bsv*sd*bc*sc*i*

alias: pci:v00008086d0000158Asv*sd*bc*sc*i*

alias: pci:v00008086d000037D3sv*sd*bc*sc*i*

alias: pci:v00008086d000037D2sv*sd*bc*sc*i*

alias: pci:v00008086d000037D1sv*sd*bc*sc*i*

alias: pci:v00008086d000037D0sv*sd*bc*sc*i*

alias: pci:v00008086d000037CFsv*sd*bc*sc*i*

alias: pci:v00008086d000037CEsv*sd*bc*sc*i*

alias: pci:v00008086d00001588sv*sd*bc*sc*i*

alias: pci:v00008086d00001587sv*sd*bc*sc*i*

alias: pci:v00008086d00001589sv*sd*bc*sc*i*

alias: pci:v00008086d00001586sv*sd*bc*sc*i*

alias: pci:v00008086d00001585sv*sd*bc*sc*i*

alias: pci:v00008086d00001584sv*sd*bc*sc*i*

alias: pci:v00008086d00001583sv*sd*bc*sc*i*

alias: pci:v00008086d00001581sv*sd*bc*sc*i*

alias: pci:v00008086d00001580sv*sd*bc*sc*i*

alias: pci:v00008086d00001574sv*sd*bc*sc*i*

alias: pci:v00008086d00001572sv*sd*bc*sc*i*

depends: ptp

retpoline: Y

name: i40e

vermagic: 4.15.0-24-generic SMP mod_unload

parm: debug:Debug level (0=none,...,16=all) (int)

linux:~$ ethtool -i enp1s0f0

driver: i40e

version: 2.4.10

firmware-version: 6.01 0x800034a4 1.1747.0

expansion-rom-version:

bus-info: 0000:01:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: yes

0 Kudos
YVarm1
Beginner
2,481 Views

After nvm update

and connect it to another same adapter - the link is up

Settings for enp1s0f0:

Supported ports: [ FIBRE ]

Supported link modes: 10000baseT/Full

Supported pause frame use: Symmetric

Supports auto-negotiation: No

Advertised link modes: 10000baseT/Full

Advertised pause frame use: No

Advertised auto-negotiation: No

Speed: 10000Mb/s

Duplex: Full

Port: Direct Attach Copper

PHYAD: 0

Transceiver: internal

Auto-negotiation: off

Cannot get wake-on-lan settings: Operation not permitted

Current message level: 0x0000000f (15)

drv probe link timer

Link detected: yes

linux:~/Downloads/23_2$ ethtool -i enp1s0f0

driver: i40e

version: 2.4.10

firmware-version: 6.01 0x800034a4 1.1747.0

expansion-rom-version:

bus-info: 0000:01:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: yes

linux:~/Downloads/23_2$ sudo ethtool -t enp1s0f0 external_lb

The test result is PASS

External loopback test was not executed

The test extra info:

Register test (offline) 0

Eeprom test (offline) 0

Interrupt test (offline) 0

Link test (on/offline) 0

0 Kudos
idata
Employee
2,481 Views

Hello Yossi.varman,

 

 

Thank you for the outputs. We will investigate this issue and reply when we have any updates. Please do not hesitate to post any updates or questions.

 

 

Best Regards,

 

Daniel D

 

Intel Customer Support

 

Agent under contract to Intel
0 Kudos
idata
Employee
2,481 Views

Hello Yossi.varman,

 

 

The i40e driver for the XL710 does not support external loopback test. If you have an NDA with Intel, the lanconf tool has many diagnostic tests.

 

 

Best Regards,

 

Daniel D

 

Intel Customer Support

 

Agent under contract to Intel
0 Kudos
YVarm1
Beginner
2,481 Views

Thank you for that information

Yossi

0 Kudos
idata
Employee
2,481 Views

Hello Yossi.varman,

 

 

Please let us know if you have any other questions.

 

 

Best Regards,

 

Daniel D

 

Intel Customer Support

 

Agent under contract to Intel
0 Kudos
Reply