1. 30 May, 2024 6 commits
  2. 29 May, 2024 4 commits
  3. 28 May, 2024 12 commits
  4. 27 May, 2024 17 commits
  5. 25 May, 2024 1 commit
    • Daniel Borkmann's avatar
      selftests/bpf: Add netkit test for pkt_type · 95348e46
      Daniel Borkmann authored
      Add a test case to assert that the skb->pkt_type which was set from the BPF
      program is retained from the netkit xmit side to the peer's device at tcx
      ingress location.
      
        # ./vmtest.sh -- ./test_progs -t netkit
        [...]
        ./test_progs -t netkit
        [    1.140780] bpf_testmod: loading out-of-tree module taints kernel.
        [    1.141127] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
        [    1.284601] tsc: Refined TSC clocksource calibration: 3408.006 MHz
        [    1.286672] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fd9b189d, max_idle_ns: 440795225691 ns
        [    1.290384] clocksource: Switched to clocksource tsc
        #345     tc_netkit_basic:OK
        #346     tc_netkit_device:OK
        #347     tc_netkit_multi_links:OK
        #348     tc_netkit_multi_opts:OK
        #349     tc_netkit_neigh_links:OK
        #350     tc_netkit_pkt_type:OK
        Summary: 6/0 PASSED, 0 SKIPPED, 0 FAILED
      Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
      Link: https://lore.kernel.org/r/20240524163619.26001-4-daniel@iogearbox.netSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      95348e46