kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #152849
[Bug 1528466] [NEW] Mellanox ConnectX4 MTU limits: max and min
Public bug reported:
Max MTU limit should be 9978
Tested on Ubuntu 14.04.4 daily build, this issue exist also in 15.10.
reproduce
# ifconfig p2p1 mtu 9000000
SIOCSIFMTU: Invalid argument
# dmesg
[62898.559808] mlx5_core 0000:20:00.0 p2p1: mlx5e_change_mtu: Bad MTU (9000000) > (10000) Max
[63058.512668] command failed, status bad parameter(0x3), syndrome 0x648afc
Upstream commit that fix the issue
commit 60825c35bf023553f8524f6695f176236e54df97
Author: Doron Tsur <doront@xxxxxxxxxxxx>
Date: Thu Nov 12 19:35:27 2015 +0200
net/mlx5e: Max mtu comparison fix
On change mtu the driver compares between hardware queried mtu and
software requested mtu. We need to compare between software
representation of the queried mtu and the requested mtu.
Fixes: facc9699f0fe ('net/mlx5e: Fix HW MTU settings')
Signed-off-by: Doron Tsur <doront@xxxxxxxxxxxx>
Signed-off-by: Saeed Mahameed <saeedm@xxxxxxxxxxxx>
Signed-off-by: Or Gerlitz <ogerlitz@xxxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
# uname -r
4.2.0-22-generic
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "net/mlx5e: Max mtu comparison fix"
https://bugs.launchpad.net/bugs/1528466/+attachment/4538790/+files/0001-net-mlx5e-Max-mtu-comparison-fix.patch
--
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/1528466
Title:
Mellanox ConnectX4 MTU limits: max and min
Status in linux package in Ubuntu:
New
Bug description:
Max MTU limit should be 9978
Tested on Ubuntu 14.04.4 daily build, this issue exist also in 15.10.
reproduce
# ifconfig p2p1 mtu 9000000
SIOCSIFMTU: Invalid argument
# dmesg
[62898.559808] mlx5_core 0000:20:00.0 p2p1: mlx5e_change_mtu: Bad MTU (9000000) > (10000) Max
[63058.512668] command failed, status bad parameter(0x3), syndrome 0x648afc
Upstream commit that fix the issue
commit 60825c35bf023553f8524f6695f176236e54df97
Author: Doron Tsur <doront@xxxxxxxxxxxx>
Date: Thu Nov 12 19:35:27 2015 +0200
net/mlx5e: Max mtu comparison fix
On change mtu the driver compares between hardware queried mtu and
software requested mtu. We need to compare between software
representation of the queried mtu and the requested mtu.
Fixes: facc9699f0fe ('net/mlx5e: Fix HW MTU settings')
Signed-off-by: Doron Tsur <doront@xxxxxxxxxxxx>
Signed-off-by: Saeed Mahameed <saeedm@xxxxxxxxxxxx>
Signed-off-by: Or Gerlitz <ogerlitz@xxxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
# uname -r
4.2.0-22-generic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1528466/+subscriptions
Follow ups
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Launchpad Bug Tracker, 2016-06-27
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Talat Batheesh, 2016-06-16
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Launchpad Bug Tracker, 2016-06-15
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Kamal Mostafa, 2016-06-14
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Kamal Mostafa, 2016-05-19
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Launchpad Bug Tracker, 2016-05-09
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Launchpad Bug Tracker, 2016-05-09
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Launchpad Bug Tracker, 2016-02-24
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Andy Whitcroft, 2016-02-02
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Talat Batheesh, 2016-01-18
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Luis Henriques, 2016-01-13
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Brad Figg, 2016-01-06
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Joseph Salisbury, 2016-01-05
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Joseph Salisbury, 2016-01-05
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Talat Batheesh, 2016-01-05
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Joseph Salisbury, 2016-01-04
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Joseph Salisbury, 2016-01-04
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Joseph Salisbury, 2016-01-04
-
[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min
From: Talat Batheesh, 2015-12-24
-
[Bug 1528466] Missing required logs.
From: Brad Figg, 2015-12-22