英伟达团队您好,在R39 (release), REVISION: 2.0上开启mgbe2_0 mtu巨型帧不会报错,但在R38 (release), REVISION: 4.0上有报错?

具体步骤如下:

  1. 使用systemd机制创建服务,在脚本中执行"ifconfig mgbe2_0 down mtu 9000 up"
  2. 重启系统
  3. 在R38.4.0看到报错如下,在R39.2.0上没有该报错

方便给一下具体修改吗?R38.4.0的我们有量产产品,升级到R39.2.0可能比较复杂。

Do you have full text log to share?

Also, what is the design of mgbe2_0 here? SFP?

You could try a different method to set mtu.

See if error goes away when:

sudo systemctl disable --now <your-mtu-service>.service
sudo reboot

Then you could try 1 or 2.

  1. If using NetworkManager, find the connection for mgbe2_0:
nmcli -f NAME,DEVICE connection show
# Then use name that = mgbe2_0. On my Thor it is mgbe2_0.
sudo nmcli connection modify mgbe2_0 802-3-ethernet.mtu 9000

or

  1. If using Netplan, mtu can be configured with:
network:
  version: 2
  ethernets:
    mgbe2_0:
      mtu: 9000