You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed that when speed of interfaces are updated under interface configuration file, even if networking & goes services are restart, the updated changes are not reflecting. Need to specifically reload platina-mk1 module along with goes & networking services to update the changes which should have been done when goes was restarted.
Also noticed that if an interface is port provisioned & you reboot the invader. The port provisioned interfaces are not up unless we explicitly reload platina-mk1 module.
Steps to reproduce
Below is the interface config
auto xeth3
iface xeth3 inet static
address 10.0.3.29
netmask 255.255.255.0
pre-up ip link set $IFACE up
pre-up ethtool -s $IFACE speed 100000 autoneg off
pre-up ethtool --set-priv-flags $IFACE copper on
pre-up ethtool --set-priv-flags $IFACE fec74 off
pre-up ethtool --set-priv-flags $IFACE fec91 on
post-down ip link set $IFACE down
allow-vnet xeth3
Change the speed of the interface to autoneg on
auto xeth3
iface xeth3 inet static
address 10.0.3.29
netmask 255.255.255.0
pre-up ip link set $IFACE up ethtool -s $IFACE autoneg on
pre-up ethtool --set-priv-flags $IFACE copper on
pre-up ethtool --set-priv-flags $IFACE fec74 off
pre-up ethtool --set-priv-flags $IFACE fec91 on
post-down ip link set $IFACE down
allow-vnet xeth3
Save the configs
Run the following cmds to reload the interfaces & restart goes
ifdown -a --allow vnet
ifup -a --allow vnet
goes restart
Observed that interface speed has not updated to autoneg as it holds the previous configuration still under both ethtool & goes
root@invader45:/home/sandeep/xeth_pp_testing# goes hget platina-mk1 speed |grep vnet.xeth3.speed
vnet.xeth3.speed: 100g
root@invader45:/home/sandeep/xeth_pp_testing# ethtool xeth3 |grep Auto
Auto-negotiation: off
Reloaded platina-mk1 module along with networking & goes service restart
rmmod platina-mk1
modprobe platina-mk1 provision=4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
service networking restart
goes restart
Speed has updated to autoneg on both redis & ethtool after running the above cmds.
root@invader45:/home/sandeep/xeth_pp_testing# ethtool xeth3 |grep Auto
Auto-negotiation: on
root@invader45:/home/sandeep/xeth_pp_testing# goes hget platina-mk1 speed |grep vnet.xeth3.speed
vnet.xeth3.speed: autoneg
The text was updated successfully, but these errors were encountered:
Verified this on following goes & kernel version
root@invader45:/home/sandeep/xeth_pp_testing# goes version
github.com/platinasystems/go: v0.411-2-g14a8af4
github.com/platinasystems/fe1: v0.411
github.com/platinasystems/firmware-fe1a: v0.411
root@invader45:/home/sandeep/xeth_pp_testing# dpkg --list |grep kernel
ii linux-image-4.13.0-platina-mk1 4.13-139-gace1518 amd64 Linux kernel, version 4.13.0-platina-mk1
Observed that when speed of interfaces are updated under interface configuration file, even if networking & goes services are restart, the updated changes are not reflecting. Need to specifically reload platina-mk1 module along with goes & networking services to update the changes which should have been done when goes was restarted.
Also noticed that if an interface is port provisioned & you reboot the invader. The port provisioned interfaces are not up unless we explicitly reload platina-mk1 module.
Steps to reproduce
Below is the interface config
auto xeth3
iface xeth3 inet static
address 10.0.3.29
netmask 255.255.255.0
pre-up ip link set $IFACE up
pre-up ethtool -s $IFACE speed 100000 autoneg off
pre-up ethtool --set-priv-flags $IFACE copper on
pre-up ethtool --set-priv-flags $IFACE fec74 off
pre-up ethtool --set-priv-flags $IFACE fec91 on
post-down ip link set $IFACE down
allow-vnet xeth3
Change the speed of the interface to autoneg on
auto xeth3
iface xeth3 inet static
address 10.0.3.29
netmask 255.255.255.0
pre-up ip link set $IFACE up
ethtool -s $IFACE autoneg on
pre-up ethtool --set-priv-flags $IFACE copper on
pre-up ethtool --set-priv-flags $IFACE fec74 off
pre-up ethtool --set-priv-flags $IFACE fec91 on
post-down ip link set $IFACE down
allow-vnet xeth3
Save the configs
Run the following cmds to reload the interfaces & restart goes
ifdown -a --allow vnet
ifup -a --allow vnet
goes restart
Observed that interface speed has not updated to autoneg as it holds the previous configuration still under both ethtool & goes
root@invader45:/home/sandeep/xeth_pp_testing# goes hget platina-mk1 speed |grep vnet.xeth3.speed
vnet.xeth3.speed: 100g
root@invader45:/home/sandeep/xeth_pp_testing# ethtool xeth3 |grep Auto
Auto-negotiation: off
Reloaded platina-mk1 module along with networking & goes service restart
rmmod platina-mk1
modprobe platina-mk1 provision=4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
service networking restart
goes restart
Speed has updated to autoneg on both redis & ethtool after running the above cmds.
root@invader45:/home/sandeep/xeth_pp_testing# ethtool xeth3 |grep Auto
Auto-negotiation: on
root@invader45:/home/sandeep/xeth_pp_testing# goes hget platina-mk1 speed |grep vnet.xeth3.speed
vnet.xeth3.speed: autoneg
The text was updated successfully, but these errors were encountered: