Remark:
getmacs reuturn wrong ping results for hfi ports, console output shows ping successful while returns unsuccessful
How to reproduce:
console outputs:
0 > dev /packages/net ok
0 > ping /hfi-iohub@300000000000003/hfi-ethernet@18:20.6.3.1,20.6.3.13,20.6.3.1
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=1 ttl=? time=11 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=2 ttl=? time=10 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=3 ttl=? time=10 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=4 ttl=? time=10 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=5 ttl=? time=10 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=6 ttl=? time=11 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=7 ttl=? time=10 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=8 ttl=? time=10 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=9 ttl=? time=10 ms
20.6.3.13: 24 bytes from 20.6.3.1: icmp_seq=10 ttl=? time=10 ms
PING SUCCESS.
ok
command line returns:
bash-3.2# getmacs -D c250f06c03ap13-hf0
c250f06c03ap13-hf0:
hfi-ent U78A9.001.112223 020000130004 /hfi-iohub@300000000000003/hfi-ethernet@18 unsuccessful physical
hfi-ent U78A9.001.112223 020000130004 /hfi-iohub@300000000000003/hfi-ethernet@19 unsuccessful physical
meanwhile,mac address has been updated into mac table successfully, returns alone does not show correct results.
Yin Le, can you check this one?
Looks like LparNetbootExp.pm cannot detect the "PING SUCCESS" msg.
fixed with revision: 01f621 in master, b93a7b in 2.8 and cd660a in 2.7