On Fri, Aug 09, 2019 at 10:41:47AM +0200, Toke Høiland-Jørgensen wrote: > This is great. Are you planning to add the XDP integration as well? :)
Thanks, Toke. From one of your previous replies I got the impression that another hook needs to be added in order to catch 'XDP_DROP' as it is not covered by the 'xdp_exception' tracepoint which only covers 'XDP_ABORTED'. If you can take care of that, I can look into the integration with drop monitor. I kept the XDP case in mind while working on the hardware originated drops and I think that extending drop monitor for this use case should be relatively straightforward. I will Cc you on the patchset that adds monitoring of hardware drops and comment with how I think XDP integration should look like.