• Li Zhijian's avatar
    selftests/tc-testings: Be compatible with newer tc output · ac2944ab
    Li Zhijian authored
    old tc(iproute2-5.9.0) output:
     action order 1: bpf action.o:[action-ok] id 60 tag bcf7977d3b93787c jited default-action pipe
    newer tc(iproute2-5.14.0) output:
     action order 1: bpf action.o:[action-ok] id 64 name tag bcf7977d3b93787c jited default-action pipe
    
    It can fix below errors:
     # ok 260 f84a - Add cBPF action with invalid bytecode
     # not ok 261 e939 - Add eBPF action with valid object-file
     #       Could not match regex pattern. Verify command output:
     # total acts 0
     #
     #       action order 1: bpf action.o:[action-ok] id 42 name  tag bcf7977d3b93787c jited default-action pipe
     #        index 667 ref 1 bind 0
    Signed-off-by: default avatarLi Zhijian <zhijianx.li@intel.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ac2944ab
bpf.json 10.1 KB