From: David S. Miller Date: Tue, 29 Aug 2017 17:51:29 +0000 (-0700) Subject: Merge branch 'XDP-redirect-tracepoints' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=25d4dae1a64f7abc5d40faef08f7c7de2a5ece79;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'XDP-redirect-tracepoints' Jesper Dangaard Brouer says: ==================== XDP redirect tracepoints I feel this is as far as I can take the tracepoint infrastructure to assist XDP monitoring. Tracepoints comes with a base overhead of 25 nanosec for an attached bpf_prog, and 48 nanosec for using a full perf record. This is problematic for the XDP use-case, but it is very convenient to use the existing perf infrastructure. From a performance perspective, the real solution would be to attach another bpf_prog (that understand xdp_buff), but I'm not sure we want to introduce yet another bpf attach API for this. One thing left is to standardize the possible err return codes, to a limited set, to allow easier (and faster) mapping into a bpf map. ==================== Signed-off-by: David S. Miller --- 25d4dae1a64f7abc5d40faef08f7c7de2a5ece79