Public bug reported:

Hi,

Using Ubuntu 18.04, kernel 4.15.0-47, with a Mellanox MCX556M-ECAT-S25
[1].

With the distro driver, it's impossible to increase the MTU of a
representor port :

$ sudo ip li set enp50s0f0_0 mtu 1501
RTNETLINK answers: Invalid argument

Whereas with the OFED driver [2], I can set it up to 9978 :
$ sudo ip li set mtu 9978 enp50s0f0_0
$

This is blocking to use OVS offloading with jumbo frames. Could we
please get the feature in the distro driver ?

Thanks !


Steps to create the representor :

echo 1 | sudo tee /sys/class/net/enp50s0f0/device/sriov_numvfs
echo 0000:32:00.3 | sudo tee  /sys/bus/pci/drivers/mlx5_core/unbind
sudo devlink dev eswitch set pci/0000:32:00.0 mode switchdev
echo 0000:32:00.2 | sudo tee  /sys/bus/pci/drivers/mlx5_core/bind

[1] http://www.mellanox.com/related-docs/prod_adapter_cards/PB_ConnectX-
5_VPI_Card_SocketDirect.pdf

[2]
http://www.mellanox.com/page/mlnx_ofed_eula?mtag=linux_sw_drivers&mrequest=downloads&mtype=ofed&mver=MLNX_OFED-4.5-1.0.1.0&mname=MLNX_OFED_LINUX-4.5-1.0.1.0-ubuntu18.04-x86_64.tgz

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1824367

Title:
  mlx5 : not able to set a high MTU on the representor port for a VF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to