← Back to team overview

kernel-packages team mailing list archive

[Bug 1432848] Re: ethtool -t ethX failing with Ubuntu 15.04 (3.19.0-8-generic) (Mellanox)

 

Hello Gavin,

I tested the kernel and it is fixing this issue.

uname -a
Linux reg-l-vrt-036-007 3.19.0-23-generic #24-Ubuntu SMP Tue Jul 7 18:52:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# ethtool -t eth1
The test result is PASS
The test extra info:
Interrupt Test	 0
Link Test	 0
Speed Test	 0
Register Test	 0
Loopback Test	 0

# lspci -d 15b3:
00:05.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3]

# ethtool -i eth1
driver: mlx4_en
version: 2.2-1 (Feb 2014)
firmware-version: 2.34.5000
bus-info: 0000:00:05.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

Thanks,
Kamal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1432848

Title:
  ethtool -t ethX failing with Ubuntu 15.04 (3.19.0-8-generic)
  (Mellanox)

Status in libmlx4 package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Fix Released
Status in libmlx4 source package in Vivid:
  New
Status in linux source package in Vivid:
  Fix Committed

Bug description:
  SRU Justification:

  Impact: Ethtool selftest does not work for Mellanox CX3 / CX3 Pro
  Fix: Upstream development, already tested and proved to work.
  Testcase: 
      Execute "ethtool -t <mellanox_cx3_interface>" and see result FAIL
      Use provided PPA for testing the patch (Received good feedback)

  Obs: Affects only 3.19+ kernels (fixes commit dd65bea)

  ----

  Original Bug Description:

  == Comment: #0 - Carol L. Soto <clsoto@xxxxxxxxxx> - 2015-03-16 15:54:40 ==
  ---Problem Description---
  ethtool -t eth18
  The test result is FAIL
  The test extra info:
  Interrupt Test   0
  Link Test        0
  Speed Test       0
  Register Test    0
  Loopback Test    1

  Will see this message in dmesg:
  mlx4_en: eth18: Loopback packet didn't arrive

  Contact Information = Carol Soto/clsoto@xxxxxxxxxx

  ---uname output---
  Linux powerio-le21 3.19.0-8-generic #8-Ubuntu SMP Tue Mar 10 13:07:58 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux

  ---Additional Hardware Info---
  Need a Mellanox RoCE adapter like CX3 40G or CX3 Pro 10G

  Machine Type = P8

  ---Debugger---
  A debugger is not configured

  ---Steps to Reproduce---
   ethtool -t ethX

  Stack trace output:
   no

  Oops output:
   no

  System Dump Info:
    The system is not configured to capture a system dump.

  *Additional Instructions for Carol Soto/clsoto@xxxxxxxxxx:
  -Attach sysctl -a output output to the bug.

  == Comment: #1 - Carol L. Soto <clsoto@xxxxxxxxxx> - 2015-03-16 15:55:36 ==
  Patch to fix this issue is available in upstream:

  From 1037ebbbd262227a91dfdd558159e345d4edf6b7 Mon Sep 17 00:00:00 2001
  From: Ido Shamay <idos@xxxxxxxxxxxx>
  Date: Mon, 2 Mar 2015 18:22:16 +0200
  Subject: net/mlx4_en: Disbale GRO for incoming loopback/selftest packets

  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/drivers/net/ethernet/mellanox/mlx4?id=1037ebbbd262227a91dfdd558159e345d4edf6b7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmlx4/+bug/1432848/+subscriptions