Hi Ti,
We are testing HSR offload forwarding feature with 3 Boards AM64x GPEVMs with the latest image and the latest PRU firmware and we want to be sure about one point for port forwarding and HSR offload.
We would like to check if the forwarding behaviour is cut-through or store and forward and we have doubt about HSR setup and how to do this...
First part is
ethtool -k "$ifa" | grep hsr
ethtool -K "$ifa" hsr-fwd-offload on
ethtool -K "$ifa" hsr-dup-offload on
ethtool -K "$ifa" hsr-tag-ins-offload on
ethtool -K "$ifa" hsr-tag-rm-offload on
ethtool -k "$ifa" | grep hsr
ethtool -k "$ifb" | grep hsr
ethtool -K "$ifb" hsr-fwd-offload on
ethtool -K "$ifb" hsr-dup-offload on
ethtool -K "$ifb" hsr-tag-ins-offload on
ethtool -K "$ifb" hsr-tag-rm-offload on
ethtool -k "$ifb" | grep hsr
devlink dev param set "$device" name hsr_offload_mode value true cmode runtime
(from your script)
but there is a option to enable cut_thru
devlink dev param set platform/icssg1-eth name cut_thru value 65535 cmode runtime
We have doubt about devlink command with hsr_offload_mode or/and cut_thru
Could you explain us how to properly configure hsr offload with cut_thru? We want to have next
- HSR offload for TAG, Rx/TX duplication offload
- Port forwarding offload in cut_thru mode
Tianyi