H2HIGIG

Convert hex words to higig info

H2HIGIG

Decode up to three 32-bit words as a HiGig module header and print its fields. Give each word in hex with a 0x prefix. Missing words count as zero. This is a pure decoder: it only reads its arguments and does not access the switch.

Hardware-validated

drivshell> h2higig 0xfb000000 0x00000000 0x00000000
0xfb000000 <START=0xfb HXL=0 VLAN_PRI=0 VLAN_CFI=0 VLAN_ID=0>
0x00000000 <SRC_MOD=0 OPCODE=0 PFM=0 SRC_PORT=0
            DST_PORT=0 COS=0 HDR_FMT=0 CNG=0 DST_MOD=0
            OVERLAY: TGID=0 L2MC_PTR=0x0>
0x00000000 <DST_T=0 DST_TGID=0 IT=0 MO=0 MD=0 M=0 L3=0
            LP=0 VC_LABEL=0x00000
            OVERLAY: CTAG=0x0>

Built-in help

H2Higig [<word0> <word1> <word2>]:  Convert hex to higig info