From 0b4a8acd52fcacf9806723e517b479311d4d2929 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Sat, 25 Oct 2025 02:26:32 +0000 Subject: [PATCH] xdp-tools: a few improvement on class_filter commit fa10708e3c87519f8e9c85cdff7a2bdd80dbd699 (HEAD -> main) Author: Vincent Li Date: Fri Oct 24 20:58:18 2025 -0700 tc-basic-classifier: allow port range for classification Improve user space class_filter to add port range like: ./class_filter -i red0 --add-port "8080-8082:10:40mbit" or ./class_filter -i red0 --add-port "8083:20:60mbit" each port will still be added as individual entry in port map, so no code change required in bpf side. Signed-off-by: Vincent Li commit 5852f6184e3d129667df01011c4ecdf6df994266 Author: Vincent Li Date: Wed Oct 22 19:41:05 2025 -0700 tc-basic-classifier: make tcp and udp port classification make port classification for both UDP and TCP. Signed-off-by: Vincent Li commit 0bda902c82c755bda1d5ba40d1404051de4e9102 Author: Vincent Li Date: Tue Oct 21 19:28:15 2025 -0700 tc-basic-classifier: fix IP endiness and classification on red0 the IP in user space is stored in host order but bpf program IP lookup by network order. also tested IP classification green0 not working. so should do destination IP classification on red0 interface, and the destination IP is going to be Internet destination IP addresses. need to figure out how to do IP based classification on LAN/green0 network IPs if required. Signed-off-by: Vincent Li Signed-off-by: Vincent Li --- lfs/xdp-tools | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/xdp-tools b/lfs/xdp-tools index 026f9260f..c6ed9108c 100644 --- a/lfs/xdp-tools +++ b/lfs/xdp-tools @@ -25,7 +25,7 @@ include Config -VER = 1.5.7 +VER = 1.5.7.1 THISAPP = xdp-tools-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -41,7 +41,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 3acd4997caf77c6a30ed484428f89aeed77f5a7484f8d4a0de6f45aa0ffcada8b19e78b9937ac97f38e6adf0f9782f5b4c19746a7be50a1be20792d4ab707ee8 +$(DL_FILE)_BLAKE2 = 242e7c40faedb527807161c9d4cc32fcb00dee1bf73227d66f6efefd9b36ea6aff64809a2e5b50bdbd58cf8e2407dc8ff2ea65c10ecd01a633ac9e54efbd2e05 install : $(TARGET)