On Wed, 10 Apr 2019 16:24:37 -0700 Song Liu <liu.song.a23@xxxxxxxxx> wrote: > > /* Feedback loop via tracepoint */ > > - trace_xdp_cpumap_kthread(rcpu->map_id, processed, drops, sched); > > + trace_xdp_cpumap_kthread(rcpu->map_id, n, drops, sched); > > btw: can we do the tracepoint after local_bh_enable()? I would rather not, as my experience is that this result in strange inaccurate readings, because (as comment below says) this is a CPU-process-reschedule point. The test tool reads these values and calculate PPS. > > > > local_bh_enable(); /* resched point, may call do_softirq() */ > > } -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer