We're planning to bump the release of xdp-tools for RHEL 9.3 to incorporate new features and bug fixes.
Build available here: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2580574
Hi Toke, What particular test or tests needed to pre-verify the build ? Thanks! Jean
Hi Toke, Please review Comment 8 and 9. Is it enough to set the status to VERIFIED ? Thanks! Jean
After rebuilding xdp-loader using libbpf-1.2.0-1.el9: Running all tests from ./tests Running tests from ./tests/xdp-bench/test-xdp-bench.sh [test_drop] PASS [test_pass] PASS [test_tx] PASS [test_xdp_load_bytes] PASS [test_rxq_stats] PASS [test_redirect] PASS [test_redirect_cpu] PASS [test_redirect_map] PASS [test_redirect_map_egress] PASS [test_redirect_multi] PASS [test_redirect_multi_egress] PASS Running tests from ./tests/xdpdump/test-xdpdump.sh [test_help] PASS [test_interfaces] PASS [test_capt_pcap] PASS [test_capt_pcapng] PASS [test_capt_term] PASS [test_exitentry] PASS [test_snap] PASS [test_multi_pkt] PASS [test_perf_wakeup] PASS [test_promiscuous_selfload] PASS [test_promiscuous_preload] PASS [test_none_xdp] PASS [test_pname_parse] PASS [test_multi_prog] PASS [test_xdp_load] PASS Running tests from ./tests/xdp-filter/test-xdp-filter.sh [test_load] PASS [test_print] PASS [test_output_remove] PASS [test_ports_allow] PASS [test_ports_deny] PASS [test_ipv6_allow] PASS [test_ipv6_deny] PASS [test_ipv4_allow] PASS [test_ipv4_deny] PASS [test_ether_allow] PASS [test_ether_deny] PASS [test_python_basic] SKIPPED [test_python_slow] SKIPPED Running tests from ./tests/xdp-loader/test-xdp-loader.sh [test_load] PASS [test_section] PASS [test_prog_name] PASS [test_load_multi] PASS [test_load_incremental] PASS [test_load_clobber] PASS [test_features] PASS Running tests from ./tests/xdp-monitor/test-xdp-monitor.sh [test_monitor] PASS Running tests from ./tests/xdp-trafficgen/test-xdp-trafficgen.sh [test_udp] PASS [test_tcp] PASS [root@netqe1 xdp-tools]# [root@netqe1 xdp-tools]# rpm -q libbpf libbpf-1.2.0-1.el9.x86_64 [root@netqe1 xdp-tools]#
Manually, passed xdp_traffgen: xdp-trafficgen udp -m 00:de:ad:de:ad:01 -a abcd::1 ens1f0np0 -t 16 lo->ens1f0np0 0 err/s 19,446,486 xmit/s lo->ens1f0np0 0 err/s 19,481,960 xmit/s lo->ens1f0np0 0 err/s 19,467,735 xmit/s lo->ens1f0np0 0 err/s 19,483,938 xmit/s lo->ens1f0np0 0 err/s 19,486,515 xmit/s lo->ens1f0np0 0 err/s 19,475,911 xmit/s lo->ens1f0np0 0 err/s 19,299,750 xmit/s lo->ens1f0np0 0 err/s 19,260,802 xmit/s lo->ens1f0np0 0 err/s 19,152,162 xmit/s
Got issue against TCP mode: xdp-trafficgen tcp -i ens1f0np0 192.168.3.1 [root@netqe4 ~]# ip r default via 10.19.15.254 dev eno1 proto dhcp src 10.19.15.11 metric 104 10.19.15.0/24 dev eno1 proto kernel scope link src 10.19.15.11 metric 104 192.168.3.0/24 dev ens1f0np0 proto kernel scope link src 192.168.3.4 [root@netqe4 ~]# [root@netqe4 ~]# ping -c 3 192.168.3.1 PING 192.168.3.1 (192.168.3.1) 56(84) bytes of data. 64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=0.039 ms 64 bytes from 192.168.3.1: icmp_seq=2 ttl=64 time=0.049 ms 64 bytes from 192.168.3.1: icmp_seq=3 ttl=64 time=0.046 ms --- 192.168.3.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2069ms rtt min/avg/max/mdev = 0.039/0.044/0.049/0.004 ms [root@netqe4 ~]# xdp-trafficgen tcp -i ens1f0np0 192.168.3.1 Couldn't resolve hostname: Address family for hostname not supported [root@netqe4 ~]# Hi Toke, Please advise! Thanks! Jean
The tcp-trafficgen utility only supports IPv6. It looks like you ran the UDP test over IPv6, any reason you can't do the same for the TCP test? :) Also, nice work getting everything tested while I was away!
(In reply to Toke Høiland-Jørgensen from comment #14) > The tcp-trafficgen utility only supports IPv6. It looks like you ran the UDP I see. NOTE: I have passed the project to Rick. > test over IPv6, any reason you can't do the same for the TCP test? :) > > Also, nice work getting everything tested while I was away! Was trying to get some bugs done before heading for a new adventure. It's been great working with you. Thanks! Jean
(In reply to Jean-Tsung Hsiao from comment #15) > (In reply to Toke Høiland-Jørgensen from comment #14) > > The tcp-trafficgen utility only supports IPv6. It looks like you ran the UDP > I see. > NOTE: I have passed the project to Rick. Right, gotcha! Rick, let me know if you need anything more from my side! > > test over IPv6, any reason you can't do the same for the TCP test? :) > > > > Also, nice work getting everything tested while I was away! > Was trying to get some bugs done before heading for a new adventure. > It's been great working with you. Likewise - good luck on your new adventures! :) -Toke