From: Daniel Borkmann Date: Fri, 27 Jul 2018 05:14:36 +0000 (+0200) Subject: Merge branch 'bpf-nfp-perf-event-improvements' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2367bd99f62bd952fea5c534eeb1d84c113da38e;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'bpf-nfp-perf-event-improvements' Jakub Kicinski says: ==================== This set is focused on improving the performance of perf events reported from BPF offload. Perf events can now be received on packet data queues, which significantly improves the performance (from total of 0.5 Msps to 5Msps per core). To get to this performance we need a fast path for control messages which will operate on raw buffers and recycle them immediately. Patch 5 replaces the map pointers for perf maps with map IDs. We look the pointers up in a hashtable, anyway, to validate they are correct, so there is no performance difference. Map IDs have the advantage of being easier to understand for users in case of errors (we no longer print raw pointers to the logs). Last patch improves info messages about map offload. ==================== Signed-off-by: Daniel Borkmann --- 2367bd99f62bd952fea5c534eeb1d84c113da38e