Skip to content
  • Adam Wujek's avatar
    [BUG: 1824] userspace/tools/rtu_stat: print "CPU" if mask containins all ports+CPU · 0a267878
    Adam Wujek authored
    
    
    If CPU is included or not in the mask with all ports the rtu_stat shall display
    "ALL CPU"
    
    rtu_stat add mask 01:80:c2:00:00:53 0x3ffff 0
    rtu_stat add mask 01:80:c2:00:00:57 0x7ffff 0
    
    rtu_stat displayed:
    [...]
    01:80:c2:00:00:53         ALL           0          STATIC  (hash 014:0)   -
    01:80:c2:00:00:57         ALL           0          STATIC  (hash 090:0)   -
    [...]
    
    now:
    [...]
    01:80:c2:00:00:53         ALL           0          STATIC  (hash 014:0)   -
    01:80:c2:00:00:57         ALL CPU       0          STATIC  (hash 090:0)   -
    [...]
    
    Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
    0a267878